HP 3000 Manuals

LOG [ ALLBASE/Turbo CONNECT Administrator's Guide ] MPE/iX 5.0 Documentation


ALLBASE/Turbo CONNECT Administrator's Guide

LOG 

Turns Turbo CONNECT command logging on or off.

Syntax 

      {ON }
L[OG] {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 ATCUtil command logging on or off.  When
logging is on, all commands entered are logged to the ATCLOG file.

When ATCUtil 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 XL 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 XL command from within Turbo CONNECT, 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 Turbo CONNECT. Refer to chapter 2, "Logging and
Reissuing Turbo CONNECT commands:  Task 12," for more information.  The
log file is reopened after the execution of the MPE XL 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