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
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
How to override loadlib?
Can we use DISP=SHR in output file in JCL
What is the maximum length of a single line of jcl?
what is JCL?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Explain about LMQUERY�give a dialog information about a data set
What are the rules employed while naming the steps in a job?
whats the diff bw the evaluate also and and?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
How is the record format of an output dataset specified?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
define cond parameter in jcl?