On Tue, 22 Dec 2020 12:23:49 -0500, David Spiegel wrote: > >The interpretation of JCL occurs before the execution starts. Hence, >your result. >If you were to SUBMIT your JCL to the internal reader in STEP02 (rather >than trying to execute the BKUP Cataloged Procedure), the new jobĀ would >read the updated BKUP PROC. > There might be a requirement for the submitted job to have a JOB statement similar to the submitting job's. The submitting job could fetch its JOB statement with SDSF.
Referbacks are a harder problem. Or, Rexx is your friend. Use IRXJCL inline for the second step. >On 2020-12-22 12:11, Fred Kaptein wrote: >> Hello, >> I would like to build a JCL batch job called BACKUPS, that does the >> following: >> 1) STEP01 >> Create a JCL proc in MYLIB.PROCLIB(BKUP) >> 2) STEP02 >> Execute the proc MYLIB.PROCLIB(BKUP) -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
