Name
safauth — check the current user's authorization to a SAF (RACF) resource.
Synopsis
safauthsaf-class
saf-entity
[read | update | control | alter][volser]
Description
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.
The volser
option is ignored if
CLASS!=DATASET
, but if volser
is not specified and CLASS=DATASET, then volser
defaults to DUMMY
.