HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 System Debug Command Specifications

LOG

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Controls the recording of user input to the logfile.

Syntax

    LOG



    LOG [filename] 



    LOG [ON   ]

    LOG [OFF  ]

    LOG [CLOSE]


All Debug user input can be recorded to the log file. The log file can be used as a playback file.

LOG, entered alone, displays the state of the log file, including the file name, if open, and the current status (ON/OFF).

LOG filename opens the specified file and activates (turns on) the log file. If another log file is already opened, it is first closed (saved) before the new file is opened. This command does an implicit LOG ON

LOG ON and LOG OFF can be used to activate/deactivate-activate the currently opened log file. The file remains open (pending), but Debug input is not recorded if the log file is OFF.

LOG CLOSE closes (saves) the current opened log file. Note that this command is written to the log file. Executing this command without a log file has no effect.

Parameters

filename

The file name for the logfile that is to be opened. If the file already exists, it is automatically purged (without warning), and reopened new. This command performs an implicit LOG ON.

If omitted, the status of the current log file is displayed.

Examples

   %cmdebug > log logfile

Open a new logfile named logfile and start logging to it.

   %cmdebug > log close

Close (and save) the current logfile. Auto-logging is now off.

Limitations, Restrictions

Unless a file equation is used, the list file is opened as the following:

  • CCTL, FIXED, ASCII, 10000 Records, 80 byte record width.

CAUTION: The output format of all System Debug commands is subject to change without notice. Programs that are developed to postprocess System Debug output should not depend on the exact format (spacing, alignment, number of lines, uppercase or lowercase, or spelling) of any System Debug command output.
Feedback to webmaster