|
A DS is the way to go for sure - the smaller the number of parms the
better as with regular calls.
The limit on parms is documented in the IWS manual as follows:
"A procedure in an ILE service program (*SRVPGM) that is to be
externalized as a web service can have a
maximum of 7 parameters. An ILE program (*PGM) can have a maximum of 32
parameters on IBM i 6.1
and 255 parameters on IBM i 7.1 and subsequent releases".
The limit may have increased since then - although I would never want to
go above 3 or 4 anyway so I have never felt the need to check. The service
program limitation is a little restrictive - they should probably raise
that if only to accommodate existing procedures that have more than that.
I _think_ the limits arise from the Java tooling rather than IWS itself.
David might know the answer to that.
Jon Paris
On Aug 17, 2021, at 9:57 AM, Jean-Marc DUVAL via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:
les liens ou pièces jointes que si vous êtes sûr de l'expéditeur.
Alan,
That’s what I am going to test… I will return my result.
De : Alan Shore <ashore@xxxxxxxx>
Envoyé : mardi 17 août 2021 15:55
À : Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx>
Cc : RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Objet : RE: web services parameters limitation
ATTENTION : Ce message provient d'une source EXTERNE. Veuillez n'ouvrir
instead – and pass that ONE data structure as the parameter
Hi Jean-Marc
Instead of having so many parameters, why not use a data structure
rpg400-l@xxxxxxxxxxxxxxxxxx>>
Alan Shore
Solutions Architect
IT Supply Chain Execution
[cid:image001.png@01D79380.8511EB40]
60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>
‘If you're going through hell, keep going.’
Winston Churchill
From: Jean-Marc DUVAL [mailto:jean-marc.duval@xxxxxxxxxxx]
Sent: Tuesday, August 17, 2021 9:52 AM
To: Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Cc: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:
Subject: [EXTERNAL] RE: web services parameters limitationmembers of the list 😉
Alan,
Yes i did, but don’t find answers, that why I ask it to the very expert
jean-marc.duval@xxxxxxxxxxx>>
De : Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Envoyé : mardi 17 août 2021 15:36
À : Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx<mailto:
Objet : RE: web services parameters limitationles liens ou pièces jointes que si vous êtes sûr de l'expéditeur.
ATTENTION : Ce message provient d'une source EXTERNE. Veuillez n'ouvrir
believe there IS a limitation that I seem to remember has been increased in
Okay
However – I have since blown some of the cob webs from my mind, and I
V7r4
But again – I cannot find what I am looking forwhat I was searching for
Have you tried a google search?
I did a quick search but couldn’t really find anything – but it might be
“as400 iws parameter limitation”works…
Alan Shore
Solutions Architect
IT Supply Chain Execution
[cid:image005.png@01D79380.84F95A30]
60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>
‘If you're going through hell, keep going.’
Winston Churchill
From: Jean-Marc DUVAL [mailto:jean-marc.duval@xxxxxxxxxxx]
Sent: Tuesday, August 17, 2021 9:31 AM
To: Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Subject: [EXTERNAL] RE: web services parameters limitation
Alan,
Thanks for you reply.
I have REST web service with PUT method that have 16 parameters and it
I think 32 parameters is more that I can use ☹rpg400-l@xxxxxxxxxxxxxxxxxx>>
De : Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Envoyé : mardi 17 août 2021 14:30
À : RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:
Cc : Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>>
Objet : RE: web services parameters limitationles liens ou pièces jointes que si vous êtes sûr de l'expéditeur.
ATTENTION : Ce message provient d'une source EXTERNE. Veuillez n'ouvrir
more than one parameter.
Hi Jean Marc
When I first looked into IWS some months ago – I had a problem in using
Someone suggested that a particular ptf had to be applied. Thisrectified my problem
was that told me
Unfortunately, I am unable to locate my notes as to what ptf and who it
If you were successful in the past, but never had more than oneparameter, this maybe the problem
I will continue looking for my notes, but maybe someone else will knowwhat I am speaking of
If you have been successful in using more than one parameter, then whatI am looking for is obviously NOT the answer
Let me knowOf Jean-Marc DUVAL via RPG400-L
Alan Shore
Solutions Architect
IT Supply Chain Execution
[cid:image006.png@01D79380.84F95A30]
60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>
‘If you're going through hell, keep going.’
Winston Churchill
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf
Sent: Tuesday, August 17, 2021 8:17 AMrpg400-l@xxxxxxxxxxxxxxxxxx>>
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:
Cc: Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>>
Subject: [EXTERNAL] web services parameters limitationparameters in REST web services ?
Hi,
I would like to know if there were a limitation for the number of
I am in 7.2 version and use V2.6 web services.work...
I am trying to build a web service with 32 parameters and it does not
--RPG400-L@xxxxxxxxxxxxxxxxxx>
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:
To subscribe, unsubscribe, or change list options,https://urldefense.com/v3/__https:/lists.midrange.com/mailman/listinfo/rpg400-l__;!!J76aczzK!hJfeCbICExD8MkS28BKrduaOb8EpyotYEPH1ElicTc1sVrKO-XsWyBhEjg87yGXuuhjHgg$
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l<
RPG400-L-request@xxxxxxxxxxxxxxxxxx>
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:
Before posting, please take a moment to review the archiveshttps://urldefense.com/v3/__https:/archive.midrange.com/rpg400-l__;!!J76aczzK!hJfeCbICExD8MkS28BKrduaOb8EpyotYEPH1ElicTc1sVrKO-XsWyBhEjg87yGXuQNbb-w$
at https://archive.midrange.com/rpg400-l<
.support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:
link: https://amazon.midrange.com<
Help support midrange.com by shopping at amazon.com with our affiliate
https://urldefense.com/v3/__https:/amazon.midrange.com__;!!J76aczzK!hJfeCbICExD8MkS28BKrduaOb8EpyotYEPH1ElicTc1sVrKO-XsWyBhEjg87yGVyT1WhIA$
related questions.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
link: https://amazon.midrange.com
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.