QUIT command

The QUIT command ends a Debug Tool session and, if an expression is specified, sets the return code. In full-screen mode, it also displays a prompt panel that asks if you really want to quit the debug session. In line, batch, and remote debug mode, the QUIT command ends the session without prompting.

Read syntax diagramSkip visual syntax diagram
>>-QUIT--+------------------+--;-------------------------------><
         +-(--expression--)-+      
         +-ABEND------------+      
         '-DEBUG--+------+--'      
                  '-TASK-'         

expression
A valid Debug Tool expression in the current programming language.

If expression is specified, this value is used as the application return code value. The actual return code for the run is determined by the execution environment.

You cannot use expression in remote debug mode.

ABEND
If you specify ABEND, Debug Tool raises a CEE2F1 exception to terminate each active enclave.
DEBUG
If you specify DEBUG, Debug Tool ends and your program keeps running. Any calls to restart Debug Tool are ignored. By default, when running under CICS®, a pseudo-conversational application will run until the end of the conversation (until EXEC CICS RETURN without TRANSID is issued to return to CICS).
TASK
TASK applies to CICS pseudo-conversational applications. If you specify TASK, Debug Tool processing will be terminated until the end of the current CICS pseudo-conversational task (EXEC CICS RETURN TRANSID). When a new task is started in the pseudo-conversation, Debug Tool debugging will resume.

Usage notes

Examples

Refer to the following topics for more information related to the material discussed in this topic.