Spooler Plus Utilities Reference Manual
Spoolcom
Spooler Plus Utilities Reference Manual—522294-002
3-65
LIST Command
6. You can use /OUT $S.#device/ to print all or only a few pages of an already
spooled file. The following example prints page 1 and pages 16 through 20 of the
job. Because the destination is a spooler collector, formatting-control information is
included by default, so the C parameter is unnecessary. (You would use the N
parameter to omit formatting-control information.)
)LIST /OUT $S.#LP/ 1, 16/20
7. The following command lists the entire job to the disk file $DISK.SVOL.MYFILE,
which is an EDIT file. If $DISK.SVOL.MYFILE already exists, ! specifies that
Spoolcom should purge it and create a new EDIT file with the same name before
listing begins.
)LIST E /OUT $DISK.SVOL.MYFILE !/ A
8. The following command lists pages 1 through 20 of the current job to a spooler job
file named $OLDVOL.SAVE.MYJOB. Because the ! parameter is omitted,
Spoolcom appends the listed pages to the end of $OLDVOL.SAVE.MYJOB if that
file already exists.
)LIST S /OUT $OLDVOL.SAVE.MYJOB/ 1/20
9. You can use Spoolcom to check a spooled TFORM file for errors before you use
/OUT $S.#device/ to print the pages you want. If you find unacceptable errors,
you can rerun the job before printing out any pages. If there are no errors, you can
use the following commands to print pages 16 through 19. Because the file is a
TFORM file, you must specify the C parameter to retain the formatting-control
information.
)FIND “**ERROR”
)LIST /OUT $S.#LP/ 16/19 C
10. You can use Spoolcom to compress data for more efficient archiving. The
following command stores the contents of a spooler job (file code 129) into a
spooler job file. It compresses ASCII characters into 5 bits instead of 8. The A
specifies all pages and the C causes these pages to retain formatting-control
information. The file created can be read later using Spoolcom or any program
that uses PRINTREAD.
)LIST C /OUT $DISK.SVOL.ARCH01/ AC
To print the archived spooler job file, use the Spoolcom JOB command to specify
the file name. Then use the Spoolcom LIST command to list the file to a printer.
You must specify the pages you want to print, as shown in the following
commands. If you do not specify the pages you want, only the last page is printed
(see Example 3).
)JOB SVOL.ARCH01
)LIST /OUT $S.#PRNT3/ 1/27