Created On: 18 February 2011
Problem:
Writing to CICS SPOOL using CICS API commands SPOOLOPEN, SPOOLCLOSE, SPOOLWRITE generates RC=0010026 error.
For example, in the CICS user program listed below, issues a SPOOLOPEN OUTPUT command with explicit nodename with NODE option and USERID as 'INTRDR' identifying the internal reader to tell JES what to do with the SPOOL file when it is complete.
EXEC CICS SPOOLOPEN OUTPUT
NODE ('LCPI')
USERID ('INTRDR')
NOCC
RESP(RESP) RESP2(RESP2)
PRINT
TOKEN(TOKEN)
END-EXEC.
The above command generates the RC=0010026 error.
For example, in the CICS user program listed below, issues a SPOOLOPEN OUTPUT command with explicit nodename with NODE option and USERID as 'INTRDR' identifying the internal reader to tell JES what to do with the SPOOL file when it is complete.
EXEC CICS SPOOLOPEN OUTPUT
NODE ('LCPI')
USERID ('INTRDR')
NOCC
RESP(RESP) RESP2(RESP2)
TOKEN(TOKEN)
END-EXEC.
The above command generates the RC=0010026 error.
Resolution:
NODE(‘INTRDR’) should be used to invoke the internal reader function of the spool API.
Old KB# 33403
#SPOOLCLOSE
#MFDS
#EnterpriseDeveloper
#SPOOLWRITE
#SPOOLOPEN




