|
-- >Does anyone know if there is a way to identify the *ENTRY parms in an RPG >program, using an API or some other method? > >I know that DSPPGM and the QCLRPGMI (Retrieve Program Information) API >will return the number of parms, but I'm looking for a way, if possible, >of returning the actual parameter characteristics. For example, if the >program has 3 Entry parms, and they are defined as: > >Parm1 - 3A >Parm2 - 2, 2 Packed >Parm3 - 15A > >I want to be able to retrieve the 3A 2,2 and15A characteristics. > > >Shannon O'Donnell Shannon, This is a frequently asked question, but I have not seen a clear answer on that. It set me thinking, though (all, be forwarned), but perhaps you can work something out with the mentioned API and the Operational Descriptors within an RPGLE programmme. I never tried anything on that, but (as I have said) I was just thinking. Regards, Carel Teijgeler. --
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.