HPlogo Using NS 3000/iX Network Services: HP 3000 MPE/iX Computer Systems > Chapter 8 NetCI

LOG

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Redirects the output of a process or operation to a log file.

Syntax

LOG file

Parameters

file

Name of the file where output is to be stored. This file name is one of the following fully qualified file names:

  • file

  • file.group.account

  • file reference (allows you to back reference a :FILE command, to reference a previously defined file, or to reference a device such as a printer)

Discussion

If the specified log file does not exist, the file will be created except for a back-referenced file which must exist or be defined already.

If the specified log file exists, the new data will append to the end of the existing file.

If the specified log file is full, a warning message will display. The default size of the log file is 1024 records. If you will need a log file with a bigger record size, use the BUILD command to create a bigger file.

If you are in the MPE mode, a special slash (/) character must precede the LOG command since NetCI assumes only MPE commands are executed in this mode.

Example

This example redirects all output to the file called FILE1.

     NetCI>LOG FILE1
.
.
Feedback to webmaster