SYSPRINT

In PL/I, runtime messages are directed, by default, to the Language Environment MSGFILE rather than to SYSPRINT. Runtime user output is still directed to SYSPRINT. If you want runtime messages to go to SYSPRINT, specify the MSGFILE(SYSPRINT) runtime option. In this case, SYSPRINT can contain both user output and runtime output. For more information about the MSGFILE runtime option, see z/OS Language Environment Programming Reference.

If you specify a RECSIZE value that is not consistent with the LRECL of the data set or with the LRECL on the DD statement, the PL/I runtime library will diagnose this with an UNDEFINEDFILE condition with ONCODE=81. You must change the JCL to ensure that the values are the same or remove the LRECL value from the DD statement.

For DB2® UDB for z/OS® Version 8 and DB2 Version 9.1 for z/OS customers, job steps that execute program DSNTEP2 or DSNTEP4 will experience user abend 4038. The user abend 4038 happens because UNDEFINEDFILE condition with ONCODE=81 error when the SYSPRINT DD specifies an LRECL that does not match the RECSIZE specified by DSNTEP2 and DSNTEP4 in the PAGEWIDTH constant. PAGEWIDTH is typically 133 but can be changed in the source code for DSNTEP2 and DSNTEP4. If you experience the abend and do not know the PAGEWIDTH setting, remove the LRECL from the SYSPRINT DD in job steps that execute DSNTEP2 or DSNTEP4.