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



I believe that it would fall under the max number of parameters to
procedures.  In V5R2 this number  (According to the ILE RPG Reference - pub
#SC09-2508-04) is 399.  The max number of parameters to a program is 255.
----- Original Message -----
From: "Mihael Knezevic" <m.knezevic@porta.de>
To: <java400-l@midrange.com>
Sent: Friday, October 04, 2002 8:59 AM
Subject: AW: max number of parameters


thanx for the quick answer but i meant how many parameter i can pass to my
java programm when i call it from the qshell (or from within a cl programm,
are there differences with the max number of parameters?) like

java MyProgramm parm1 parm2 parm3 ... parmN

-----Ursprüngliche Nachricht-----
Von: Mike Silvers [mailto:msilvers@HBS-INC.COM]
Gesendet: Freitag, 4. Oktober 2002 14:44
An: java400-l@midrange.com
Betreff: Re: max number of parameters


If you have a long list of parameters, you may want to re-visit the design
of your class & use setter/getter methods to set attributes of the class,
then reference them when the method that needs all the parameters is called.
In other words:

Option 1:

object.method1(parm1, parm2, parm3, parm4);

Option 2:

object.setParm1(value);
object.setParm2(value);
object.setParm3(value);
object.setParm4(value);
object.method1();

----- Original Message -----
From: "Mihael Knezevic" <m.knezevic@porta.de>
To: <java400-l@midrange.com>
Sent: Friday, October 04, 2002 8:36 AM
Subject: max number of parameters


> hi,
>
> does anybody now how many parameters one can give to a java programm on
the as400 or where i can find some info about it?
>
> thanx in advance.
>
> mihael knezevic
> _______________________________________________
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
> To post a message email: JAVA400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
> or email: JAVA400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
>
>


_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.






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.