End Debug Mode (ENDDBG)
Where allowed to run: All environments (*ALL)
Threadsafe: NoParameters
Examples
Error messagesThe End Debug (ENDDBG) command ends debug mode for a job, removes all breakpoints and traces, clears any trace data, and removes all programs from debug mode. This command cannot be entered when one or more of the programs in the call stack are stopped at a breakpoint. All breakpoints must be canceled by Resume Breakpoint (RSMBKP) or End Request (ENDRQS) commands. After this command has been entered, all database files in production libraries can be updated normally.
If ENDDBG is not done before the job has ended, all trace data is printed.
Restriction: This command is valid only in debug mode. To start debug mode, refer to the STRDBG (Start Debug) command.
If you are servicing another job and you are operating in debug mode, this command must be specified before you can use the End Service Job (ENDSRVJOB) command.
There are no parameters for this command.
Top
Parameters
None
Top
Examples
ENDDBGAssuming that this command is entered interactively and no program in the call stack is stopped at a breakpoint, debug mode for the job is ended.
Top
Error messages
*ESCAPE Messages
- CPF1931
- Command not valid at this time.
- CPF1999
- Errors occurred on command.
Top