MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Question about a bad tape in a 29 volume tape dsn

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Mike Nitz
Beginner


Joined: 09 Jun 2005
Posts: 19
Topics: 12
Location: Kansas City, MO

PostPosted: Thu Jul 10, 2008 10:28 am    Post subject: Question about a bad tape in a 29 volume tape dsn Reply with quote

I hope this is the right forum, if not please direct me to where this should be placed. I have a SMF monthly dsn that gets modded to every day, well I'm trying to run the SCRTTOOL report for IBM & the 20th volume of the dsn is bad, the tape cannot be read. How can I gener or whatever the the dsn to bypass the bad volume?? Any help will be GREATLY appreciated!
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Jul 10, 2008 10:43 am    Post subject: Reply with quote

What are the DCBs? I hope the records are not still in spanned format (RECFM=VBS)?

If not spanned, you can copy the file coding all volume serial numbers except the 20th and use the new output file. If you get an error about volumes out of sequence, you may need to copy in two steps (1 thru 19 then 21 thru end) and MOD onto the output. You can use the VOL=(,,21) parameter to start processing on the 21st volume.

If still spanned format, the last block on volume 19 might have had a record continuing onto volume 20. This will probably give logical data errors when you drop volume 20.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Mike Nitz
Beginner


Joined: 09 Jun 2005
Posts: 19
Topics: 12
Location: Kansas City, MO

PostPosted: Thu Jul 10, 2008 11:06 am    Post subject: Reply with quote

They are spanned records. I did some digging through DFSORT's customization manual & it says that you can override the SPANINC parm with the following code:

Code:

//DFSPARM  DD  *
   OPTION SPANINC=RC0
/*


I'm trying this now & will update with results.
Back to top
View user's profile Send private message
Mike Nitz
Beginner


Joined: 09 Jun 2005
Posts: 19
Topics: 12
Location: Kansas City, MO

PostPosted: Thu Jul 10, 2008 2:15 pm    Post subject: Reply with quote

Setting the SPANINC=RC0 worked. Output from the job is below:

ICE197I 0 ONE OR MORE INCOMPLETE SPANNED RECORDS DETECTED AND ELIMINATED - RC=0
ICE055I 0 INSERT 0, DELETE 0
ICE054I 0 RECORDS - IN: 98124085, OUT: 98124085

Although I can't figure out how we can have the same record count for in & out & have spanned record(s) deleted.
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Thu Jul 10, 2008 2:33 pm    Post subject: Reply with quote

Quote:
I can't figure out how we can have the same record count for in & out & have spanned record(s) deleted.


DFSORT's SPANINC=RC0 option eliminates incomplete spanned record segments from the input data set. Basically it skips over any segments that don't comprise a complete record. The IN count only reflects full (good) records, not incomplete segments. So the OUT count (of the good records) is equal to the IN count (of the good records). Including the bad segments in the IN count would be problematical since they are NOT complete records. For example, DFSORT might eliminate a first and middle segment that doesn't have a last segment - it wouldn't make sense to count the first and middle segment as input records.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group