AUTH authorizes access to RFS directories.
Operands
dirid
specifies a REXX File System directory identifier. This is partially or fully qualified. See the CD
command, “CD” on page 321, for more information.
PRIVATE
specifies that only the owner of the directory has read/write access to the files. This is the default.
PUBLICR
specifies that any user has read-only access to the files in the directory.
PUBLICW
specifies that any user has read/write access to the files in the directory.
SECURED
specifies that an external security manager grants access to the files in the directory.
Return Codes
See the RFS command, section “RFS” on page 363.
Example
'RFS AUTH POOL1:\USERS\USER1\DOCS PUBLICR'
This example makes directory DOCS a public directory. All users have read/only access to the files in
directory DOCS.
CKDIR
 RFS CKDIR dirid 
CKDIR checks for an existing RFS directory level.
Operands
dirid
specifies a REXX File System directory identifier. This is partially or fully qualified. See the CD
command, section “CD” on page 321, for more information.
Return Codes
See the RFS command, section “RFS” on page 363.
Example
'RFS CKDIR POOL1:\USERS\USER1\DOCS'
This example checks for a directory called DOCS in the existing directory POOL1:\USERS\USER1.
CKFILE
 RFS CKFILE fileid 
CKFILE checks to see if the specified, partially or fully qualified, file ID exists.
Operands
fileid
specifies the file identifier.
File System
260 CICS TS for VSE/ESA: REXX Guide