Using the Debugger

Then, when you execute the program, specify -d to turn on the debugger. For example:

runcbl -dle errfile myprog 

Where:

-d turns on the debugger
-l causes the contents of the runtime configuration file to be included in the error output
-e causes the error output to be placed in the file named immediately after the option
errfile is the user-specified name of the error file (Be sure to give a file name if you use the -e option.)
myprog is the name of your object file

Use s to step through the program one step at a time, or use the other options described in Debugger Commands.