Description
This document will demonstrate how to run the View 11.0 SARPAC function when the tapes being compacted reach the end of the tape sequence numbering and roll over back to 0001.
Solution
If the View tape sequence numbers (....SARTAPE.T00nnnnn) have rolled over and back to 00001, and there is a need to run SARPAC (using the TAPESEQ= option), JCL streams similar to the below should be used:
//SARPACJ1 JOB ... //SARPAC EXEC PGM=SARPAC,... ... //SYSIN DD * TAPESEQ=65534-65535 /* // //SARPACJ2 JOB ... //SARPAC EXEC PGM=SARPAC,... ... //SYSIN DD * TAPESEQ=1-2 /* //
=======================================================================
Note: The upper range is addressed separate from the lower range because the second number in the tape sequence range can never be less than the first number, or else SARPAC will reverse the numbers and start processing with the lower number first.
If a standard SARPAC is being run, where no TAPESEQ= cards are used, the request for tapes would take place whereas ....SARTAPE.T0065535 would be directly followed by ....SARTAPE.T0000001.