Executing TSO Commands in Batch Mode (IDAEFT01)

IDAEFT01 emulates the IKJEFT01 (and IKJEFT1A and IKJEFT1B) mainframe utility program. It starts a TSO session in batch, and the TSO session executes the TSO commands contained in the data set defined by the SYSTSINDD statement.

IDAEFT01 is typically used to run DB2/TSO applications in batch mode. Input for such applications is, at a minimum:

DSN SYSTEM(system)
RUN PROGRAM(name) PARM(parm-string)
 ....
END
SYSTEM(system)
Specifies the ID of the XA Resource Manager instance to use. See To define an XAR for an enterprise server region.
PROGRAM(name)
Specifies the name of the program to be executed. IDAEFT01 can execute any application program that is compiled within your COBOL development system, provided you have set the necessary directives.
PARM(parm-string)
Specifies the parameter string that is to be passed to the program through the standard linkage area.

Step Return Code

If the step return code exceeds 4095 it is adjusted depending on the IKJEFT** program called. If the program was IKJEFT01, the return code is 12. If it was either IKJEFT1A or IKJEFT1B, the return code is RC modulo 4096.