Previous Topic Next topic Print topic


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 name of the DB2 system.
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.

If you are running a DB2 application, you need to define an XA Resource for the database manager. You can do this in either ES Admin or ESMAC:

Previous Topic Next topic Print topic