All checkouts are represented by queue records. To release the checkout, all you have to do is delete the queue record that represents this checkout, and the dialog (or application or map) will be released. The command to delete the queue record is
DCMT VARY QUEUE <queue-id> DELETE
The Queue ID is made up of 16 bytes. The format of the name for check out queues is:
4 bytes for the type: $ADA for an ADSA application; $ADC for an ADS dialog; or $MPC for a map
8 bytes for the entity name
4 bytes version number
The entity name must be padded by spaces if the name is not 8 bytes long. The version number must be right-justified, with leading zeroes for a map and leading spaces for a dialog or application.
The queue-id must be enclosed in single quotes if it contains spaces.
DCMT V QUEUE '$ADAMARKAPP 0001' DELETE
IDMS DC265007 Vnnn USER:<user> QUEUE NAME $ADAMARKAPP 0001 DELETED
You can see a list of the existing Queues by typing task code QUED at ENTER NEXT TASK CODE
This command should be entered at an ENTER NEXT TASK CODE command, after you have established a connection to the dictionary where the dialog queue record is checked out.