Answer Posted / chandru3
Datasets are concatenated by writing a normal DD statement for the first dataset and then adding a DD statement without a DDNAME for each dataset to be concatenated in the order they are to be read.
Example:
//STEP1 EXEC PGM=PGM1
//DD1 DD DSN=TSTA.CHAN.PS1,DISP=SHR
// DD DSN= TSTA.CHAN.PS2,DISP=SHR
// DD DSN= TSTA.CHAN.PS3,DISP=SHR
https://youtu.be/VE6cTuFpsXc
https://youtu.be/bExB_Tjp9A4
https://youtu.be/_O6gPk6jjLE
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
what is the JCL statement consists of?
Are there any set of rules for the names of the steps used in a job?
How to do automated restart when a job abend?
What is the purpose of dd * statement in jcl?
Explain dd statement in jcl?
Explain the jcl exec statement?
How do you create a temporary dataset?
How does jcl act on a cobol code?
Is automatic restart possible in jcl?
What is the syntax of JCL statement?
what happens in conversion stage in job processing?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
What is the difference between the positional and keyword parameters? Give examples.
I need exexution process for JCL programs