Answer Posted / ravi
In JCL , we can concatenate different files by giving their
name one after another. All data sets concated must be of
the same type. For example,
1)partitioned data sets can be concatenated only with
partitioned data sets.
2)Record format should be same
3) All the files should on same device (like DASD, Tape)
4) File having largest BLKSIZE should be mentioned first
Maximum of 255 sequential data sets can be concatenated
Maximum of 16 partitioned data sets can be concatenated
Example JCL --> //MYJOB JOB (W345),'XXX'
//STEP1 EXEC PGM=COBPROG
//INFILE DD DSN=TEST.GLOB.FILE1
// DSN=TEST.GLOB.FILE2
// DSN=TEST.GLOB.FILE3
In program , we will read it as an single file.
concatination of three files done by operating system.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Explain how can a stopped job be started again?
Does jcl support automatic restart?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Give the syntax of job specifying jcl statement.
What are the utility programs in jcl?
Differentiate between the joblib and the steplib statements?
How can the submitting users racf authority be overridden in a job stream?
Matching Logic in Jcl not in cobol.Could any one please answer this question
Must tape dataset definitions include vol=ser specifications?
How jcl is used for testing batch programs?
i want to store 20 digits . how will u do it in cobol ?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Explain how can the attributes of one sms dataset be copied to another dataset?
Where can program checkpoints be stored for use in a restart?
What are hierarchy levels in jcl?