SP-TAPEOUT- Transferring Print Jobs from Tape to a Formqueue
Reads a specified number of print jobs from tape and re-queues them to the current Spooler assignment.
Syntax
SP-TAPEOUT (n
Syntax Elements
n is the specified number of print jobs to transfer.
Procedure
Caution
Multi-reel operation is not recommended when using this command, as data corruption will occur when an EOF mark coincides with an EOT marker.
To use SP-TAPEOUT, carry out the following procedure:
Note
For a description of the tape handling commands, refer to Tape Operation and Commands.
- Make sure the write ring is removed from the tape reel containing the print jobs to be transferred.
- Load the tape onto the tape unit and set to 'on-line'.
-
Enter
ASSIGN =TAPE unit.no SIZE=1000 LABEL=0
to attach the tape unit.Note
Block size 1000 is the despooler default for output to tape. This can be changed by updating the associated formqueue definition using SSM.
- Position the tape just before the print job(s) you
want to transfer. You can use
T-FWD or SPACE to move the tape forward to the appropriate point. -
Ensure the current Spooler assignment is correct. If necessary, carry out an
SP-ASSIGN . For example,SP-ASSIGN =TAPE.JOBS
This assigns TAPE.JOBS to receive print jobs from tape.
-
Now execute SP-TAPEOUT. For example, enter:
:SP-TAPEOUT (3
This takes the next three print jobs and transfers them to the currently assigned formqueue, TAPE.JOBS.
- Rewind the tape after the jobs have been transferred using the
T-REW command. - Remove the tape from the tape unit.
- Detach the tape unit using the
T-DET orCLEAR-ASSIGN command.