Ensure accumulated data is transmitted on an APPC mapped conversation.

WAIT CONVID (APPC)
>>-WAIT CONVID(name)--+-------------+--------------------------><
'-STATE(cvda)-'
Conditions:
INVREQ, NOTALLOC
Description
WAIT CONVID allows an application program to ensure that any accumulated
application data and control indicators from a SEND command, or the results
of a CONNECT PROCESS command, are transmitted to the partner transaction.
Options
- CONVID(name)
- identifies the conversation to which the command relates. The 4-character
name identifies either the token returned by a previously executed ALLOCATE
command in EIBRSRCE in the EIB, or the token representing the principal session
(returned by a previously executed ASSIGN command).
- STATE(cvda)
- gets the state of the current conversation. The cvda values returned
by CICS® are:
- ALLOCATED
- CONFFREE
- CONFRECEIVE
- CONFSEND
- FREE
- PENDFREE
- PENDRECEIVE
- RECEIVE
- ROLLBACK
- SEND
- SYNCFREE
- SYNCRECEIVE
- SYNCSEND
Conditions
- INVREQ
- RESP2 values:
- 200
- Command not supported for distributed program link when it refers to
the principal facility.
also occurs (RESP2 not set) if he command is used on a conversation
that is not using the EXEC CICS interface or that is not a mapped conversation.
Default action: terminate the task abnormally.
- NOTALLOC
- occurs if the CONVID value does not relate to a conversation
that is owned by the application.
Default action: terminate the task
abnormally.