How are datasets concatenated?

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


Please Help Members By Posting Answers For Below Questions

How to execute 2nd and 4th steps among 5 steps in jcl proc?

954


What is notcat 2 - gs?

1159


Explain the purpose of dd * statement in jcl?

805


write a jcl to execute a job by 7:00 am on jan 20,1986?

867


What is the purpose of the dd keylen parameter?

912


how can the same proc be re-used and called by many jobs?

1174


What is the difference between run mode and addressing mode?

844


When output dataset space is required, what quantity categories are used?

1080


what JCL Procedures?

934


What is jcl in mainframe?

928


What is multithreading in jcl?

1171


what is the use of IEBGENER utility?

868


Explain the jcl exec statement?

860


Can we call instream to catalog and catalog to instream?

883


How does the jcl specify the job to os?

876