|
PROC parameters substitution |
|
|
JCLs coming from MVS, OS/390 and z/OS can make use of dynamic override for PROC parameters and DD. Cataloged PROCs, as well as JCLs, are converted in C/Korn shell scripts. To replicate the dynamic substitution feature, the XDSH utilities must be used:
xdinit called at the beginning of the caller script, to initialize the XDSH system. xdadd is the equivalent of a DD statement: it defines what and where must be actualized in the called script (PROC). xdsh takes care to prepare and execute the called script. Sample #!/bin/csh Requirements XDSH tools require the following environments: PID containing the PID number of the main JCL. PROCLIB containing the path for PROCs. Both them must be set and exported at the beginning of the main JCL.
|