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
Mention the types of job control statements?
how to do automated restart when a job abends?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
define cond parameter in jcl?
How to override loadlib?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
What is notcat 2 - gs?
How can return codes be tested before execution of a job step?
How can a stopped job be started again?
Explain how can values be passed from the job stream to an executable program?
what is the purpose of coding class parameter in job statement?
Is their any set of rules for dd? Explain.
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Explain the hierarchy levels in jcl?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?