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 

Calculation for determining size of a file size in kb or mb

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


Joined: 15 May 2007
Posts: 2
Topics: 1

PostPosted: Thu Jan 17, 2008 9:13 pm    Post subject: Calculation for determining size of a file size in kb or mb Reply with quote

Hi,

I need to know how do I find out the size of a flat file in kb or mb in Mainframes.

Long time back I had read a thread from Kolusu showing the calculation based on Lrecl and Blksize but now, when I searched for it I couldnt find it - might be I am using wrong keywords.

Also, would the calculation be similar for a file residing on a single volume and for one spanning across multiple volumes.

Thanks and appreciate any helps on this.

Thanks,
Sam
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Thu Jan 17, 2008 10:40 pm    Post subject: Reply with quote

LRECL * number of records = number of bytes for a fixed record length file.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
sam_2503
Beginner


Joined: 15 May 2007
Posts: 2
Topics: 1

PostPosted: Thu Jan 17, 2008 10:55 pm    Post subject: Reply with quote

Thanks Terry...
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Jan 18, 2008 12:06 pm    Post subject: Reply with quote

sam_2503,

Check this link

http://mvsforums.com/helpboards/viewtopic.php?t=2498&highlight=size

Hope this helps...
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Fri Jan 18, 2008 4:21 pm    Post subject: Reply with quote

Check out dasdcalc at www.centralcoastsoftware.com
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 -> 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