This general macro prints one line of data from storage to the specified
printer. The storage block referenced at the specified entry control
block (ECB) data level is not returned to the storage pool when the I/O is
completed. The assumed line length of 132 characters is printed.
Format
- label
- A symbolic name can be assigned to the macro statement.
- Dx
- A symbolic name (D0-DF) identifying the ECB data level that holds the data
to be printed.
- prtdev
- A 3-character symbolic name for the printer must be specified
(PR1-PR7, or PRA for any available printer). There is no default
printer.
Entry Requirements
- R9 must contain the address of the ECB being processed.
- A storage block must be held by the ECB at the level specified.
- The application program must have previously issued a USURC macro
requesting the assignment of the specified printer to this ECB.
- The printer control character (the CCW command code to be used) must be
available in the 133rd byte of the data block following the header. The
length of an output line is 132 bytes. The CCW command code can be
found in UR0CMP.
- No other ECB should use this device.
Return Conditions
- Control is returned to the next sequential instruction.
- The contents of R14 and R15 are unknown. The contents of all other
registers are preserved across this macro call.
- The condition code will be saved across this macro call.
- The program identification will be placed in the header of the data block
by the service routine if the length of the header area in UR0IO is generated
so that it is greater than 4 bytes.
- The file address reference word (FARW) at the specified level is
unchanged.
- The storage block at the specified level is not available until the return
from the next executed WAITC macro.
- The status of the operation is unknown until the return from the WAITC
macro. On a WAITC error return, the CE1SUD field for the specified
level and CE1SUG are set as follows:
Bit 5 = 1 Means channel 12 has been detected.
Bit 6 = 1 Means the application program must abort.
Programming Considerations
Examples
None.