NOTE subcommand — generate a message

Use the NOTE subcommand to direct messages to the IPCSPRNT data set, IPCSPDS data set, your terminal, or all three, and to control spacing and pagination.

The maximum length of the message depends on its destination:

Thus, a message may be truncated to a different length for each destination.

NOTE directs the message to the IPCSPRNT data set, IPCSPDS data set, your terminal, or all three, depending on the PRINT, PDS, and TERMINAL parameters. If you omit the PRINT, PDS, and TERMINAL parameters, NOTE uses the current local defaults for these parameters.

You can also assign a message severity level, which determines whether the message is sent to its destination. If the assigned message level is below the user's current default FLAG setting (see the SETDEF subcommand), the NOTE subcommand does not send the message. If the message level assigned to a message equals or exceeds the default FLAG setting, the subcommand sends the message.