× 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.



Not really, though depending on release (V5R4 I think), IBM has started
allowing PCML to be embedded in the program object. This *could* give
you a means to dynamically extract the procedure interface
definitions... The big problem with this approach is limited data-type
support for PCML. IBM never extended PCML to support native types (
such as date, time, timestamp) used by ILE languages.

-Eric DeLong

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of sjl
Sent: Tuesday, August 24, 2010 2:21 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Is there a way to determine the true number of parameters that
an ILEprogram is coded to receive?

All -

I would like to be able to determine the maximum number of parameters
that
can be passed to a givenn ILE program, i.e., the number of parms coded
in
the source that was used to create it, /not/ the theoretical maximum.

For OPM programs, the DSPPGM command and the QCLRPGMI API appear to
return
the this actual maximum number of parms that the program is coded to
receive.

However, for ILE programs, DSPPGM and QCLRPGMI both return 0 as the
minimum
and 255 as the maximum...


- sjl





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.