|
Simon,
I mean the size of the &PARMn variables.
In my example it is *CHAR 4000 .
Is it OK or too much?
Regards,
Zvi
--- On Wed, 7/9/08, Simon Coulter wrote:
From: Simon Coulter
Subject: Re: ILE C command line: What is the maximum
To: "Midrange Systems Technical Discussion"
Date: Wednesday, July 9, 2008, 2:29 AM
On 09/07/2008, at 6:33 PM, Zvi Kave wrote:
parameters?
Is there a maximum size of the command line
Do you mean maximum number of parameters?
Parameters (PARM) - Help
Specifies one or more parameter values that are passed to
the called program. A maximum of 40 parameter values can
be passed.
Or maximum size for each parameter?
Depending on which OS release you are using CL can accept a
character
parameter with a maximum size of 32767 bytes.
Other than that you are limited by the size of the command
line. Most
command lines give you somewhere between 70 (ish) and 200
(ish) bytes
for the entire command. CALL QCMD then F11 will give you
between 1900
(ish) and 3500 (ish bytes.
What is your real question?
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical
Specialists
http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400
/"\
Fax: +61 2 6657 8251
\ /
X
ASCII Ribbon campaign against HTML E-Mail
/ \
--------------------------------------------------------------------
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.