Debugging a CA ADS Dialog
To debug dialogs, you can use the CA ADS trace facility and the CA IDMS online debugger.
Prerequisite for Debugging
To use either the trace facility or the online debugger to debug a dialog, you must first compile the dialog with a symbol table. A symbol table contains information such as data field names and process command line numbers that enable the trace facility and the online debugger to execute.
How to Create a Symbol Table
When defining the dialog using the dialog compiler, invoke the Options and Directives screen and enter a nonblank character next to the
Symbol table is enabledprompt, as shown below:
Options and Directives Dialog JPKTD10 Version 1 Type and select each option and directive. Then Enter. Message prefix . . . . . . . . . . . DC Autostatus record . . . . . . . . . . ADSO-STAT-DEF-REC Version . . . . . . . . . . . . . . . 1 Options and directives . . . . . . _ Mainline dialog x Symbol table is enabled / Diagnostic table is enabled / Entry point is premap _ COBOL moves are enabled / Activity logging / Retrieval locks are kept / Autostatus is enabled Enter F1=Help F3=Exit F4=Prev F5=Next
In ADSOBCOM, use the symbol table option of the DIALOG expression.
Compile the dialog. When the dialog successfully compiles, a load module with interpretable CMEs is created.