HP 3000 Manuals

DISPLAY PERFORMS [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation


HP Transact Reference Manual

DISPLAY PERFORMS 

Displays the current PERFORM stack.

Syntax 

{DISPLAY PERFORMS} [ALL]
{DP              }
Parameters 

ALL              This parameter displays the PERFORM stack from the
                 beginning of the main program to the current system.
                 This allows you to observe the execution flow from one
                 system to the next.

Discussion 

This command traces the perform stack from the current position in the
program to the beginning of the perform stack.  The command is useful
when determining the flow of control within a Transact/iX program.  By
specifying the ALL option, PERFORM stack information can also be obtained
for a system from which the current system was called.

Example 

The following example shows a PERFORM stack trace.

     TRANDEBUG> DISPLAY PERFORMS 

      SYSTEM NAME: MYPROG         SEGMENT   OFFSET
     ---------------------------------------------
      CURRENT POSITION==>             0         54
                                      0         30
                                      0         10
                                      1         78
      END OF PERFORM STACK

     TRANDEBUG> DISPLAY PERFORMS ALL 

      SYSTEM NAME:  CHILD1         SEGMENT    OFFSET
     -----------------------------------------------
      CURRENT POSITION==>              0          54
                                       0          30
                                       0          10
                                       1          78
     -----------------------------------------------
      CALLED FROM: PARENT              1          35
                                       1          17
                                       1         123
                                       1          80
     ------------------------------------------------
     END OF PERFORM STACK



MPE/iX 5.0 Documentation