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



The Opening Post provided a complete CBLLE source for the "CALLEE" [and two sources for the CALLER; one is CBLLE] for which the compiled *PGM object as created with the Create Bound COBOL Program (CRTBNDCBL) command effects min=0\max=3 for the "Number of parameters". A snippet of that complete CBLLE source, for which apparently the "USING" effects the explicitly defined /hard/ number of parameters rather than a more /theoretical/ or /soft/ limit for the maximum, is included here:

------- CALLEE.CBL --------
...
LINKAGE SECTION.
01 P1 PIC X(5).
01 P2 PIC X(5).
01 P3 PIC X(5).
PROCEDURE DIVISION USING P1 P2 P3.
...

Regards, Chuck

On 09 May 2013 23:32, Jevgeni Astanovski wrote:
are you sure that minimum number of parameters and maximum number of
parameters returned by QCLRPGMI are somehow "related to reality"?

I just had a look at ILE/RPG programs (attribute RPGLE). They all
(OK, all that I looked at) have the following:

Program statistics:
Number of parameters . . . . . . . . . . . . . : 0 255

And this is for a program, that I know, needs exactly 5 parameters.
I recall that before ILE this value reflected actual number of
parameters.

Once again, talking about ILE/RPG, as I could not find any COBOL
programs on our box...


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.