View previous topic :: View next topic
|
Author |
Message |
Paul Reynolds
New User
Joined: 27 Feb 2008 Posts: 3 Location: Ireland
|
|
|
|
Hi,
I have a Tape Dataset which consists of 134 physical volumes, one of which is missing or lost - eg Volume N99999. I am comparing this Tape Dataset against 20 others using the Fileaid Utility Program.
However the job abends as a result of the missing volume.
I still need to compare the other 133 volumes to ensure all the records on these are contained on the other 20 Tape Datasets
I realise I could specify all 133 available volumes in the parm VOL=SER=(Vol1,Vol2,.....Vol133) which would be very laborious but I guess I have faith in there actually being a logical method of excluding the missing volume.
Therefore my question is:
- Does anyone know of any way or statement that allows me to exclude just the missing or lost volume in my JCL, rather than specify all 133 available ones? Or even any other workaround??
Any help would be much appreciated. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Normally, we wait a small period to see if any replies show up from our quireies....
CICS Guy wrote: |
Back in my VSE days, I'd just mount a tapemarked volume and respond to the error messages with an 'ignore'......
I'd assume the that can be done with MVS, but I don't know for sure..... |
Is there anything I can add? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I'm not aware of any "command" that would let you "skip a volume", but you might create a "new" empty volume with the same volume serial number and volume sequence number as the missing physical volume.
Once the volume was initialized, i'd create new headers and trailers (physical files 1 and 3) and in the second physical file, write one "dummy" record with the proper dcb info. This may or may not be trivial depending on how tightly controlled your "tape" environment is.
You might talk with your storage management and see if they have a recommendation on how to re-create the missing volume or if they have some alternative. |
|
Back to top |
|
|
Paul Reynolds
New User
Joined: 27 Feb 2008 Posts: 3 Location: Ireland
|
|
|
|
Thanks for the replies guys.
CICS Guy - No the job just abends, there is no message to respond to.
Dick - I have already talked to Storage Management. They didn't suggest your option or any alternative. Good idea but I think I'd be quicker hardcoding the available volumes. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Paul,
Quote: |
I think I'd be quicker hardcoding the available volumes. |
Might be quicker, but i'd suggest running a smaller test with a "missing" volume sequence number (say a test file of 3 volumes) to be sure you won't pass 100+ before hitting an "out of seq" abend. |
|
Back to top |
|
|
Paul Reynolds
New User
Joined: 27 Feb 2008 Posts: 3 Location: Ireland
|
|
|
|
Thanks, will do that.
Paul. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
The only thing I can think of is ............
Copy the dataset to another tape dataset, using DISP=(,CATLG,CATLG) which will keep the accumulated data up until that point, and then do a volume restart ( Can't for the life of me recall the syntax for it ) using DISP=MOD at the next available volume sequence number.
Apart from that, Dicks' dummy volume idea is the next best thing. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Paul Reynolds wrote: |
CICS Guy - No the job just abends, there is no message to respond to. |
Huh?
What is the error message?
What do you do when the missing volume is needed to be mounted? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Expat,
this is what you are unable to recall
if you want to start from 3rd volume ie. the volume sequence number
Gerry |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Thanks Gerry, Saved me a trek to the JCL reference,
Knew it was something like that - but couldn't recall which comma it was
Must have been yet another senior moment |
|
Back to top |
|
|
|