Using File Manager functions in REXX procedures or TSO clists
To call a File Manager function from a REXX procedure,
use the following syntax:
FILEMGR "$function-name-parameters"
To call a File Manager function from a CLIST,
use the following syntax:
FILEMGR $function-name-parameters
Join the parameter names and values with an equal sign or a blank. Separate these pairs with a
comma or blank. For example:
FILEMGR "$DSP DSNIN='FMNUSER.TEST.KSDS1',FORMAT=HEX,KEY=000100,NLRECS=20"
Within a REXX procedure, all profile settings are taken from the installation defaults. For details on changing File Manager default profile settings, see File Manager for z/OS Customization Guide .
Example
The following example shows a REXX procedure that uses
File Manager functions.