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
how can you check if a file is empty using jcl?
Explain the jcl exec statement?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
a dd statement has 2 types of parameters. Name them?
In job processing, what happens in execution stage?
What is the use of symbol // in jcl?
Is acct parameter mandatory?
What is notcat 2 - gs?
What do you understand by jcl?
what are the types of abends that occur on job failure? And explain the possible causes of these
what is DD statement is used in JCL?
Why include statement is used in a jcl?
Explain the function of the steplib dd statement?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
what is the resolution for sb37 error