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 is use of disp parameter in dd statement?
How can unused space allocation be returned to the system when a dataset is closed?
Describe the various parameters utilized in the creation of a gdg?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Matching Logic in Jcl not in cobol.Could any one please answer this question
Name what parameter directs the output of the job log dataset?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
what is the purpose of coding class parameter in job statement?
Is it possible to define dd statements as you want?
Can I share my data with other jobs? How?
How can the attributes of one sms dataset be copied to another dataset?
Explain the purpose of the dd keylen parameter?
Explain how can the attributes of one sms dataset be copied to another dataset?
in ways data can be passed to a COBOL program from JCL?
what is SOC4 error?