

Data Manipulation Language Statements › #PRINT—requests that the system transmit data › #PRINT Example
#PRINT Example
The #PRINT statement shown below performs the following functions:
- Directs the system to transmit the data in storage area RECOUT to a terminal defined as a printer device.
- Specifies that the length of data transmitted is contained in the field OUTLEN.
- Directs the print request to a specific printer, bypassing the queuing process.
- Asks the system to wait until the named printer is able to service the request. If the wait time exceeds the stall interval defined at system generation, the program will abort.
- Names the printer by logical terminal ID.
#PRINT RECORD=RECOUT,RECLEN=OUTLEN,OPTNS=DIRECT,WAIT,LTEID='LV009'
Copyright © 2014 CA.
All rights reserved.
 
|
|