Dovetailed Technologies


safauth — check the current user's authorization to a SAF (RACF) resource.


safauth saf-class saf-entity [read | update | control | alter] [volser]


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.

Copyright© 2009-2022 Dovetailed Technologies, LLC. All rights reserved.
Co:Z® is a registered trademark of Dovetailed Technologies, LLC.