The DD statement corresponding to a %INCLUDE statement should specify the name of the PDS (or PDSE) containing the file to be included, but it must not specify the name of the member file. For example, to include the file DEBUG from the dataset INCLUDE.PLI using the TEST DD statement, the %INCLUDE statement would be:
%INCLUDE TEST(DEBUG);
The corresponding DD statement would be
TEST DD DISP=SHR,DSN=INCLUDE.PLI
The following DD statement would not be accepted by the new compiler.
TEST DD DISP=SHR,DSN=INCLUDE.PLI(DEBUG)