


The screen trace feature enables you to save information about DISPLAYs of screen section items and CREATEs, DISPLAYs, MODIFYs, and INQUIREs of ActiveX objects. You can use screen trace even if the program was compiled without the debugging option.
To perform a screen trace, type:
runcbl -dle errfile myprog
Because you specified "-d" (for debugger) on your command line, you will be at the debugger screen after you press <return>.
To turn on screen tracing, type:
ts
"SCREEN TRACE ON" is echoed on the screen.
Now type:
g
You will now be running your program normally. Proceed until you encounter the error condition, and then exit. Your error file will contain the error information, all COBOL configuration file variables that you have set, and a record of every file operation.
This can be especially helpful as you assess the cause of the problem.