Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Handling of errors during print output

Errors during print output are handled in the same way whether or not they have print control. This section describes which UTM features you can use to respond to printer malfunctions.


Hardware errors

The following action can be taken in response to hardware errors:

  • The terminal assigned to the printer control LTERM is defective. When this happens, a different terminal can be assigned to the printer control LTERM by means of administration functions - such as with the administration command KDCSWTCH.

  • A printer is defective. When this happens, a different printer can be assigned to the LTERM partner of the printer, and therefore to its message queue, for example using the KDCSWTCH command or by a procedure using the PADM CA call. If the LTERM partner is assigned to a printer control LTERM, then always ensure that the printer ID of the “new” printer is unique in the printer control LTERM area.

Formatting error on BS2000 systems
If errors occur when a logical message is being converted to a physical message (by VSTU), or to a formatted message (by FHS), UTM deletes the message and generates a dump. If the message is the main job in a complex of jobs, the negative confirmation job is started.

Error handling using MSGTAC routines

Targeted error handling is possible using the event service MSGTAC. Since the UTM program unit is authorized to perform administration work, it is capable of administering all printers in the application and of performing the print control function for all printers.

When errors occur, openUTM issues message K046. You can assign message destination MSGTAC to this message (see the openUTM manual ”Messages, Debugging and Diagnostics”). When this message appears, the MSGTAC routine is run. The MSGTAC routine can contain PADM calls. For example, it can:

  • activate confirmation mode and then confirm or arrange for repetition of the print outputs from the printer control LTERM

  • assign the LTERM partner of the printer, i.e. the queue for that printer, to a different printer

  • inform a specific user/client about the error.

openUTM issues message K046 in response to the following errors:

  • negative print confirmation message received from printer

  • repetition of printer output

  • not possible to establish a connection to the printer.