Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How do I exclude 1 volume of a 134 volume Tape Dataset??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Paul Reynolds

New User


Joined: 27 Feb 2008
Posts: 3
Location: Ireland

PostPosted: Thu Feb 28, 2008 6:36 am    Post subject: How do I exclude 1 volume of a 134 volume Tape Dataset??
Reply with quote

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
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Feb 28, 2008 6:41 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Feb 28, 2008 7:27 am    Post subject:
Reply with quote

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
View user's profile Send private message
Paul Reynolds

New User


Joined: 27 Feb 2008
Posts: 3
Location: Ireland

PostPosted: Thu Feb 28, 2008 4:05 pm    Post subject: Reply to: How do I exclude 1 volume of a 134 volume Tape Dat
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Feb 28, 2008 9:15 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Paul Reynolds

New User


Joined: 27 Feb 2008
Posts: 3
Location: Ireland

PostPosted: Thu Feb 28, 2008 9:25 pm    Post subject:
Reply with quote

Thanks, will do that.

Paul.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8614
Location: Back in jolly old England

PostPosted: Thu Feb 28, 2008 9:34 pm    Post subject:
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Feb 28, 2008 9:51 pm    Post subject: Re: Reply to: How do I exclude 1 volume of a 134 volume Tape
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Feb 29, 2008 3:43 am    Post subject:
Reply with quote

Hi Expat,
this is what you are unable to recall icon_smile.gif

Code:
//            VOL=(,,3) 


if you want to start from 3rd volume ie. the volume sequence number


Gerry
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8614
Location: Back in jolly old England

PostPosted: Fri Feb 29, 2008 12:43 pm    Post subject:
Reply with quote

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 icon_eek.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISMF Difference between volume count ... upendrasri IBM Tools 2 Tue Dec 05, 2017 12:40 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us