I can't think of a way through RDP, but we run something like the
following every week just to get a count.
DSPFD FILE(YOURLIB/QRPG*) TYPE(*MBRLIST) OUTPUT(*OUTFILE)
Then in SQL:
SELECT sum(MLNRCD) FROM rpgcount
Doesn't ignore comments. I've been meaning to write a program that reads
the actual members and gets some better stats.
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Austin, Mark
Sent: Wednesday, November 09, 2011 6:17 AM
To: Rational Developer for IBM i / Websphere Development Studio Client
forSystem i & iSeries
Subject: [WDSCI-L] Source code
I've been asked by my manager to give him the number of lines of source
for CL programs (OPM & ILE), Cobol (OPM, SQL OPM, ILE & SQL ILE) and RPG
(OPM & ILE).
Can anyone think of a way of getting this using RDP (I'm using V8)?
Universal Music Publishing Group
Bond House, 347-353 Chiswick High Road, London W4 4HS
Tel: +44 (0)208 742 5520 / Fax: +44 (0)208 742 5699
Universal Music Publishing International Limited
Registered in England. Number 02050403
Registered Office: 347-353 Chiswick High Road, London W4 4HS
The information contained in this e-mail is confidential, may be
privileged and is intended solely for the use of the named addressee.
Access to this e-mail by any other person is not authorised. If you are
not the intended recipient, you should not disclose, copy, distribute,
take any action or rely on it and you should please notify the sender by
reply. Any opinions expressed are not necessarily those of the company.
We may monitor all incoming and outgoing emails in line with current
legislation. We have taken steps to ensure that this email and
attachments are free from any virus, but it remains your responsibility
to ensure that viruses do not adversely affect you.
This mailing list archive is Copyright 1997-2020 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