HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

Writing CPI-C Applications
How Programs Get Started
Chapter 294
inbound allocation request is received. This timeout value does not apply
to a nonqueued program, because the program is always started in
response to an inbound allocation request and so there is always one
pending.
Invoked Program: User-Started
If an invoked program is configured to be started by a user, the user can
start the invoked program either before or after the invoking program. A
program started in this manner is called a queued, operator-started
program.
If the user starts the invoking program before starting the invoked
program, the inbound allocation request to the invoked program waits
until the invoked program is started and issues an Accept_Conversation
or Accept_Incoming call. However, the definition of the invoked
program's local LU includes a timeout value, so that the inbound
allocation request fails if the timeout is reached before the invoked
program is started and issues an Accept_Conversation or
Accept_Incoming call.
If the user starts the invoked program before the invoking program
issues the Allocate call, the Accept_Conversation or Accept_Incoming
call issued by the invoked program waits for an inbound allocation
request. The definition of the invoked TP (in the SNAplus2 invokable TP
data file) includes a second timeout value, which determines how long an
Accept_Conversation or Accept_Incoming call waits for an inbound
allocation request. The call fails if this timeout is reached before an
inbound allocation request is received.