|
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Hey, I like that idea. Dave -----Original Message----- From: Jim Langston [mailto:jlangston@celsinc.com] Sent: Friday, September 13, 2002 2:55 PM To: 'rpg400-l@midrange.com' Subject: RE: Prototyped calls 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 _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.