LOG [ Volume Management ] MPE/iX 5.0 Documentation
Volume Management
LOG
The LOG command allows the user to save in a file the dialog between the
user and VOLUTIL that is displayed on the screen.
Task
Saves screen input and output to a file.
Capability
No special capability required.
Syntax
LOG [FILENAME=]filename
Parameters
filename Any valid file that has read and write access. If
the file does not exist, it is created. Required.
Example
This example shows how to enable logging.
1. Use the LOG command to start logging all input and output to the
file, logfilea.
2. Use the SHOWSET command to display all volumes in the set.
_____________________________________________
| |
| |
| volutil: LOG logfilea |
| |
| volutil: SHOWSET BSET VOLUMES |
| |
| Volume name: Index: |
| ----------- ----- |
| BVOL1 1 |
| BVOL2 2 |
| BVOL3 3 |
| BVOL4 4 |
| BVOL5 5 |
| BVOL6 6 |
| |
_____________________________________________
3. Use the LOG $STDLIST command to disable logging and close the log
file.
4. You can now display the contents of logfilea by using the system
PRINT command. If you log to the same file again, you will
overwrite its contents.
_______________________________________
| |
| |
| volutil: LOG $STDLIST |
| |
| volutil: :PRINT logfilea |
| |
_______________________________________
MPE/iX 5.0 Documentation