|
As long as each DS isn't more than 65535 bytes long. That gives you a theoretical maximum length of 16,711,425 bytes if you pass 255 data structures, each 65535 bytes long. You could have as many "fields" as you can squeeze in there. But you also have the storage allocation limit of 16,776,704 bytes and the symbolic name limit of 4096 to deal with, so the practical limit is probably much less. Francis Lapeyre IS Dept. Programmer/Analyst Stewart Enterprises, Inc. E-mail: flapeyre@xxxxxxxx -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin Sent: Friday, August 4, 2006 1:47 PM To: RPG programming on the AS400 / iSeries Subject: Re: Maximum number of Parameters passed to a RPG program I suppose the answer could be "it depends"? By defining a data structure with all of the fields you could then have one parm but have passed a very large number of values? Lapeyre, Francis wrote:
In ILE RPG for V5R3, it's 255. Procedures can have up to 399, though.
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/topic/books_web/c09250
85769.htm#HDRRPGREST Francis Lapeyre IS Dept. Programmer/Analyst Stewart Enterprises, Inc. E-mail: flapeyre@xxxxxxxx -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Marvin Radding Sent: Friday, August 4, 2006 1:22 PM To: rpg400-l@xxxxxxxxxxxx Subject: Maximum number of Parameters passed to a RPG program Just had one of our Business Analyst ask this question: What are the
maximum
number of parms you can pass to an RPG program? Why a non-programmer wants to know this, I can only guess. Can anyone point me to the page in the manual that gives this limitation? Marvin
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.