PADM AI provides information about print jobs to be confirmed. If there are no print jobs requiring confirmation, PADM AI simply returns blanks.
openUTM returns the following information about every print job:
printer ID
job ID of the asynchronous job
user ID of the job submitter
time the job was placed
the target time for time-driven jobs
positive and/or negative confirmation job
If you wish to query the print jobs requiring confirmation for all printers in the printer control LTERM, you must proceed as follows: when the first PADM/AI/PI call reaches the program unit, instead of a printer ID, send blanks in the kcrn field of the parameter area. openUTM then returns the printer ID of the first printer in the message area (together with other information). The printer ID of the next printer then appears in the kcrmf field. You then pass the contents of field kcrmf to field kcrn in the next PADM AI call etc. For the last printer, openUTM passes blanks in the kcrmf field
See section "KDCPADM INFORM, LIST=ACK" in chapter "INFORM - Display information about printers for a printer control LTERM". |