IBM SC34-5764-01 Server User Manual


 
GETDIR returns a list of the contents of the current or specified directory into the specified REXX array.
Operands
stem.
specifies the name of a stem. (A stem must end in a period.) See section “Stems” on page 123 for
more information.
dirid
specifies a REXX File System directory level 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 GETDIR DIRDOC. POOL1:\USERS\USER1\DOCS'
This example places the contents of directory DOCS in the DIRDOC. REXX compound variable.
MKDIR
 RFS MKDIR dirid 
MKDIR creates a new 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 MKDIR POOL1:\USERS\USER1\DOCS'
This example creates a new directory called DOCS in the existing directory POOL1:\USERS\USER1.
Note
Only authorized users can create directories outside of their \USERS\userid directory structure.
RDIR
 RFS RDIR dirid 
RDIR removes the specified RFS directory.
Operands
dirid
specifies a REXX File System directory identifier. This is partially or fully qualified. Refer to the CD
command, section “CD” on page 321, for more information.
Return Codes
Refer to the RFS command, section “RFS” on page 363.
File System
Chapter 19. REXX/CICS File System 263