Override the DD in JCL.

JES2/3, JCL, utilities.
Post Reply
durga
Registered Member
Posts: 53
Joined: Mon Jul 01, 2013 3:28 pm

Override the DD in JCL.

Post 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 ?
Priya
Registered Member
Posts: 50
Joined: Tue Jul 02, 2013 11:43 pm

Re: Override the DD in JCL.

Post 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
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”