What 3 guidelines do we have to follow when concatenating DD
statements?
Answer Posted / muttaiah
1) The dataset should be of same type meaning if you are
concatenating a PDS then other ds should be pds only & ps-
Ps)
2) They should have same format and LRECL
3) If the dataset's have diff blocksize then the dataset
with Largest block size should be coded first
4) All the datasets should reside on the same unit(device).
however the volume serial number can differ
5) we can concatenate 16 PDS & 255 PS files
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
A dd statement consists of 4 fields. Name them?
What is one line to pass PARM from JCL to COBOL?
What do you understand by the term job time – out and how can you overcome that?
How do you create a temporary dataset?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
which utility is used to sort a file in jcl?
Suppose I have five jobs to do. But I want to hold one?
Does jcl support automatic restart?
//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 /*
when does a dataset go uncataloged?
Explain the function of the dd dcb keyword?
How can an in-stream dataset be terminated?