IOINFO
The IOINFO area, which is built by DFHAPLI in the CICS-Language Environment work area, is passed to Language Environment on a RUNUNIT_BEGIN_INVOCATION call.
CICS applications cannot use the SYSIN and SYSPRINT data streams because such usage would conflict with the way CICS handles I/O. However, an application may require a general input or output data stream in some situations, for example, where it is necessary to output a message to a program and the program has not been written to expect such output under normal operation.
Three such data streams are designed for this purpose: input, output (normal), and error output. The destinations must be either spools or queues. CICS uses queues, so the file type is always set to "Q". Table 1 shows the transient data queue names that are passed to Language Environment.
| File type | Language Environment queue name |
|---|---|
| Input | CESI |
| Output | CESO |
| Error output | CESE |
Each data stream is identified by a 6-byte control block, and the three control blocks are concatenated to form the IOINFO area, which CICS passes to Language Environment.
IOINFO DS 0CL18 Input/output queue details
STD_IN DS 0CL6 Standard input file
QORS_IN DS CL1 ..file type - "Q" = transient data
TDQ_IN DS CL4 ..queue name
SPO_IN DS CL1 ..spool class - not used
STD_OUT DS 0CL6 Standard output file
QORS_OUT DS CL1 ..file type - "Q" = transient data
TDQ_OUT DS CL4 ..queue name
SPO_OUT DS CL1 ..spool class - not used
STD_ERR DS 0CL6 Standard error output file
QORS_ERR DS CL1 ..file type - "Q" = transient data
TDQ_ERR DS CL4 ..queue name
SPO_ERR DS CL1 ..spool class - not used