View previous topic :: View next topic
|
Author |
Message |
syed-sameer-ahmed Warnings : 2 New User
Joined: 22 Feb 2007 Posts: 45 Location: Bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
# 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 |
|
|
Mouparna Biswas Warnings : 1 New User
Joined: 27 Nov 2006 Posts: 5 Location: india, kolkata
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
why not wander thru ispf and check it Yourself ??? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Aaaaaaaaaaah, but does the OP also want to include the directory bytes consumed by the member |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you document the number of lines (if something really must be documented ) rather than waste time trying to calculate the actual space. . . |
|
Back to top |
|
|
|