Previous Page Contents Page Next Page

2.9 Starting TPs

A conversation occurs between an invoking TP and an invoked TP. This section describes how the invoking and invoked TPs are started.

2.9.1 Invoking TPs

The invoking TP is started by a user entering a command, by a shell script, or by batch file command.

2.9.2 Invoked TPs

The invoked TP can be started by a user, automatically by SNAP-IX, or automatically by a TP server application. When the System Administrator configures each invoked TP, the System Administrator must specify whether the TP is started automatically or by the user.

2.9.3 Invoked TPs: User-Started

If an invoked TP is configured to be started by a user, the user can start the invoked TP either before or after the invoking TP. A TP started in this manner is called a queued, operator-started TP:

2.9.4 Invoked TPs: Automatically Started by the SNAP-IX Attach Manager

An invoked TP can be configured to start automatically under one of the following conditions:

2.9.5 Invoked TPs: Automatically Started by a TP Server Application

When an Attach arrives at the SNAP-IX node, SNAP-IX distributes Attaches to TP server applications that have registered to receive the Attaches. The process SNAP-IX uses to route Attaches to an appropriate TP server consists of the following stages:

  1. One or more applications register to receive Attaches for LU and TP names. A TP server application can use a wildcard to specify the scope of Attaches that the TP server is registered to receive. A TP server application can use a wildcard for any of the following:

    • Local LU alias

    • TP name

    • Fully qualified partner LU name, which can use a wildcard for any of the following:

      • Partial network name

      • Whole network name

      • Partial network name followed by CP name

      • Fully qualified partner LU name

    Only a single TP server application can register for a given TP and LU combination, including wildcards. For example, one TP server application can register TPNAME1 and *, while the same TP or another TP server application registers TPNAME1 and LUNAME1. Registration of this type is legal, but two TP server applications cannot both register TPNAME1 and LUNAME1. The second registration attempt will fail.

  2. When an Attach arrives at SNAP-IX, SNAP-IX attempts to find the TP server application whose registration most closely matches the TP name, LU alias and fully qualified LU name received on the Attach. The matches are examined for greatest closeness in the following order:

    1. TP name match

    2. LU alias match

    3. Exact fully qualified partner LU name match

    4. Wildcard fully qualified partner LU name match

    When SNAP-IX finds a match, it delivers the Attach to the TP server application. The TP server has the following options:

    • Reject the Attach, in which case SNAP-IX returns the Attach to the invoking TP and includes an error code provided by the TP server application

    • Accept the Attach, in which case SNAP-IX informs the invoking TP that the Attach has been accepted

  3. If no matches are found after trying all combinations above search criteria, SNAP-IX rejects the Attach and returns the Attach to the invoking TP with the appropriate error code.

2.9.6 Timeout Values for Invoked TPs

The SNAP-IX configuration specifies two timeout values that define how long APPC waits to establish a conversation between two TPs, as follows:

Timeout for Starting TP

This value defines how long an Attach is queued waiting for the invoked TP to be started and to issue the RECEIVE_ALLOCATE verb. If RECEIVE_ALLOCATE is not issued within this time, the [MC_]ALLOCATE verb in the invoking TP fails. This timeout is defined in the configuration of the local LU that the TP uses.

Timeout for Servicing TP

This value defines how long a RECEIVE_ALLOCATE verb issued by the invoked TP waits for an Attach from the invoking TP. If an Attach is not received within this time, the RECEIVE_ALLOCATE verb in the invoked TP fails. The configuration can specify one of the following:

Infinite timeout

RECEIVE_ALLOCATE waits indefinitely

Zero timeout

RECEIVE_ALLOCATE fails unless the Attach has already been received

Finite timeout

A specific timeout value is provided

This timeout is defined for the invoked TP in the SNAP-IX invokable TP data file.

For more information about the configuration of invoked TPs, refer to the SNAP-IX Administration Guide.

Previous Page Contents Page Top of Page Next page