Viewing Spoolfiles - the PRINTSPF Utility [ Introduction to MPE XL for MPE V System Administrators ] MPE/iX 5.0 Documentation
Introduction to MPE XL for MPE V System Administrators
Viewing Spoolfiles - the PRINTSPF Utility
All output spoolfiles are initially created in the OUT group of the
HPSPOOL account and input spoolfiles in the IN group of that account.
Consequently, you may use any standard text editor to view the contents
of a spoolfile. However, to see the control characters of a spoolfile
you must use the PRINTSPF utility. You may wish to view control
characters when you are debugging a problem or communicating with a
Hewlett-Packard support representative.
The general form of the PRINTSPF utility is:
PRINTSPF "[FILE=] filename
[;START= startrec]
[;END= endrec]
[;WIDTH= linewidth]
[;NUM]"
NOTE If you use more than only the spoolfile name, parametric data
following the word PRINTSPF must be enclosed in quotes as in the
examples.
To examine an entire output spoolfile at your terminal screen enter:
PRINTSPF O357.OUT.HPSPOOL
To examine at your terminal screen the first twenty records of a
spoolfile enter:
PRINTSPF "O357.OUT.HPSPOOL;END=20"
To examine at your terminal screen the last 15 records of a spoolfile
enter:
PRINTSPF "O357.OUT.HPSPOOL;START=-15"
To examine records 40 through 50 at your terminal screen enter:
PRINTSPF "O357.OUT.HPSPOOL;START=40;END=50"
NOTE In the above examples it is not required that you qualify the
spoolfile name with the group and account (.OUT.HPSPOOL for output
spoolfiles). However, if you don't, the system searches your logon
group and account prior to searching the IN or OUT group of the
HPSPOOL account for the spoolfile. So if a spoolfile with the same
name exists both places a fully qualified name guarantees you get
the one you want. Also, using a fully qualified spoolfile name is
somewhat more efficient because the system looks for the file in
only the specified group and account.
[REV END]
[REV
BEG]
MPE/iX 5.0 Documentation