× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Maybe it would be better to parse a compile listing.  At the bottom of the 
printout it would tell you all that information in one place without you having 
to try to determine it yourself.

You would compile, then copy the spoolfile to a physical file and parse that.

One of the good things about that, also, is you could define fields in the 
physical file you are reading through so easily look for *ENTRY and such.

HTH

Regards,

Jim Langston

-----Original Message-----
From: Leland, David [mailto:dleland@Harter.com]

We'd like to get on the bandwagon and start using the new /free RPG spec.
However, we have a LOT of CALL/PARM opcodes in our RPG.  Since the /free
spec doesn't support CALL/PARM, I understand that I need to convert them all
to CALLP (prototyped calls).  To save me the work of manually creating a
source member with all prototypes, I'm looking for a routine to read thru
the source code of an ILERPG program to find it's *ENTRY PARMs and then
update another source member (a member which contains prototypes) with that
information.  I can easily read the source code to find the *ENTRY parms but
I don't know how to determine the variable type, length and decimal
positions.  Any suggestions?

Dave


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.