The CA ADS Batch trace facility is a debugging aid that traces the flow of control and commands executed in an application at runtime.
Steps in the Trace Facility
To use the trace facility, perform the following steps:
Additionally, detailed information is provided on database commands and on database currency saves and restores.
Syntax for the TRACE statement is provided under Runtime Control Parameters.
The trace facility writes trace records to the log file as DEBUG records. You can print the records by using the CA ADS Batch print log utility, as discussed in CA ADS Batch Print Log Utility. Alternatively, you can send all log file output directly to the printer at runtime.
Sample Output
Sample output from a trace facility run is shown in the report below. The output columns are as follows:
Note: A line that documents the beginning of a dialog has the following literal in the process name field:
******** DIALOG-ENTRY ********
Note: A line that documents the beginning of a dialog, the beginning of a process, or a process command that is not within a subroutine has the following literal in the subroutine name field:
**MAIN**
Note: For more information about ADSORPTS, see the CA ADS Reference Guide. The line that documents the beginning of a dialog, process, or subroutine has 00000000 in this field.
Note: A line that documents the beginning of a dialog, process, or subroutine has the literal ENTRY in this field.
Note: For more information about ADSORPTS, see the CA ADS Reference Guide.
The process being traced in the sample trace facility report does not include database commands or database currency saves and restores. However, if a process did and if tracing were being performed at the command execution level, the report would include detailed information about these database functions.
If the module is an included module, the included module name appears in the report after the last column.
00000001 REPTEDIT ******** DIALOG-ENTRY ******** **MAIN** 00000000 ENTRY... 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . **MAIN** 00000000 ENTRY... 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . **MAIN** 00000100 IF . 0004F8 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . **MAIN** 00000300 DC ACC . 000524 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . **MAIN** 00000400 MOVE . 000538 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . **MAIN** 00000500 CALL . 000574 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CVRTDATE 00000000 ENTRY... 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CVRTDATE 00013700 MOVE . 0019DC 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CVRTDATE 00013800 MOVE . 001A94 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CVRTDATE 00000000 MOVE . 001B4C 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CVRTDATE 00000000 GOBACK . 001C04 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . **MAIN** 00000600 MOVE . 00058C 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . **MAIN** 00000700 CALL . 0005C8 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00000000 ENTRY... 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010000 MOVE . 0013C0 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010100 ADD . 0013FC 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010200 MOVE . 001450 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010300 MOVE . 00148C 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010400 MOVE . 0014C8 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010500 MOVE . 001504 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010600 CALL . 001540 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00000000 ENTRY... 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00012400 MOVE . 001774 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00012500 COMPUTE. 001818 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00012600 MOVE . 00189C 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00012700 MOVE . 0018D8 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00012800 GOBACK . 0019C4 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010700 MOVE . 001558 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010800 LINK . 001594 00000001 HDRLINE. ******** DIALOG-ENTRY ******** **MAIN** 00000000 ENTRY... 00000001 HDRLINE. JEB-HEADER-WRITE . **MAIN** 00000000 ENTRY... 00000001 HDRLINE. JEB-HEADER-WRITE . **MAIN** 00000100 ADD . 0003A0 00000001 HDRLINE. JEB-HEADER-WRITE . **MAIN** 00000200 WRT TRAN 0003F4 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . **MAIN** 00000000 ENTRY... 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00010900 MOVE . 0015A4 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00011000 MOVE . 0015E0 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00011100 MOVE . 00161C 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . PAGHDR . 00011200 CALL . 001658 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00000000 ENTRY... 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00012400 MOVE . 001774 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00012500 COMPUTE. 001818 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00012600 MOVE . 00189C 00000001 REPTEDIT JEB-EMPL-REPT-EDIT . CENTJUST 00012700 MOVE . 0018D8
|
Copyright © 2013 CA.
All rights reserved.
|
|