How is a SARPAC Run, with the TAPESEQ= Option, when the View Tape Sequence Number has Rolled Over and Back to 0001?
search cancel

How is a SARPAC Run, with the TAPESEQ= Option, when the View Tape Sequence Number has Rolled Over and Back to 0001?

book

Article ID: 53925

calendar_today

Updated On:

Products

Output Management Document Viewer Deliver View Output Management Web Viewer

Issue/Introduction

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.

Environment

Release:
Component: VIEW