Previous Topic: #PRINT ParametersNext Topic: #PRINT Example


#PRINT Status Codes

After completion of a #PRINT request, the value in register 15 indicates the outcome of the operation. The following is a list of the Register 15 values and the corresponding meaning:

X'00'

The request has been serviced successfully.

X'04'

The request cannot be serviced because an I/O error occurred during a #PUTQUE request or, for OPTNS=(DIRECT), a permanent I/O occurred on the direct printer.

X'08'

The request cannot be serviced because the parameter list passed to #PRINT contains an invalid field.

X'0C'

The request cannot be serviced because no printer logical terminals have been defined for the current system.

X'10'

The request cannot be serviced because a print screen request has been made from a non-3270-type terminal or from a 3270-type terminal without read-buffer support.

X'14'

The request cannot be serviced because the specified printer destination is invalid or, for OPTNS=(DIRECT), the LTEID or LTEADDR specification is invalid.

X'18'

The request cannot be serviced because a terminal I/O error occurred during a print-screen type #PRINT request.

X'1C'

The request cannot be serviced because no printer could be found to satisfy the print-direct request, and OPTNS=(NOWAIT) was specified.

X'20'

The request cannot be serviced because the print-direct request has specified an LTEID or LTEADDR that is out of service.

X'24'

The request cannot be serviced because the print-direct request specified a wait, and to wait would cause a deadlock.

X'28'

The request cannot be serviced because a DCMT VARY PRINTER CANCEL command has been issued in the DC/UCF system for this direct printer.

X'2C'

The request cannot be serviced because a DCMT VARY PRINTER REQUEUE command has been issued in the DC/UCF system for this direct printer.