Contents powerh-l Digest, Vol 45, Issue 4
Alan and Vicki
vical1 at eastlink.ca
Mon Feb 9 13:13:57 CST 2009
Assuming you must do this programatically and can't use VMS to do it for
you....
I think I've done something like this before in MPE - concept should be the
same. If memory serves, I did this:
Create a flat file in the dictionary with one char*80 item (or larger if you
use a longer record length for your source file, but the record length
should be the same as your source files)
Use a file equate (logical in VMS?) to point each source file to the flat
file created
Use QUIZ or QTP to count the records in the flat file...what you do with the
counter is up to you,
Essentially, you're just creating a shell file in PHD that PowerHouse will
recognize and then treating your source code as a data file.
I'm not sure if there is a more elegant solution (utility) available now,
but I wouldn't be surprised if there was. If you need to do this for all of
your code, then it could be a bit time consuming.
Good luck - let us know if it works.
Vicki
>
>
> Today's Topics:
>
> 1. counting lines of code of POW code on Open VMS (Desmond Dujon)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 9 Feb 2009 08:08:38 -0800 (PST)
> From: Desmond Dujon <ddujon at yahoo.com>
> Subject: counting lines of code of POW code on Open VMS
> To: powerh-l at lists.sowder.com
> Message-ID: <105345.45665.qm at web110604.mail.gq1.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi ,
> Does anyone have a routine to count the number of lines of code in POW
> source programs(POW ver 7.10-G3. We are running on OpenVMS Ver 7.3
> thanks a million
>
>
>
>
>
>
>
> ------------------------------
>
> --
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l at lists.sowder.com
> Subscribe: "subscribe" in message body to
> powerh-l-request at lists.sowder.com
> Unsubscribe: "unsubscribe <password>" in message body to
> powerh-l-request at lists.sowder.com
> http://lists.sowder.com/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a subscriber.
> Add 'site:lists.sowder.com powerh-l' to your search terms to search the
> list archive at Google.
>
> End of powerh-l Digest, Vol 45, Issue 4
> ***************************************
>
More information about the powerh-l
mailing list