Viewing Spool Files [ Native Mode Spooler Reference Manual ] MPE/iX 5.0 Documentation
Native Mode Spooler Reference Manual
Viewing Spool Files
Generally speaking, most people in your company see spool files after
they have been printed; however, you may use EDIT/3000 to view the
contents of a spool file that is still on your system.
Viewing spool files with EDIT/3000
One way to look at the contents of your output spool file is to use a
text editor. For example, suppose that you created a spooled output file
and you are using EDIT/3000.
If you use EDITOR (EDIT/3000) to examine or edit your spool file, EDITOR
may give you this warning:
***WARNING*** RECORD SIZE TRUNCATED TO 255 BYTES
You may ignore this warning, unless the largest record in your spool file
is greater than 255.
By default, EDIT/3000 displays only the first 72 characters in a record.
In order to view longer lines, do this: start EDIT/3000, set internal
values for the editor, and then text in your spool file.
editor
set variable
set length=NN
set right=NN
text filename
where NN is the length of the longest record (<= 255) in the file and
filename is the name of the file you wish to edit.
The command set variable instructs EDIT/3000 to accept long lines of
text. The commands set length= and set right= instruct EDIT/3000 to
recognize the record length of your spool file as "normal."
To view the entire spool file, enter this EDITOR command:
l all
EDITOR's l all command lists the entire contents of the file you loaded
with text.
If you use EDITOR to modify the file, you cannot save the modified file
with its original name (in OUT.HPSPOOL). You may, however, save it in
your local file space (your logon group and account).
NOTE The file you save in your local file space becomes unlinked and is
no longer a spool file. The original spool file (in OUT.HPSPOOL)
remains intact and unaffected, however.
You cannot view output spool files with certain editors because they have
restricted file codes or record types. You cannot view input spool files
with any editor. EDIT/3000 works well with output spool files. You have
to experiment with your favorite editor.
MPE/iX 5.0 Documentation