USE
The USE command processes VOLUTIL commands from a file of ASCII
characters. The USE commands may be nested. File equations and
backreferences are allowed.
Task
Processes VOLUTIL commands in an ASCII command file.
Capability
No special capability required.
Syntax
USE [FILENAME=]filename
Parameters
filename Any valid file for which you have READ access.
Required.
Example
This example shows how to process VOLUTIL commands from a file.
1. Use an editor to create an ASCII file that contains VOLUTIL
commands. Name the ASCII file SHOWIT.
_____________________________________________________________
| |
| |
| :EDITOR |
| HP32201A.07.17 EDIT/3000 MON, DEC 7, 1987, 3:00 PM |
| d(C) HEWLETT-PACKARD CO. 1985 |
| / A |
| 1 SHOWSET MPEXL_SYSTEM_VOLUME_SET CLASSES |
| 2 SHOWSET MPEXL_SYSTEM_VOLUME_SET VOLUMES |
| 3 SHOWSET MPEXL_SYSTEM_VOLUME_SET LABELS |
| 4 // |
| / K SHOWIT |
| / E |
| |
| END OF SUBSYSTEM |
| |
_____________________________________________________________
2. Now that you have created the ASCII file showit, run VOLUTIL.
3. Use the PRINT command to examine your file. Do not forget the
colon in front of the PRINT command, because it is a system
command.
_______________________________________________________________
| |
| |
| :VOLUTIL |
| |
| Volume Utility A.00.00, (C) Hewlett-Packard Co., 1987. |
| |
| volutil: :PRINT SHOWIT |
| |
| SHOWSET MPEXL_SYSTEM_VOLUME_SET CLASSES |
| SHOWSET MPEXL_SYSTEM_VOLUME_SET VOLUMES |
| SHOWSET MPEXL_SYSTEM_VOLUME_SET LABELS |
| |
_______________________________________________________________
4. Now enter the USE command to process the file. All the commands
in the file will execute.
_________________________________________________________
| |
| |
| volutil: USE SHOWIT |
| volutil: SHOWSET MPEXL_SYSTEM_VOLUME_SET CLASSES |
| |
| Volume-class name: Index: |
| ----------------- ----- |
| |
| DISC 1 |
| |
| volutil: SHOWSET MPEXL_SYSTEM_VOLUME_SET VOLUMES |
| |
| Volume name: Index: |
| ----------- ----- |
| |
| MEMBER1 1 |
| MEMBER2 2 |
| *MEMBER3 3 |
| *MEMBER4 4 |
| |
_________________________________________________________
__________________________________________________________________________________
| |
| |
| volutil: SHOWSET MPEXL_SYSTEM_VOLUME_SET LABELS |
| |
| Volume name: MPEXL_SYSTEM_VOLUME_SET:MEMBER1 |
| Initialization date: TUE, OCT 13, 1987, 10:18 AM Volume type: 0 |
| Member number: 1 Number in set: 2 |
| Label Table Address: $00000570 MVT Address: $00063F33 |
| Free Space Map Address: $000000E0 Cold Load ID: $0000000D |
| Logical Volume ID: $05570001 478A4AF5 Physical Volume ID: $05570001 478A |
| |
| Volume name: MPEXL_SYSTEM_VOLUME_SET:MEMBER2 |
| Initialization date: TUE, OCT 13, 1987, 10:18 AM Volume type: 0 |
| Member number: 1 Number in set: 1 |
| Label Table Address: $00000500 MVT Address: $00063F33 |
| Free Space Map Address: $00000070 Cold Load ID: $00000001 |
| Logical Volume ID: $05570002 478A4AF5 Physical Volume ID: $05570001 478A |
| |
| Volume name: MPEXL_SYSTEM_VOLUME_SET:MEMBER3 |
| Warning: Volume not available. |
| |
| Volume name: MPEXL_SYSTEM_VOLUME_SET:MEMBER4 |
| Warning: Volume not available. |
| |
| volutil: :EOD |
| volutil: EXIT |
| |
| : |
| |
__________________________________________________________________________________