Access simulation in batch mode
Access to resources can be performed now in batch mode as well.
A batch sample can be found in the Samplib member DEB$RISC and DEB$TRAN.
Purpose:
Access simulation for a given dataset or general resource. For transactions simulation you have to utilize the program DEB$TRAN. These programs make NO modifications to your resources - they simply simulate an access. All attempts will be recorded in SMF.
DEB$RISC
parm= ....,....,....C= Class name
R= Resource name - e.g. a dataset name or profile name
A= Access - e.g. READ, ALTER
U= User name - access simulation with a given user-ID
V= Volume name - optional for class dataset
G= Group name - optional - access simulation with a given group-ID
O= Owner name - optional - access simulation with a given owner-ID
DDNAMES:
MESSAGE - DD DUMMY - will force a RACF WTO message to be generated
RA2PRINT - DD SYSOUT=* - Simulation messages
The program DEB$RISC is protected by the following RACF general resource profile: FACILITY RA2002.DEB$RISC
DEB$TRAN (transaction simulation)
parm= ....,....,....
C= General Resource class name
R= Resource name
A= Access - e.g. READ, ALTER
U= User name - access simulation with a given user-ID
If the access fails the return code will be set to 12.
The program DEB$TRAN is protected by the following RACF general resource profile: FACILITY RA2002.DEB$TRAN