Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to calculate the space for few members in a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
syed-sameer-ahmed
Warnings : 2

New User


Joined: 22 Feb 2007
Posts: 46
Location: Bangalore

PostPosted: Sat Jan 24, 2009 1:57 pm    Post subject: How to calculate the space for few members in a PDS
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Sat Jan 24, 2009 7:01 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Sat Jan 24, 2009 9:26 pm    Post subject: Reply to: How to calculate the space for few members in a PD
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Sun Jan 25, 2009 9:57 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 26, 2009 12:11 am    Post subject:
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

Site Director


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

PostPosted: Mon Jan 26, 2009 2:50 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us