Non-CICS printers: Delivering the data

Print data is typically conveyed to an application outside of CICS by placing the data in an intermediate file, accessible to both CICS and the application. The type of file, as well as the format within the file, is dictated by the receiving application.

It is typically one of the file types listed in the first column of Table 1 . The second column of the table shows which groups of CICS commands you can use to create such data.

Table 1. Intermediate files for transferring print data to non-CICS printers
File type Methods for writing the data
Spool files CICS spool commands (SPOOLOPEN, SPOOLWRITE, etc.) Transient data commands (WRITEQ TD) Terminal control and BMS commands (SEND, SEND MAP, etc.)
BSAM CICS spool commands (SPOOLOPEN, SPOOLWRITE, etc.) Transient data commands (WRITEQ TD)
VSAM CICS file control commands (WRITE)
DB2® EXEC SQL commands
IMS EXEC DLI commands or CALL DLI statements