Previous Topic: PF1 HelpNext Topic: The CHANNEL Command


The CALLTRACE Facility

The CALLTRACE facility enables you to view the logic flow of a group of programs. Once the CALLTRACE mode is active view the storage for each program in the same way it is viewed from a breakpoint. Use the CALLTRACE command only if your programs adhere to standard linkage conventions as follows:

In the following example the CALLTRACE was issued while program C370SUB2 was stopped at a breakpoint. The CALLTRACE screen shows how program C370SUB2 received control.

 -------------------  CA InterTest r8.5  Program Call Trace   ----------------- COMMAND ===>                                                                                                                                                                                                                                      ------- Program Call Sequence --------                                          Program   Csect     Return  Language    Call Type                             _ C37LINK   C37LINK   000674  IBM COBOL   Linked to                             _ C37READF  C37READF  0004DA  IBM COBOL   Dyn call                              _ C370SUB1  C370SUB1  0005DC  IBM COBOL   Dyn call                              _ C370SUB2  C370SUB2  0003E4  IBM COBOL   Curr PGM                                *** End of data ***                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           PF1 Help       2            3 End        4 Return     5            6            PF7 Backward   8 Forward    9           10           11           12

Select any program in the list having symbolic data by typing an S to the left of the program name. The source listing display facility runs in a special mode and positions the listing at the point where it transferred control.

Once the source listing display is in calltrace mode, display program variables the same way as they are for the currently breakpointed program.

For IBM CICS Transaction Server, also display the active channels and containers for any program level by entering a c next to any program and pressing Enter.