Page 1 of 1

Override the DD in JCL.

Posted: Wed May 29, 2019 1:26 pm
by durga
About overriding parameters in JCL

In one step I am using multiple files (say 5 files)as input with single DD Name (SORTIN).
When I am overriding file using STEP1.SORTIN DD DSN= ; it is overriding first file

Is any possible to override other than 1st file ?

Re: Override the DD in JCL.

Posted: Wed May 29, 2019 1:37 pm
by Priya
Use like below to override file which r under single DD name:

Eg : need to override 2nd file

Code: Select all

STEP1.SORTIN DD DSN= dummy 
                           DD DSN=file2
                           DD DSN=dummy 
                           DD DSN=dummy
                            DD DSN=dummy