ENDDBG (End Debug)

ENDDBG Command syntax diagram

 

Purpose

The 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 the user is servicing another job while in debug mode, then this command must be specified before the ENDSRVJOB (End Service Job) command is allowed.

There are no parameters for this command.

Example for ENDDBG

ENDDBG

Assuming 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.

Error messages for ENDDBG

*ESCAPE Messages

CPF1931
Command not valid at this time.
CPF1999
Errors occurred on command.