How are datasets concatenated?

Answer Posted / guest

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. The following is an example of three
datasets concatenated:

//YEARDAT DD DSN=JAN.DATA,DISP=SHR

// DD DSN=FEB.DATA,DISP=SHR

// DD DSN=MAR.DATA,DISP=SHR

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What parameter directs the output of the job log dataset?

753


When space is allocated for an output dataset, what units can be used?

732


What are s0c1, s0c4, s0c5, s0c7 and socb?

688


What is one line to pass PARM from JCL to COBOL?

376


Is automatic restart possible in jcl? If yes, how?

648






why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1934


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

765


Is there any command to check wether the ps file is in sorted order?

2416


Explain how can the attributes of one sms dataset be copied to another dataset?

694


what is DSN parameter and DISP parameter is used for?

662


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

918


What are some jcl statements that are not allowed in procedures?

714


i want to store 20 digits . how will u do it in cobol ?

848


How to override loadlib?

1406


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1939