Software AG Products 2.4.1 | Reference Guide | Programming Considerations | Debugging Aids
 
Debugging Aids
In addition to the response code analysis and the EXCLUSIVE/ET mode conversion, Adabas Pre-Compiler provides three more debug aids.
These debug aids are invoked with the @MODE command that must be placed before the first declaration statement.
NO UPDATE Facility
The NO UPDATE facility prevents physical updating so no modifications of the database occur. However, the user may print the contents of the updated fields from the record buffer with the @TRACE option.
FLOW Option
The FLOW option prints the Adabas Pre-Compiler commands at execution time. The user gets a list of the commands that were executed and can identify internal loops.
TRACE Option
The TRACE option prints the contents of all Adabas buffers after every Adabas call. The user may trace parts of the program by issuing the @TRACE ON and OFF command. The content of the buffers is printed in hexadecimal form and in character form. The list also includes the full Adabas Pre-Compiler source line that generated the Adabas call.
The print is written on a new file and the DDNAME is TESTDUMP (for DOS users the file is called SYSO13).