explain concatinating datasets?



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

Post New Answer

More JCL Interview Questions

jcl is like a complier....?

6 Answers  


How do you submit a JCL under CICS environment ?

5 Answers   Wipro,


How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation

1 Answers  


What is the purpose of disp parameter?

0 Answers  


What is DSNDB06 ?

1 Answers  






Why we will create load module in PDS only, Why nt in PS?

2 Answers   TCS,


How is a GDG base created?

5 Answers  


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

0 Answers   CGI, Verizon,


What is the difference between static call & Dynamic call ?

3 Answers  


Explain about LMCOPY -

1 Answers  


I have a PDS and want to omit few rows of all members of a PDS. How to do it?

6 Answers   Accenture,


Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?

4 Answers   IBM,


Categories