Running TSO application programs

You use the DSN command and a variety of DSN subcommands to run TSO applications.

Procedure

Begin general-use programming interface information.To run TSO application programs:

  1. Log on to TSO.
  2. Enter the DSN command.
  3. Respond to the prompt by entering the RUN subcommand.

Results

The terminal monitor program (TMP) attaches the Db2-supplied DSN command processor, which in turn attaches the application program.

Example

The following example runs application program DSN8BC3. The program is in library prefix.RUNLIB.LOAD, which is the name that is assigned to the load module library.

DSN SYSTEM (subsystem-name)
RUN PROGRAM (DSN8BC3) PLAN(DSN8BH12) LIB ('prefix.RUNLIB.LOAD')
END
End general-use programming interface information.