CL Command Reference - CHGDBG

CL Command List > CHGDBG Reference

Description:

The Change Debug (CHGDBG) command changes the attributes of the debugging session currently in effect for a job. All of the attributes can be changed, except which programs to debug. Use the Add Program (ADDPGM) command or the Remove Program (RMVPGM) commands to add or remove a program from debug mode.

Restrictions:

. This command is valid only in debug mode. To start debug mode, see the STRDBG (Start Debug) command.

. If the current job is servicing another job, and that job is ending, this command is not allowed.


Examples:

CHGDBG MAXTRC(400) TRCFULL(*STOPTRC)

This command changes the maximum number of trace statements that can be put in the trace file to 400. The tracing is stopped when the file is full.