View previous topic :: View next topic
|
Author |
Message |
Bindu M
New User
Joined: 09 Feb 2007 Posts: 4 Location: Madiwala
|
|
|
|
I have a set of programs in a library. I need to get LOC for the programs in that library. Please advise me where and how I should mention the library name in the rexx code to browse the programs and get LOC. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What is LOC?
O. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I don't follow your question. What does your rexx code look like up to this point? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I need to get LOC for the programs in that library |
are You sure about writing Your own tools to find out such info...
LOC counting is not an easy task...
there are standards to be followed...
if You simply need the lines disregarding the source language
invoking the library management services will give You the number of lines
in a member ( provided that it has been saved with "stats on" ) |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
If the programs are just a handful, pencil and paper might be faster,
go to any panel which displays a member list,
and if statistics are turned on, You will see how many lines are in every member
if statistics are missing, navigate thru the utilities
for the set/reset member stats appl |
|
Back to top |
|
|
Bindu M
New User
Joined: 09 Feb 2007 Posts: 4 Location: Madiwala
|
|
|
|
Thanks for your reply!
I have around 500 mantis programs where in i have to find the LOC(lines of code). They are all stored in a library. I am very new to rexx, so i want to know if by using rexx will i be able to find the LOC for all those programs.
Pls advice.
e.s, i did not understand the below, could you please elaborate pls.. what is statistics...
go to any panel which displays a member list,
and if statistics are turned on, You will see how many lines are in every member
if statistics are missing, navigate thru the utilities
for the set/reset member stats appl |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
id not understand the below, could you please elaborate pls.. what is statistics... |
In what environment do You work ???
You did not tell about MANTIS,
are the mantis programs just plain sources residing ( like COBOL ) in ordinary mvs datasets
or there is a mantis development environment with its own program repository
what I advised about is a standard terminolgy fo an ISPF environment
if look at a member list panel You will notice a lots of info about a member |
|
Back to top |
|
|
|