HP-UX SNAplus2 R7 APPC Programmer's Guide
Writing Transaction Programs
APPC Verb Summary
was last issued. This enables the TP to check whether it has lost connectivity to its partner TP (in which case
it may need to resynchronize).
GET_TP_PROPERTIES
This verb is used by a TP to obtain information about the attributes of the local TP and of the Logical Unit
of Work (a transaction between APPC TPs to accomplish a particular task) in which the TP is participating.
MC_TEST_RTS or TEST_RTS
This verb determines whether a REQUEST_TO_SEND notification has been received from the partner TP.
MC_TEST_RTS_AND_POST or TEST_RTS_AND_POST
This verb notifies the application asynchronously when a REQUEST_TO_SEND notification is received from
the partner TP.
WINDOWS
[MC_]TEST_RTS_AND_POST is supported on Win32 systems, but not on Win16 systems.
2.2.6 Ending a Conversation
Either the invoked or invoking TP can end the conversation. The following verbs end a conversation:
MC_DEALLOCATE or DEALLOCATE
This verb deallocates a conversation between two TPs. Before deallocating the conversation, this verb performs
the equivalent of the [MC_]FLUSH or [MC_]CONFIRM verb.
TP_ENDED
This verb is issued by both the invoking and invoked TPs. It notifies APPC that the TP is ending. Issuing
this verb also terminates any other conversations that may be active.
2.2.7 Starting a Transaction Program (TP)
UNIX
The following verbs are used to enable an application to participate in the SNAplus2 TP loading process.
REGISTER_TP_SERVER
This verb is used by a TP to notify SNAplus2 that the application is capable of automatically starting
transaction programs (TPs).
REGISTER_TP
This verb is used to register with SNAplus2 the name of a TP, whose TP start requests (Attaches) are to be
handled by the application.
QUERY_ATTACH
This verb is used by the application to determine the parameters on the request to start a TP, so the application
can determine whether to start the TP.
ACCEPT_ATTACH
This verb is used to notify SNAplus2 that the application intends to start the TP that corresponds to this
Attach.
48