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
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
How jcl work to handle various input output file operations?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
In job processing, what happens in conversion stage?
what is SOC4 error?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
What is the function of the dd mgmtclas keyword in sms datasets?
How is a type of file defined in the jcl that executes the cobol program?
What does a disposition of (new,catlg,keep) for a dsn mean?
In sms datasets, what is the function of the dd mgmtclas keyword?
How do you overcome this limitation ?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
i want to store 20 digits . how will u do it in cobol ?