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
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 ?
What are the utility programs in jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
What is notcat 2 - gs?
What are steplib and joblib? What for they are used?
What is the function of job statement in jcl?
define cond parameter in jcl?
when can a job time-out occur? How to overcome that?
Can we use DISP=SHR in output file in JCL
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
Can I send output of job to my remote device careerride123?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
How is the record format of an output dataset specified?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
How can unused space allocation be returned to the system when a dataset is closed?