z/OS MVS Program Management: User's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Library concatenation

z/OS MVS Program Management: User's Guide and Reference
SA23-1393-00

This form of concatenation is used when the INCLUDE statement provides one or more member names. The concatenated data sets must all be partitioned data sets without any member name included in the DD statement. Each member referenced by the INCLUDE statement may contain a load module, a program object, or any combination of control statements and object modules.

Members from more than one library can be designated as input with one ddname on an INCLUDE statement. In this case, all the members are listed on the INCLUDE statement. The partitioned data sets or PDSEs are concatenated using the ddname from the INCLUDE statement:
//CONCAT     DD     DSNAME=PROJECT.PAYROUTS,DISP=SHR,...
//           DD     DSNAME=PROJECT.ATTROUTS,DISP=SHR,...
//SYSLIN     DD     DSNAME=PROJECT.REPORT,DISP=OLD,...
//           DD     *
  INCLUDE    CONCAT(FICA,TAX,ABSENCE,OVERTIME)
/*

When the INCLUDE statement is read, the two libraries PROJECT.PAYROUTS and PROJECT.ATTROUTS are searched for the four members and the members are processed as input. Library directories are searched in the order of library appearance in the JCL.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014