The SPOOLWRITE command The SPOOLWRITE command writes data to a spool report. EXEC CICS SPOOLWRITE TOKEN(data-area) FROM(data-area) FLENG...
The SPOOLWRITE command
The SPOOLWRITE command writes data to a spool report.
EXEC CICS
SPOOLWRITE TOKEN(data-area)
FROM(data-area)
FLENGTH(data-value)
END-EXEC
Options:
FLENGTH (data-value) specifies the fullword binary variable that is to be set to the length of the data that is transferred. This is set by the user on output. It is optional and, if it is omitted, CICS uses the length of the data area.
FROM (data-area)specifies the data area from which to take the variable length data. The data itself is not altered in any way by CICS. FROM is a sender field.
TOKEN (data-area) specifies the 8-character CICS-allocated token used to identify a report. It is a receiver on SPOOLOPEN and a sender on all other commands.
Conditions:
ALLOCERR, INVREQ, LENGERR, NOSPOOL, NOSTG, NOTOPEN, SPOLBUSY, SPOLERR, STRELERR
No comments
Post a Comment