DATA LOG [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation
HP Transact Reference Manual
DATA LOG
Allows logging of TRANDEBUG commands and output to a file.
Syntax
[filename]
{DATA LOG} [ON ]
{DL } [OFF ]
[CLOSE ]
Parameters
filename The filename to which the TRANDEBUG commands and output
are logged. After the file is opened, an implicit 'DATA
LOG ON' command executes to begin logging to this file.
ON Activates logging for the currently open data log file.
OFF Deactivates logging for the currently open data log
file.
CLOSE Saves the current data log file as a permanent MPE file.
This parameter is also the last command written to the
data log file.
Discussion
This command allows you to log TRANDEBUG commands and output to a file,
then review the output at another time. If you issue this command
without specifying parameters, the current data log file name and its
status (ON/OFF) are displayed. If the log file already exists, it is
purged prior to logging.
Example
The following example uses the DATA LOG command.
TRANDEBUG> DATA 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 LIST
CURRENT BREAKPOINTS:
SYSTEM SEGMENT OFFSET COUNT COMMAND LIST
------------------------------------------------------
1. TEST 0 24 1 DISPLAY MATCH;STEP
TRANDEBUG> DATA LOG CLOSE
TRANDEBUG> :print 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 LIST
CURRENT BREAKPOINTS:
SYSTEM SEGMENT OFFSET COUNT COMMAND LIST
------------------------------------------------------
1. TEST 0 24 1 DISPLAY MATCH;STEP
TRANDEBUG> DATA LOG OFF
TRANDEBUG> DATA LOG CLOSE
MPE/iX 5.0 Documentation