Executing the terminal monitor program

The terminal monitor program (TMP) provides an interface between the user, command processors, and the TSO/E control program. It obtains commands, gives control to command processors, and monitors their execution. The TMP is attached as APF-authorized and executes in either supervisor state or problem program mode. The TMP entry points (IKJEFT01, IKJEFT1A, and IKJEFT1B) can only be invoked in one of the following ways:
  • Using the EXEC statement in the logon procedure for foreground execution
  • Using the EXEC statement in the input stream for background execution
  • Using the EXEC statement in the JCL portion of a transaction program (TP) profile for a standard TP scheduled by the APPC/MVS transaction scheduler.
  • Using the EXEC statement in the logon procedure for foreground execution to execute Session Manager, instructing Session Manager to invoke the TMP that TSO/E provides
  • Using a program that passes control to the TMP

When you log on to TSO/E, the TMP is invoked from your logon procedure. You can also execute the TMP in the background by submitting JCL. Executing the TMP in the background allows you to execute TSO/E commands independent of the terminal, which is convenient if a job takes a long period of time to execute. It is also a useful way to perform certain customization tasks, such as maintaining the UADS and broadcast data sets.

This appendix describes the JCL statements that are required to execute the TMP in the background. As an alternative to writing JCL statements, you can use the SUBMIT command to generate the JCL needed to execute commands in the background. See z/OS TSO/E User's Guide for more information.