We are looking for a way to execute the RACF TSO command RLIST from the CICS program. We have understood that this can be done using the RACF callable services for Z/os.
The callable service we are interested is R_admin (IRRSEQ00): RACF Administration API. We would be interested to know if it is possible to initiate and capture the output of this service from a CICS program in the first place. If it is possible then we would like to know the means of calling this service using a COBOL CICS program. A sample program would of great help
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
hy sureshjebakani,
there is probably any API for executables.
check the doku for such an exit, there will
be one for sure. with that exit you will be able
to call it either in batch or in an online program.
the exit is probably written in assembler,
therefore, you will be able to call it in any
program language on the mainframe.
unfortunatly we are still on CA-TopSecret,
after changed to RACF, i could give you more
specific details. but refer to the doku, this will
help for sure.
Work_area The name of a 1024-byte work area for SAF and RACF usage. The work area must be in the primary address space.
ALET The name of a word containing the ALET for the following parameter. Each parameter must have an ALET specified. Each ALET can be different. The words containing the ALETs must be in the primary address space.
What I want here is how to code (Parameters) this in the cobol program. Which is the stub I need use to get this linkedited. It has mentioned in the manual that the parameters should be defined in the Primary address space. What does that mean ?
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
hy sureshjebakani,
note: as i already mentioned, i cannot
give you any example, because we don't use
RACF on our site. just code your parameters
into your working-storage.
but ask your security manager, who is the
product responsible for RACF, he might
help you, or maybe someone else can help you
further (moderator...?)...