You can include the END command in your application to end the QMF session. You can also design your application so that your end user needs to press the End function key or type the END command at the command line to end the interactive QMF session and return control to the application.
The rules governing the END command depend on the type of session in which the END command is issued. This section discusses how the END command operates in each of the following types of QMF sessions: