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 to execute 2nd and 4th steps among 5 steps in jcl proc?
What is notcat 2 - gs?
Explain the purpose of dd * statement in jcl?
write a jcl to execute a job by 7:00 am on jan 20,1986?
What is the purpose of the dd keylen parameter?
how can the same proc be re-used and called by many jobs?
What is the difference between run mode and addressing mode?
When output dataset space is required, what quantity categories are used?
what JCL Procedures?
What is jcl in mainframe?
What is multithreading in jcl?
what is the use of IEBGENER utility?
Explain the jcl exec statement?
Can we call instream to catalog and catalog to instream?
How does the jcl specify the job to os?