Problem:
The following errors appear in the console.log when trying to use the CICS SPOOLOPEN, SPOOLWRITE and SPOOLCLOSE commands.
CASSI2205E Spool error on token S0000004. Func = add-alloc-dd-begin, RC = 00010026.
CASCD0168S Spool service for Region abended by signal 00032
CASSP0002I Server manager informed of process termination, pinfo = L,0000005616
You may also see the following message in a console window:
MVSER09950 IDAMJRM:10200 - Unexpected mvscat-func-lock retcode=000000016.
Resolution:
To use the CICS spooling, you need to enable the SSTM (Subsystem Task Manager).
From the docs:
Setting the SSTM is required for the CICS spooling facility. That is, if you want to use the CICS SPOOLOPEN OUTPUT, SPOOLWRITE, SPOOLCLOSE commands, etc.
You will find the information you need to set up SSTM at:
http://documentation.microfocus.com:8080/help/index.jsp?topic=/com.microfocus.eclipse.infocenter.studee60win.sp02ws01/GUID-DCE0ABA0-54E2-4DA2-AE42-8C30C1BBB6B9.html
Specifically under "To enable JCL support from a CICS or IMS subsystem".
#StudioEnterpriseEdition
#EnterpriseDeveloper
#EnterpriseTestServer
#MFDS
#EnterpriseServer