IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Size of the tape in Mega Bytes


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Gousiya Mulla

New User


Joined: 02 Jun 2008
Posts: 87
Location: Bangalore

PostPosted: Fri Jul 11, 2008 8:50 pm
Reply with quote

Hi ,

I have files unloaded from database and written into Tapes. Now the user wants sizes of the files (Volume details) in Mega Bytes .

Can any one please let me know how can we do this ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Jul 11, 2008 9:46 pm
Reply with quote

Hello,

Talk with your tape management people. They have or can get this information.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Jul 15, 2008 2:48 am
Reply with quote

If you have CA-1, a display of your data set should show you block size and block count. That should give you number of bytes.
Back to top
View user's profile Send private message
Gousiya Mulla

New User


Joined: 02 Jun 2008
Posts: 87
Location: Bangalore

PostPosted: Tue Jul 15, 2008 9:45 pm
Reply with quote

Quote:
Size of the tape in Mega Bytes


Hai Dick and Terry ,

Thanks a lot .. I contacted Storage management for the same and got the sizes in required tapes .


Quote:
If you have CA-1,


Terry ,
Please can provide me more info regding CA-1 ?
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Jul 15, 2008 11:15 pm
Reply with quote

I don't have access to a mainframe, but if your Tape Management System is CA-1, there should be an option on your ISPF menu for your in-house tools. There you should find a CA-1 option. You'll need a password (even for inquiry), then key in your data set name. You'll get a screen that will display, among other things, a block size (number of bytes per block) and a block count. Multiply these 2 fields to get number of bytes on that volume. There will be an indicator if this is a multi-volume file, in which case, add up the block counts for each volume before multiplying by the block size. Also, the last block may not be full, so your file may be less than your calculation. Block size and block count are in the lower third of the screen.
Back to top
View user's profile Send private message
Gousiya Mulla

New User


Joined: 02 Jun 2008
Posts: 87
Location: Bangalore

PostPosted: Wed Jul 16, 2008 2:00 pm
Reply with quote

Hi Terry,

Many Thanks .. I came to know we can get volume details from our end also. But our CA-1 HAS NOW BEEN REPLACED BY RMM. So I have tried through G.R instead of CA-1 .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Deleting a Tape file JCL & VSAM 14
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts Dataset size increase on adding 1 byt... DFSORT/ICETOOL 8
Search our Forums:

Back to Top