Please enable JavaScript to view this site.

ESL Documentation

Field Types

Sends a request for confirmation to the partner program to synchronize processing.

Declaration:

subroutine APPCRequestConfirm(integer:CONVERSATION_ID)

                     library "eslappc" 

Arguments:

CONVERSATION_ID is an integer variable containing the conversation identifier (handle) for the APPC conversation returned by either APPCStart or APPCAcceptStart.

Remarks:

This call also flushes all buffered information to the partner program. The APPCSendString subroutine buffers information when the default settings are used.

Errors:

APPC_NORMAL_COMPLETION

Normal completion.

APPC_ERR_OUT_OF_MEMORY

Out of memory.

APPC_ERR_INV_CONV_ID

Invalid argument: CONVERSATION_ID

APPC_ERR_UNEXPECTED_ERROR

Unexpected error encountered.

Example:

call APPCSendString(ConvID,    # Handle from Start/AcceptStart
                    String1,   # First data
                    NoConvert, # Do not convert string
                    None,      # Add Send to buffer
                    More)      # More to send
 

call APPCSendString(ConvID,    # Handle from Start/AcceptStart
                    String2,   # Second data
                    NoConvert, # Do not convert string
                    None,      # Add Send to buffer
                    More)      # More to send
 

call APPCRequestConfirm(ConvID)# Send all data in buffer