×
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.
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.
As an Amazon Associate we earn from qualifying purchases.