safauth — Co:Z utility to check the current user's authorization to a SAF (RACF) resource.
saf-entity[read | update | control | alter]
This z/OS Co:Z utility is a wrapper for the RACROUTE REQUEST=AUTH macro and can be used to check the current user's access to a given SAF(RACF) resource.
An exit code of zero indicates that the auth check passed; otherwise the non-zero return code from the RACROUTE macro is returned as the exit code.
RACROUTE REQUEST=AUTH requires VOLSER= for CLASS=DATASET,
but it is not used for SMS managed datasets.
volser option is ignored if
CLASS!=DATASET, but if
is not specified and CLASS=DATASET, then