Previous Topic: Terminating a ConversationNext Topic: Abnormal Termination


Normal Termination

To end a conversation between two logical units normally, specify OPTNS=LAST on a write request. CA IDMS/DC notifies the remote system, frees the session to make it available for other conversations, and, for LU6.2 conversations, performs a signoff for the remote LU.

The request to terminate a conversation can be made with or without data (OUTLEN=0).

You can request confirmation of the termination request by specifying OPTNS=(LAST,CONFIRM) on a #TREQ WRITE or PUT request. CA IDMS/DC notifies the remote system and will wait to free the session and perform the signoff until a positive confirmation is received.

If your task ends or abends before the conversation terminates normally, CA IDMS/DC performs the ABEND operation.