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

How to calculate the space for few members in a PDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
syed-sameer-ahmed
Warnings : 2

New User


Joined: 22 Feb 2007
Posts: 45
Location: Bangalore

PostPosted: Sat Jan 24, 2009 1:57 pm
Reply with quote

Hi

I have a PDS which Members A----Z but I want to calculate the space occupied by particular JCL member and document them.

Please ink ideas

Thanks
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Jan 24, 2009 7:01 pm
Reply with quote

# lines times 80 bytes per line gives bytes used for a member -- and changes every time the member is updated with more or less lines. Usually the member names are documented but who worries about size of each?
Back to top
View user's profile Send private message
Mouparna Biswas
Warnings : 1

New User


Joined: 27 Nov 2006
Posts: 5
Location: india, kolkata

PostPosted: Sat Jan 24, 2009 9:22 pm
Reply with quote

hi robert,

thanks for the info. one thing i want to clarify.. does the no of lines also include the blank lines used in between the lines of codes, to increase readability?

Thnks,

Mouparna.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sat Jan 24, 2009 9:26 pm
Reply with quote

why not wander thru ispf and check it Yourself ???
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Jan 25, 2009 9:57 am
Reply with quote

Turn on ISPF statistics and it'll tell you how many lines each member has. And if blank lines are truly blank lines (not SKIP or EJECT directives in COBOL) they count towards the total.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jan 26, 2009 12:11 am
Reply with quote

Aaaaaaaaaaah, but does the OP also want to include the directory bytes consumed by the member icon_confused.gif
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: Mon Jan 26, 2009 2:50 am
Reply with quote

Hello,

Suggest you document the number of lines (if something really must be documented icon_confused.gif ) rather than waste time trying to calculate the actual space. . .
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 Replace each space in cobol string wi... COBOL Programming 2
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
Search our Forums:

Back to Top