snalu62_wait(3) — Subroutines
Name
snalu62_wait − Waits for posting to occur on any of the specified conversations.
FORMAT
STATUS_RTN snalu62_wait(
RES_LIST ∗resource_list,
STATUS_VEC status_vec,
RES_ID ∗resource_posted
);
Valid Conversation States
Receive
Arguments
resource_list
A pointer to a RES_LIST structure specifying a list of conversations that the interface should monitor for incoming messages. Specify the conversations using the RES_ID structures assigned to the conversations by the interface. The IDs were returned by the snalu62_allocate, snalu62_attach_listen or snalu62_receive_allocate verb.
The IDs specified in this parameter must all reference conversations supported by the same LU6.2 Server.
status_vec
A pointer to a STATUS_VEC array to receive the completion status information.
resource_posted
A pointer to a RES_ID structure to receive the resource ID of the posted conversation.
Description
This call returns when posting is active for the conversations (through a call to snalu62_post_on_receipt) and the LU receives information for one of the conversations, such as data, conversation status, or a request for confirmation or sync-point.
Return Values
SNALU62_S_OK
normal successful completion
SNALU62_S_ALLERR
conversation could not be allocated
SNALU62_S_BACKOUT
backed out
SNALU62_S_CONVCANC
conversation canceled
SNALU62_S_DEABPR
deallocate abend program
SNALU62_S_DEABSVC
deallocate abend services
SNALU62_S_DEABTIM
deallocate abend timer
SNALU62_S_DEALNOR
deallocate normal
SNALU62_S_FMHNOT
user control data (FMH) not supported
SNALU62_S_MAPEFAI
map execution failure
SNALU62_S_MAPNFOU
map name not found
SNALU62_S_MAPNSUP
mapping not supported
SNALU62_S_NOPOST
posting is not active for any of the specified conversations
SNALU62_S_PARERR
parameter error, function-name
SNALU62_S_PRERNTR
program error no truncate
SNALU62_S_PRERPU
program error purging
SNALU62_S_PRERTR
program error truncate
SNALU62_S_PRGPARCHK
program parameter check
SNALU62_S_RESFNO
resource failure no retry
SNALU62_S_RESFRET
resource failure retry
SNALU62_S_STAERR
LU6.2 verb function-name invalid with conversation in current state
SNALU62_S_SVCENTR
service error no truncate
SNALU62_S_SVCERPU
service error purging
SNALU62_S_SVCERTR
service error truncate
SNALU62_S_UNSUC
verb did not execute successfully