Bruce and Nikolai,

Thanks for the replies. I am referring to a call to a C program from elsewhere, like a CL or RPG program. I've not dealt with C for a looong time.

Thanks,
Todd


-----Original Message-----
From: c400-l-bounces@xxxxxxxxxxxx [mailto:c400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bruce Vining
Sent: Monday, November 12, 2012 3:44 PM
To: C programming iSeries / AS400
Subject: Re: [C400-L] Max parameters

Assuming that you are refering to a call to an external program (#pragma
linkage) then per the C/C++ Compiler Reference ( http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/books/sc094816.pdf
):


The compiler issues a warning message and ignores the #pragma linkage directive if:

v The program is declared with a return type other than int or void.

v The function contains more than 256 parameters.
...

Bruce

On Mon, Nov 12, 2012 at 2:01 PM, Allen, Todd
<Todd.Allen@xxxxxxxxxxxxxxxxx>wrote:

What is the maximum number of parameters on a C program call on the
IBM i system? We are at V6R1. Is there a documentation link that
someone can point to that notes this?

Thanks,
Todd


For More Than 80 Years—Delivering Solutions That Exceed Expectations.

This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].