PIMSG parameter

Parameter type: Keyword, optional

Purpose: Use the PIMSG parameter to indicate the handling of messages by Print Services Facility™ (PSF). PIMSG is used to specify whether all error messages are to be printed, and the number of errors sufficient to cause the printing process to be terminated and the data set to be purged.

When you code PIMSG=YES, the system prints all these messages at the end of the output data set.

When you code PIMSG=NO, no messages are printed unless there is an error that forces premature termination of the printing of the data set. If an error occurs, the system prints the set of messages (called a message group) associated with the error that caused the termination.

As errors are detected by PSF or reported to PSF by the printer, a count is kept of the associated message groups. When the count equals the number specified on the PIMSG parameter, PSF terminates the printing of the current data set. PSF interprets a count of zero as infinite, and does not terminate the printing of the data set on the basis of the number of errors detected.

Note: PIMSG can be specified only for data sets printed through PSF.