View previous topic :: View next topic |
Author |
Message |
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue May 08, 2007 6:31 am Post subject: |
|
|
Thank you Dennis. thats informative.. |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue May 08, 2007 6:38 am Post subject: |
|
|
I like to know how to convert Tape to Mega byte, Below is the dataset that resides on tape. Is there a way to convert this storage details to megabyte?? Any help is greatly appreciated...
Quote: |
Volser= 597543 Dsn= CAKIN.DE11A.SWARS.G0057V00
Volseq= 0001 Acct=HEXZEROES
Expdt= 07135 Flg= (CLO,RDS)
Recfm= VB Lrecl= 2004 Blksize= 32760 Blkcnt= 1114
Label= SL Den= 38KC Trtch= 7-TRACK
Outcode= Outdate= 00000 Slot= 00000
|
|
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue May 08, 2007 7:29 am Post subject: |
|
|
What are you unclear about? You have the blksize specified in bytes and you have have the number of blocks (blkcnt). You know how many bytes in a meagabyte. It is simple arithmetic. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue May 08, 2007 7:46 am Post subject: |
|
|
Thanks for the response Nic, I am new to Tapes..so I am not sure how Blksize and Blkcnt are related to each other.
For eg, if i have Blksize= 32760 Blkcnt= 1114 , then how did u come up with the Megabytes.. |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue May 08, 2007 7:49 am Post subject: |
|
|
a quick calculation with my left hand and my eyes closed:
25899541238744.52574445244 megabytes _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue May 08, 2007 7:49 am Post subject: |
|
|
what did you think blkcnt could be if not the number of blocks? It is, after all, right beside blksize. cnt is a fairly usual abbreviation for count. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12358 Topics: 75 Location: San Jose
|
Posted: Tue May 08, 2007 7:58 am Post subject: |
|
|
Nic/Dbz,
AFAIK you canNOT use the same calculation for tapes as they have different densities and tracks.
I remember seeing an IBM link which specifies bytes/track for tapes based on density.
Kolusu _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Tue May 08, 2007 8:02 am Post subject: |
|
|
I think that the OP was just trying to get the number of bytes / Kb / Mb or whatever, that had been used by the file rather than how much of the tape has been used.
Hells Bells Dick, my test calculation came out with exactly the same result as yours. _________________ If it's true that we are here to help others,
then what exactly are the others here for ? |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue May 08, 2007 8:09 am Post subject: |
|
|
One of us is using the wrong calculator
32760 bytes in a block * 1114 blocks / 1 megabyte (1048576) gives 34.80blahblahblah megabutes
According to the windows calculator as operated by me. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue May 08, 2007 8:12 am Post subject: |
|
|
Thanks a lot guys...it willl be great if you can tell how to calculate..so that I could apply it to other datasets. |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue May 08, 2007 8:18 am Post subject: |
|
|
Kolusu,
thx for ignoring my sarcasm.
expat,
does that mean we are a couple of ding-dongs?
vak255,
you started your post wondering about cylinder to meg conversion. Last question seemed to indicate that you wish to know how to determine the quantitiy of data on tape in terms of megabytes.
In the applications world, we don't care about tapes (other than that they are available and ready for our immediate use. Tape density is a function of type type, tape drive, the utility used to transfer the data from the mainframe to the tape.
We do care about the DASD requirements, and these are expressed in terms of cylinders. We calculate the cylinder requirement based on estimated number of records and record size. megabyte to an application programmer means either the byte-type after kilobytes or the line we have to watch with AMODE/RMODE parms.
If you are an applications programmer, how about you researching your sites hardware and utility's documents and tell us how many megabytes are used.
if you are a systems/operations support type, then - why do you need to know the megabyte size? If the data is packed on the tape, your meganumber is useless. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue May 08, 2007 8:22 am Post subject: |
|
|
number of blocks in the dataset multiplied by number of bytes in a block gives you the number of bytes in the dataset. Divide that by the number of bytes in a megabyte and you get the number of megabytes (or megabutes according to my previous post) _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Tue May 08, 2007 8:43 am Post subject: |
|
|
Quote: | does that mean we are a couple of ding-dongs? |
Well I've been called a few choice things so far in my career, and that is one of the nicest ones
Quote: | (or megabutes according to my previous post) |
I was going to ask.
Getting back to the thread ...........
As Dick has said, tapes are usually something that are there to store data on, and readily available.
Quote: | We do care about the DASD requirements, and these are expressed in terms of cylinders. We calculate the cylinder requirement based on estimated number of records and record size. megabyte to an application programmer means either the byte-type after kilobytes or the line we have to watch with AMODE/RMODE parms. |
It doesn't matter how you calculate or code your space requirements in your JCL, the operating system breaks it all down into one of two things, tracks or cylinders, and then does the actual allocation onto the device.
I suppose that Mbyte allocations has some meaning - but I think that is more aimed at the bean counters who sit there working out the cost to 62 decimal places of how much it is to use the chosen media. _________________ If it's true that we are here to help others,
then what exactly are the others here for ? |
|
Back to top |
|
|
|
|