Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Suppose a proc step has a DD statement like
and the above DD name is overridden from the JCL as given
//procstepname.ABC DD DSN=TEST.FILE3 - Will the DD
statement now have just TEST.FILE3 or it will be TEST.FILE3
Suppose if it is overridden twice like
//procstepname.ABC DD DSN=TEST.FILE3
//procstepname.ABC DD DSN=TEST.FILE4
Will this give a JCL error? If not, what will be final

Answers were Sorted based on User's Feedback

Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FIL..

Answer / satheesh

If you CODE below ovverride in JCL
it will ignore File1 & file2.
To use all three files, please give below override in JCL
// DD

Q2:Giving two ovverrides for same DD, will it give JCL
No, Job will end with RC=0 and use second override ingonred
first one.

Is This Answer Correct ?    10 Yes 0 No

Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FIL..

Answer / pmacmo

Question 1:
If you just want TEST.FILE3 you must nullify the TEST.FILE1
and TEST.FILE2 concatenation as in:

Question 2:
TEST.FILE3 and TEST.FILE2, the second override will be

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More JCL Interview Questions

what is inrec fields and outrec fields in sorting

3 Answers   Fidelity,

Can I share my data with other jobs? How?

0 Answers  

Why we will create load module in PDS only, Why nt in PS?

2 Answers   TCS,

Min no of member?s (PDS) in one directory block?

10 Answers  

I have a input file. Data like: ABCDEFGH.... i want out put file like AB BC CD DE....How can do this??

7 Answers   UST,

Statement1 "We can not use UNCATLG in SMS managed VSAM datasets" Statement2 "We can not delete a SMS managed data set without UNCATLG it" (P-353, Saba Zameer book) Then how do we delete SMS managed VSAM datasets ?

1 Answers   IBM,

What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?

1 Answers   IBM,

What is the function of the dd avgrec keyword in sms datasets?

0 Answers  

When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?

1 Answers   IBM,

What do you feel makes a good program?

1 Answers  

In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides

6 Answers   Satyam,

Mention the types of job control statements?

0 Answers