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 do you understand by the terms: joblib and steplib?

836


Explain how can an in-stream dataset be terminated?

942


whats the diff bw the evaluate also and and?

2057


What is the function of //cntl statement?

1043


How does jcl act on a cobol code?

840


What is the significance of addrspc parameter in exec statement?

939


in ways data can be passed to a COBOL program from JCL?

861


How would you understand error(execution phase)?

834


What is jcl in mainframe, and how many types of jcl statements are there for a job?

863


how can you check if a file is empty using jcl?

1046


What are steplib and joblib?

890


how would you create a temporary dataset? And where will you use them?

976


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

1121


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1202


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2405