FALSE

Page Nav

HIDE

Grid

GRID_STYLE

Spool Open Command

The SPOOLOPEN command EXEC CICS SPOOLOPEN OUTPUT TOKEN(data-area) USERID(data-value) NODE(data-value) CLASS(data-value) ASA PRINT ...

The SPOOLOPEN command
EXEC CICS
SPOOLOPEN OUTPUT TOKEN(data-area)
USERID(data-value)
NODE(data-value)
CLASS(data-value)
ASA
PRINT
RECORDLENGTH(data-value)
RESP(data-area)
END-EXEC

Options:
ASA specifies that the report has each record prefixed with an ASA carriage-control character, and this character must be used by the operating system to control formatting when the report is printed.
CLASS (data-value).specifies a 1-character class designation. If it is omitted, class A is assumed.

PRINT allows large records (maximum 32760 bytes) to be written to the spool. This is the default setting.

RECORDLENGTH
(data-value).specifies, as a halfword binary variable, the maximum length of record to write to a print data set. The default value is 32760.
TOKEN (data-area) specifies the 8-character CICS-allocated token used to identify a report.
USERID (data-value)specifies the 8-character identifier of the destination userid that processes the report. The report carries this identifier, which is used to select the report at its destination. It is a sender field and must be declared with a length of 8 characters.

NODE specifies the 8-character identifier of a destination node that the system spooler uses to route the file. It is
a sender field.

Conditions:
ALLOCERR, ILLOGIC, INVREQ, LENGERR, NODEIDERR, NOSPOOL,NOSTG, NOTFND, NOTOPEN, OPENERR, OUTDESCERR, SPOLBUSY, STRELERR. See CICS Application Programming Reference for details.

No comments