Previous Topic Next topic Print topic


To enable JCL support from a CICS or IMS subsystem

In the Enterprise Server (ES) configuration, you enable JCL support by setting the ES_SSTM_ssss environment variable to a fully qualified path to the JCL used to initialize the SSTM Environment. In the environment variable,ssss is CICS or IMS depending on the environment that you want to initialise.
Note: The specified JCL job stream must contain only one step. A multiple step job is treated as an error and will fail SSTM initialization.
Note: 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.
From the Enterprise Server Administration Console, set the ES_SSTM_ssss to the fully qualified path of the JCL used to initialize the SSTM Environment.

Example settings

  • CICS environment:
    ES_SSTM_CICS=c:\es\sstm\jcl\sstmcics.jcl
  • IMS environment:
    ES_SSTM_IMS=c:\es\sstm\jcl\sstmims.jcl  
The following is an example JCL code for CICS. In the code:
  • The program name in the PGM= entry must be syntactically correct, but it does not need to exist.
  • The DD OUTJCL is shared across CICS SEPs. The other DDs in the example are not shared, and are local to each SEP.
//SSTMJCL JOB 'CICS JOB',MSGCLASS=A
//CICS     EXEC PGM=NOTUSED
//SYSOUT   DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//TEMPJCL  DD DSN=&&TEMPJCL,DISP=NEW
//OUTJCL   DD DSN=CICS.SSTM.OUTJCL,DISP=(MOD,CATLG)
//INTRDR   DD SYSOUT=(*,INTRDR) 
Previous Topic Next topic Print topic