Printing is initiated when a program processes a print statement for an EGL-defined print form. Printing can also be initiated when the program processes an add statement, in the circumstances described later in this topic.
When you initiate printing through a print statement and print form, the printer output is routed to the file that is specified as the resource associated with printer. You can specify the resource associated with printer at generation or at run time (using the converseVar.printerAssociation system variable).
On CICS® for z/VSE®, if the resource associated with printer is a spool file, it is spooled to VSE/POWER. You can specify that queue as LST or PRT, causing the spool file to become a VSE/POWER LST queue member. You can specify the jobname, class, disp, form, node, and userid of the VSE/POWER LST queue member. You specify these values using the system resource name format for the spool file. For more information, see Using spool files in VSE CICS.
You can use the CICS Report Controller in conjunction with Rational® COBOL Runtime printer functions to provide ease of handling printed output.
Printing can also be initiated when the program processes an add statement for a serial record that is associated with the spool file type and with a systemName property that specifies a destination queue of LST. The systemName property specifies the VSE/POWER queue destination. If the queue is specified as LST or PRT, the file becomes a VSE/POWER LST queue member.