HP 3000 Manuals

LOG [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation


HP Transact Reference Manual

LOG 

Allows you to log the TRANDEBUG commands to an MPE/iX file.

Syntax 

    [filename]
LOG [ON      ]
    [OFF     ]
    [CLOSE   ]
Parameters 

filename         The file to which the TRANDEBUG commands are logged.  If
                 this file already exists, it is purged automatically
                 when this command executes.  After the file is opened,
                 an implicit 'LOG ON' command is executed to initiate
                 logging to this file.

ON               Activates logging for the currently-open log file.

OFF              Deactivates logging for the currently-open log file.

CLOSE            Saves the current log file as a permanent MPE/iX file.
                 This command is written to the log file as the last
                 command in the log file.

Discussion 

This command allows you to log TRANDEBUG commands to an MPE/iX file.  The
corresponding USE command can be executed to read commands from a log
file.  If parameters are omitted, the current log file name is displayed
along with its status (ON/OFF).

Example 

The following example shows a typical command sequence using the LOG
commands.

     TRANDEBUG> LOG logfile1 
     TRANDEBUG> break set 24,,,,{DISPLAY MATCH;STEP} 

                  BREAKPOINT SET:

                      SYSTEM  SEGMENT   OFFSET   COUNT          COMMAND LIST
                      ------------------------------------------------------
                  1. TEST          0       24       1  DISPLAY MATCH;STEP
     TRANDEBUG> break set 28,1 

                  BREAKPOINT SET:

                      SYSTEM  SEGMENT   OFFSET   COUNT          COMMAND LIST
                      ------------------------------------------------------
                  2. TEST          1       28       1

     TRANDEBUG> break list 

         CURRENT BREAKPOINTS:

           SYSTEM  SEGMENT   OFFSET   COUNT          COMMAND LIST
           ------------------------------------------------------
       1. TEST          0       24       1  DISPLAY MATCH;STEP
       2. TEST          1       28       1

     TRANDEBUG> LOG CLOSE 
     TRANDEBUG> :print logfile1 
     break set 24,,,,{DISPLAY MATCH;STEP}
     break set 28,1
     break list
     LOG CLOSE



MPE/iX 5.0 Documentation