Concatenating Datasets IQ for Experienced


Explain concatenating datasets?

Concatenating datasets is a process of combining two or more same types of datasets into a single logical dataset that can be accessed as a single unit.

How are datasets concatenated?

//DDname DD DSN=dataset1,...
//       DD DSN=dateset2,...
//       DD  .....
//       DD DSN=datasetn,...

What are the rules to concatenate the datasets?

The concatenating datasets should be of -

  • Same type
  • Same length
  • Same characterstics

Can we concatenate datasets of different type?

No

Can we concatenate datasets of different record length?

No

Can we concatenate datasets of different characterstics like block length, etc?

Yes (if record length and dsn type is same)