explain concatinating datasets?

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


Please Help Members By Posting Answers For Below Questions

Can an individual step be restricted from using all the jobs allowed cpu time?

1291


How can a stopped job be started again?

928


Explain how can a stopped job be started again?

885


what is the use of JCL?

921


What are the jcl procedures?

868


How can a jobs execution priority be modified?

1031


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1936


Can I share my data with other jobs? How?

877


how can you check if a file is empty using jcl?

1094


Is condition checking possible in jcl?

968


How to override loadlib?

1677


Is their any set of rules for dd? Explain.

881


What is the function of job statement in jcl?

855


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

802


When output dataset space is required, what quantity categories are used?

1109