Hello zSecure Community!
I'm trying to report on the Userid/GroupID that I think is in the STDATA segment but I come up with 'blanks'. Can you help me or can this data not be obtained in my method in CARLA? I was asked to produce a report with the following directive "... need a report listing all IDs/Groups within resource STARTED." I think this is to mean, using zSecure, report on the General Resource CLASS=STARTED and pull out the STDATA segment with the Userid/Groupid values. My understanding must be lacking as I do not find any data in the segment STDATA as I tried to write the custom CARLA code seen below with the help of your Online Dialogs:
=NOTE= Enter GO or RUN to execute commands, SUB or SUBMIT to generate batch job
=NOTE= END or SAVE to save in ISPF profile
n required s=STDATA n=SELSEGM outlim=0
S c=general and segment=STDATA c=STARTED and
(stuser<>' ' or stgroup<>' ')
sortlist segment
n proflist=SELSEGM n=baser1 segment=base required allowrestrict,
,
tt="RACF class ",
st='CLASS=STARTED where segment STDATA fields STUSER or STGROUP NE to blank'
def singledsn("Only one data set per volume",flag,p) boolean,
where(singleds)
s c=general and s=base c=STARTED
sortlist class(tt,page) " - complex"(tt,page) complex(tt,page),
stamp(tt),
,
searchkey(nd) key(44,wrap) proftype(1) | warning(1,hb),
uacc stuser stgroup owner auditlvl,
gauditlvl(allowrestrict),defdate(7,"Created"),
notify(7) level auditpriority,
,instdata(0,wrap),
/ " *"(ne) | idstar,
/ " Volser: "(notempty) volser(0,hor,ww),
/ , " Concern: "(notempty) auditconcern(63,wordwrap),
/ " Appldata:"(notempty) appldata(0,wrap)
This produces the report sample seen below as:
RACF class STARTED - complex TPX 6Nov2024 02:00 page 1
CLASS=STARTED where segment STDATA fields STUSER or STGROUP NE to blank
Profile key TW UACC Userid Group Owner S/F SgF Created Notify Lv Pri InstData
AIRPROC.* G NONE STCGROUP R 25May21 0 IBMMF01
AOINIT.* G NONE V601827 R 10Sep18 0
AOPMAINT.* G NONE DATASEC R 8May07 0
AOPSTART.* G NONE STCGROUP R 2Jun06 0
AOPSTOP.* G NONE STCGROUP R 2Jun06 0
Any help you may have on this would be very appreciated!
Thanks for hosting this forum as it very, very helpful!
Lynn Gilson
------------------------------
Lynn Gilson
Lynn
------------------------------