Using Language Environment MSGFILE

Run-time messages are directed to a common Language Environment message file. You can use the MSGFILE run-time option to specify the ddname of this file. If a message file ddname is not declared, messages are written to the IBM-supplied default ddname SYSOUT.

Table 1 lists the SYSOUT definitions and MSGFILE default attributes for CMS:

Table 1. Operating System, SYSOUT Definitions, MSGFILE Default Attributes
Operating System SYSOUT Definition MSGFILE Default Attributes
CMS FILEDEF SYSOUT TERMINAL LRECL 121, BLKSIZE 121, RECFM FBA*, NOCHANGE

* When output is directed to the terminal, ASA control characters are replaced by a single space.

When you direct run-time messages to an I/O device, the method you should use also depends on the operating system. Table 2 lists methods for directing run-time messages to an I/O device under CMS and provides references for additional information on this topic.

Table 2. Defining an I/O Device for a ddname
Operating System Method to Define I/O Device For additional information, see:
CMS Use a FILEDEF statement to define a ddname for a file. Using FILEDEF to Define Input and Output Files
Note: You can specify the same message file across nested enclaves.