The EXIT command stops your QMF session.

TSO with ISPF TSO without ISPF CICS®
Read syntax diagramSkip visual syntax diagramEXIt

You can issue the command on the QMF home panel, on the QUERY, REPORT, FORM, PROFILE, or global variable list panel, or you can put it in a procedure.

You can also enter the EXIT command from the QMF command area of any object on the QMF database object list panel. You cannot enter the EXIT command on a command prompt, confirmation, or Help panel.

Restriction: If you issue EXIT through the QMF command interface or in a procedure that is run through the command interface, your session is not terminated immediately. Instead, the CLIST or application program that is running from the command interface regains control. Your session is not terminated until the CLIST or application completes.