explain concatinating datasets?



explain concatinating datasets?..

Answer / 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

More JCL Interview Questions

How to see the COMP3 value(packd decimal)

2 Answers   iGate,


How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?

1 Answers  


if we give two job cards in a single what happens

3 Answers   IBM,


what is XSUM in some fields= none, xsum ??

7 Answers   Xansa,


how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??

3 Answers   Steria,






Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

0 Answers  


How to find the length of variable length copybook using fileaid ??

1 Answers   CSC,


What do you do if you do not want to keep all the space allocated to a dataset?

2 Answers  


What is a GDG? Why do we go for a GDG ? utility used to create GDG?

3 Answers   Xansa,


What you mean by skeleton JCl?

2 Answers  


1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent

4 Answers   Mind Tree,


How is a GDG base created?

5 Answers  


Categories