Directing output in ILC applications

Under COBOL, runtime messages and other related output are directed to the MSGFILE ddname. The output from DISPLAY goes to the MSGFILE ddname only when the OUTDD compiler option ddname matches the MSGFILE ddname. Output from the COBOL DISPLAY UPON SYSOUT statement is also directed to the default MSGFILE ddname. If you want to intersperse output from COBOL and PL/I, you must compile your COBOL program using OUTDD(SYSPRINT) to override the default OUTDD.

Under PL/I, runtime messages and other related output (such as ON condition SNAP output) are directed to the file specified in the Language Environment MSGFILE runtime option, instead of to the PL/I SYSPRINT STREAM PRINT file. User-specified output is still directed to the PL/I SYSPRINT STREAM PRINT file. To direct this output to the Language Environment MSGFILE file, specify the runtime option MSGFILE(SYSPRINT).