NUMBER OF LINES IN A PROGRAM



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

NUMBER OF LINES IN A PROGRAM

Postby kumarshiva » Sun Oct 10, 2010 1:11 am

I need a simpler way to find LOC in a program instead of viewing each program and finding it out,since there are some 500 programs on my plate.I am looking out for simple way.Can any one suggest this??I need this info for further estimations in my project.
kumarshiva
 
Posts: 7
Joined: Thu Oct 07, 2010 7:30 am
Has thanked: 0 time
Been thanked: 0 time

Re: NUMBER OF LINES IN A PROGRAM

 

Re: NUMBER OF LINES IN A PROGRAM

Postby enrico-sorichetti » Sun Oct 10, 2010 2:09 am

In IT ( Information Technology ) using exact terms is a must...
so, determining the LOC is a complex task,
but, on the other side if You simply need to know the number of lines in a source in a PDS
just use the ISPF 3.5 option as described here
http://publibz.boulder.ibm.com/cgi-bin/ ... 1211175702
at the end you will have the number of source code lines ( not the LOC ) and ISPF
will be smart enough to tell You also the total number of lines
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: NUMBER OF LINES IN A PROGRAM

Postby enrico-sorichetti » Mon Oct 11, 2010 2:52 pm

cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post