Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
![]() Print Service z/OS MVS IPCS Customization SA23-1383-00 |
|
IPCS now provides this service through the standard print service and the expanded print service. See Standard Print Service and Expanded Print Service. You can invoke the print service in one of two ways:
To pass control to the print service using standard linkage conventions register 1 must contain the address of the original exit parameter list address when the print service receives control. Field ADPLPRNT in the exit parameter list is the address of the print routine that your module can use to write out the buffer area. Your module must pass control to the print routine using standard linkage conventions. Upon entry to the print routine, register 1 must contain the address of the original exit parameter list. The print routine causes the output buffer pointed to by the parameter list to be printed and returns a new 133-character buffer (set to blanks) to your module. The output buffer address points to a 133-character work area where a print line is constructed. This buffer is blank on entry. The carriage control character is provided for you. When a print line is built, the print routine must be given control to cause the line to be printed. To print a blank line, your module must pass control with a blank buffer. If bit 6 in the exit parameter list field ADPLFLAG is on when the print service receives control, the output buffer is printed at the top of the next new page. Bit 6 is turned off when control is returned to the exit routine. Output is based on the message routing parameter used. If ADPLPRT is on then the routing parameter is overridden and output is sent to the terminal. In the example in Figure 1, the subroutine PRINTIT uses the print service subroutine. Figure 1. Example
- Using the Print Service Routine
![]() ![]() ![]() |
![]() |