|
I'd suggest a dummy CMPPFM run comparing a source file with itself.
Near the bottom of the report the number of lines processed will give
total line counts for the source file.
CMPPFM NEWFILE(library/sourcefile)
NEWMBR(*ALL)
OLDFILE(library/*NEWFILE)
RPTTYPE(*SUMMARY)
(You can create an outfile if you want, but it's ugly - one field).
...Neil
MacWheel99@aol.com
Sent by: owner-midrange-l@midrange.com
2001/07/11 13:47
Please respond to MIDRANGE-L
To: MIDRANGE-L@midrange.com
cc:
Subject: Re: COUNTING LINES OF CODE
When I am in PDM
there are line counts associated with the various specifications
I do not know if that is SEU interactive or in the base source
if that could go to a file - you then have first & last line associated
with
each type of specification
When I do a compile, it counts comment lines differently from code lines &
also from imports like standard subroutines & external layouts, so if you
did
compiles without replacing the executable member, then had the reports go
to
a file with a program to look at the count lines ... that would be another
possibility
MacWheel99@aol.com (Alister Wm Macintyre) (Al Mac)
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.