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: 7936
Location: Bellevue, IA

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: 10211
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: 7936
Location: Bellevue, IA

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 How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm
No new posts How to find Table-space and Index-spa... venksiv DB2 5 Wed Feb 03, 2016 6:16 pm


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