Explain concatenating datasets?

Datasets can be grouped in a DD statement one after another, eg. in a JOBLIB statement where the load module can exist in one of many datasets.

Showing Answers 1 - 6 of 6 Answers

DavidGeek

  • Oct 7th, 2005
 

To piggyback on last answer, my experience has shown that the order in which concatenated datasets are read is from the last one listed up to the first in the group.

  Was this answer useful?  Yes

Saradha

  • Oct 11th, 2005
 

Concatenation is also used to append files in the JCL for a single ddname. The order of appending will be from top FILE to bottom FILE. And the order of the RECORDS concatenated, stays still. MERGing files differ from concatenation, in a way that it will also SORT after appending.

When you specify multiple dataset to be concatenated in Joblib or Steplib, the library with largest blocksize will be picked first.

You can concatenate upto 255 sequential files and 16 PDS files with a single ddname/Joblib/Steplib.

jayakumar

  • Sep 10th, 2006
 

The rules for concatening dataset is as follows:1)The LRECL value must be same for all the datasets2)The dataset which has the largest blksize must be given first3)we cannot concate a PS with the PDScheers,jai

  Was this answer useful?  Yes

neha srivastav

  • Jul 24th, 2007
 

For concatinating datasets through JCL, we can use MERGE Utility. Condition is that the datasets should be in sorted order.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions