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 

how to convert cylinders to megabytes ??
Goto page Previous  1, 2
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue May 08, 2007 6:31 am    Post subject: Reply with quote

Thank you Dennis. thats informative..
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue May 08, 2007 6:38 am    Post subject: Reply with quote

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


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue May 08, 2007 7:29 am    Post subject: Reply with quote

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


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue May 08, 2007 7:46 am    Post subject: Reply with quote

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


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue May 08, 2007 7:49 am    Post subject: Reply with quote

a quick calculation with my left hand and my eyes closed:
25899541238744.52574445244 megabytes
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue May 08, 2007 7:49 am    Post subject: Reply with quote

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


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Tue May 08, 2007 7:58 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Tue May 08, 2007 8:02 am    Post subject: Reply with quote

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


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue May 08, 2007 8:09 am    Post subject: Reply with quote

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


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue May 08, 2007 8:12 am    Post subject: Reply with quote

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


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue May 08, 2007 8:18 am    Post subject: Reply with quote

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


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue May 08, 2007 8:22 am    Post subject: Reply with quote

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


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Tue May 08, 2007 8:43 am    Post subject: Reply with quote

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 Mr. Green

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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