Concatenating Datasets IQ for Freshers


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