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 |
How to see the COMP3 value(packd decimal)
How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?
if we give two job cards in a single what happens
what is XSUM in some fields= none, xsum ??
how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
How to find the length of variable length copybook using fileaid ??
What do you do if you do not want to keep all the space allocated to a dataset?
What is a GDG? Why do we go for a GDG ? utility used to create GDG?
What you mean by skeleton JCl?
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
How is a GDG base created?