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
What do you understand by the terms: joblib and steplib?
Explain how can an in-stream dataset be terminated?
whats the diff bw the evaluate also and and?
What is the function of //cntl statement?
How does jcl act on a cobol code?
What is the significance of addrspc parameter in exec statement?
in ways data can be passed to a COBOL program from JCL?
How would you understand error(execution phase)?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
how can you check if a file is empty using jcl?
What are steplib and joblib?
how would you create a temporary dataset? And where will you use them?
//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 /*
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?