Spooler Utilities Reference Manual

Migration Considerations for Pre-D41 Spooler
Versions
Spooler Utilities Reference Manual522295-003
H-3
Migrating Files From a Pre-D41 Product Version of
Spooler
7. Start the spooler:
)SPOOLER,START
8. Use PERUSE and SPOOLCOM to manage jobs still residing in the pre-D41
collector files as well as the jobs being added to the new collector files.
D41 spooler Peruse commands have remained the same and can be run against
jobs resident in old or new format collector files. The D41, D46, and D48
SPOOLCOM JOB qualifier and subcommand can also be used to manage the jobs
in the old collector data file until such time as all jobs have been deleted, archived
or printed; at this time the old data file can be deleted.
a. To change the location of a job using PERUSE:
_J1;LOC #NEW.LOC
b. To move jobs that have a certain LOC from a pre-D41 data file to a new data
file, use SPOOLCOM.
)JOB (DATAFILE $SYSTEM.SPOOLER.OLDDATA,LOC
#JOBB),HOLD,COLLECT $S
)JOB 2 TRANSFERRED SUCCESSFULLY
c. If disk space is an issue, or you do not wish to deal with multiple data files,
move all the jobs at the same time.
9. Once the jobs have been successfully moved to the new data file, you can delete
the old file. The jobs are moved by passing them from the old data file to a collector
that uses a data file created in step 3. The command is similar to this:
)JOB (DATAFILE $SYSTEM.SPOOLER.OLDDATA),HOLD,COLLECT $S
JOB 1 TRANSFERRED SUCCESSFULLY
JOB 2 TRANSFERRED SUCCESSFULLY
JOB 3 TRANSFERRED SUCCESSFULLY
JOB 4 TRANSFERRED SUCCESSFULLY
JOB 5 TRANSFERRED SUCCESSFULLY