Spool Close Command

The SPOOLCLOSE command.
            EXEC CICS
                       SPOOLCLOSE TOKEN(data-area)
KEEP
            END-EXEC.

Options:
KEEP For an INPUT report, KEEP specifies that the report is to be read again when SPOOLOPEN INPUT is next issued.
For an OUTPUT report, KEEP specifies that the report is to be sent to its destination node.
TOKEN (data-area)specifies the 8-character CICS-allocated token used to identify a report.

Conditions:
ALLOCERR, INVREQ, NOSPOOL, NOSTG, NOTFND, NOTOPEN, STRELERR

0 comments:

Computers TopOfBlogs Technology Blogs Mainframe interview question and answers,mainframe jobs,cobol,vsam,jcl,cics,db2,rdbms,mvs,tso,ispf,ibm,hcl,tcs,cts,wibro Blog Directory