Previous Topic: Use TSSSIM Under TSO in an SPF EnvironmentNext Topic: Execute the Simulator in a Batch Environment


TSSSIM in TSO/E-Background, TSO/E-Foreground, or TSO/E-Batch

If you run TSSSIM in TSO/E-Native mode and TSO/E-ISPF mode under TSO/E-Foreground, the output is the same in each mode.

To invoke TSSSIM in TSO/E-Background and produce output, use the following JCL:

//stepname EXEC PGM=IKJEFT01
//SYSIN    DD DUMMY
//SYSTSPRT DD SYSOUT=A
//SIM$$OUT DD SYSOUT=A
//SYSTSIN  DD *
  TSSSIM
//SIM$$IN  DD *
  (TSSSIM commands)
//

Note: When you invoke TSSSIM through JCL, single TSSSIM commands cannot exceed 80 characters. To run a simulation command that is longer than 80 characters, use TSSSIM under a non-SPF environment.

You can also invoke the simulator in a TSO/E-Batch environment. For example, you can use the following JCL to invoke the simulator in a TSO/E-Batch environment to perform resource checking for data set SYS1.LINKLIB with or without the ACCESS parameter:

//stepname EXEC PGM=IKJEFT01
//SYSIN    DD DUMMY
//SYSTSPRT DD SYSOUT=A
//SIM$$OUT DD SYSOUT=A
//SYSTSIN  DD *
  TSSSIM
//SIM$$IN  DD *
  LOGON ACID(USER01) FAC(TSO) TRACE
  $DSN('SYS1.LINKLIB')
  $DSN('SYS1.LINKLIB') ACC(UPDATE)
  $DSN('SYS1.LINKLIB') ACC(UPDATE) PRIVPGM(IEBCOPY)
  END
//

More information:

TSSSIM Under TSO in a Non-SPF Environment