Sequential concatenation

This form of concatenation is used when the INCLUDE statement provides a ddname but no member names. The concatenated data sets can be sequential files, or they can be members of partitioned data sets with the member name included in the DD statement. Each data set or member listed in the concatenation may contain a load module, a program object, or any combination of control statements and object modules.

In the following example, two sequential data sets are concatenated and then specified as input with one INCLUDE statement:
//CONCAT     DD     DSNAME=PROJECT.ACCTROUT,DISP=SHR,...
//           DD     DSNAME=PROJECT.INVENTRY,DISP=SHR,...
//SYSLIN     DD     DSNAME=PROJECT.SALES,DISP=OLD,...
//           DD     *
  INCLUDE    CONCAT
/*

When the INCLUDE statement is recognized, the contents of the sequential data sets PROJECT.ACCTROUT and PROJECT.INVENTRY are processed.