End of session
When you are designing an application program you must plan what happens when a session ends.
You must ensure the following:
- An IMS conversation does not remain active.
- An IMS /RCLSDST command is issued if appropriate.
- An IMS MFS bypass application does not remain in bypass mode.
- Any preset destination has been reset.
- Any used test mode has been ended.
- No paged output message remains on the IMS message queue.
- All messages have been received.
Physically paged messages are removed from the queue automatically when the last page has been sent and, if they are recoverable, acknowledged. Operator logically-paged messages are not removed and require a PA2 (for SLU2 mode) or a NEXTMSG/NEXTMSGP control function (for SLUÂ P mode) to be sent to IMS to remove the message from the queue if no input message is due.