HP 3000 Manuals

LOG [ IMAGE/SQL Administration Guide ] MPE/iX 5.0 Documentation


IMAGE/SQL Administration Guide

LOG 

Turns IMAGE/SQL command logging on or off.

Syntax 

L[OG] {ON }
      {OFF}
Parameters 

ON   turns command logging on.  This is the default.

OFF  turns command logging off.

Prerequisites 

None.

Description 

Use the LOG command to turn IMAGE/SQL utility command logging on or off.
When logging is on, all commands entered are logged to the ATCLOG file.

When the IMAGE/SQL utility is run, logging is initially on.  The
temporary file ATCLOG is created (if it does not already exist) and
opened in the user's logon group and account.  A file equation may be set
for this file (:FILE ATCLOG=LOG1).  If you want to save the temporary
file, either save the file before ending your current MPE/iX session or
specify ;SAVE as a part of a file equation.  If the log file already
exists, log records are appended to it.

To see the current logging status, use the DISPLAY OPTIONS command.

When you issue an MPE/iX command from within IMAGE/SQL, the command is
written to the log file and the log file is closed.  This means that you
can save this file, edit this file, or set a file equation for this file
from within IMAGE/SQL. Refer to Chapter 2, "Logging IMAGE/SQL Utility
Commands:  Task 13," for more information.  The log file is reopened
after the execution of the MPE/iX command.

Example 

In the following example, logging is initially on.  The LOG OFF command
is then issued.  The DISPLAY OPTIONS command then confirms that logging
is off.
_______________________________________________
|                                             |
|     >>DISPLAY OPTIONS                       |
|     Current TurboDB     : SALES.SERED.ATC   |
|     Current SQLDBE      : PARTSDBE.SERED.ATC|
|     Echo                : ON                |
|     Command Logging     : ON                |
|     Current Log File    : ATCLOG.SERED.ATC  |
|     >>LOG OFF                               |
|     >>DISPLAY OPTIONS                       |
|     Current TurboDB     : SALES.SERED.ATC   |
|     Current SQLDBE      : PARTSDBE.SERED.ATC|
|     Echo                : ON                |
|     Command Logging     : OFF               |
|     >>                                      |
|                                             |
_______________________________________________

            



MPE/iX 5.0 Documentation