Previous Topic: Non-LU6.2 Considerations for Sending DataNext Topic: Responding to a Confirmation Request


Requesting a Confirmation

CONFIRM RESOURCE
        RETURN_CODE

If you want to request a confirmation, for any application-defined reason, you can include the CONFIRM option of the #TREQ WRITE, PUT, PUTGET, or WRITREAD statements. Your program must specify the LTE address of the remote logical unit to identify the conversation.

Specifying OPTNS=CONFIRM sends a confirmation request to the remote LU. The request is posted as complete as soon as it is received; a separate read statement is not necessary to get the confirmation. CA IDMS/DC sets the send-error received flag (UIOERR) on if the reply is negative.

The CONFIRM option can be specified with or without data (OUTLEN=0). Syntax and syntax rules for OPTNS=CONFIRM are described in Data Manipulation Language Statements.

You can request a change of direction with the confirmation request by specifying OPTNS=(INVITE,CONFIRM).

You can also request confirmation before a conversation is terminated by specifying OPTNS=(LAST,CONFIRM).

Note: For more information about terminating a conversation, see Terminating a Conversation in this appendix.

For non-LU6.2 sessions, the following considerations apply: