gtps2m2gACF/SNA Data Communications Reference

Starting and Stopping Application Programs

TPF applications are defined during generation of the TPF system. Issuing the ZROUT command starts the application. It is then available to non-SNA terminals. Applications are available to the SNA network only after ZNETW activation. Thus, applications must be started (ZROUT) before the non-SNA network can access them; started (ZROUT) and activated (ZNETW) before the SNA network can access them.

TPF provides support to establish cross-domain application to application sessions. This is necessary because TPF applications cannot request a session. Instead, the TPF operator issues a ZNETW command with the LOGON operand. If the cross-domain application is a primary LU, the TPF application will act as a secondary LU. During TPF system generation, users can define up to 255 secondary LUs to access an application. TPF attempts to establish a session for each secondary LU defined.

If a VTAM system supports receiving NOTIFY PIUs, and a VTAM LU requests a session with a TPF application that is not active, TPF will send a NOTIFY PIU to the requesting VTAM system when the TPF application is activated. The VTAM system may redrive the session request if the LU is still available.

Issuing a ZNETW INACT command deactivates a TPF application. This makes the application unavailable to the SNA network and terminates all sessions with the application's logical units. The application is still available to the non-SNA network. Deactivation types are the same as for other resources: orderly, immediate, and forced.