I use this in an NetView environment for RACF kinds of things:
/*----------------------------*/
IRRC = IRRXUTIL("EXTRACT",, /* Use r_admin function */
"USER",, /* Focus is RACF members */
USER_ID,, /* Provide specific user ID */
"OUTUSR1") /* Store result in a stem */
/*----------------------------*/
SEGM = OUTUSR1.NETVIEW.0 ¬= '' /* NetView segment missing */
NAME = OUTUSR1.BASE.NAME.1 /* Get date connected */
GRPS = OUTUSR1.BASE.CGROUP.0 /* Get list of groups */
/*----------------------------*/
Here's a couple topics that may help:
https://www.ibm.com/docs/en/zos/2.4.0?topic=interfaces-irrxutil-rexx-interface-r-admin-extract
https://www.ibm.com/docs/en/zos/2.4.0?topic=services-reference-documentation-tables
Also, take a look at the "LIST SAFOP=
" NetView command:
https://www.ibm.com/docs/en/z-netview/6.3.0?topic=descriptions-list-nccf
------------------------------
Steve Horein
------------------------------
Original Message:
Sent: Thu July 22, 2021 03:13 PM
From: Martin Schexnayder
Subject: LISTUSER under SA/NetView
How can I issue a TSO LISTUSER in REXX running under NETVIEW and store the results in a STEM variable?
I've tried a couple of ways with no luck.
Thanks.
------------------------------
Martin Schexnayder
------------------------------