To delete an LU6.1 transport connection between the local UTM application and a partner application, you must call KC_DELETE_OBJECT (in standalone applications with subopcode1=KC_IMMEDIATE, in UTM cluster applications with KC_DELAY) for the object type KC_CON. If you want to delete an LU6.1 session, call KC_DELETE_OBJECT (withsubopcode1=KC_DELAY) for the object type KC_LSES.
Deleting LU6.1 connections
It is not possible to delete a CON object when it is linked to the application.
Points to note when deleting LU6.1 sessions
An LSES object (LU6.1 session) can only be deleted when:
The session is not set up, and
Neither of the two half-sessions have the status PTC.
In order to check whether a session has the status PTC, you can query the status of the session (e.g. by means of KC_GET_OBJECT with the object type LSES).
The following procedure is recommended for deleting an LSES object:
Set up the session before deleting the object.
Set the session to “quiet”.
Once the connection is set up, delete the object by means of the above call.