I think you are confusing "parameters in which you happen to return a value" with "Return Values" Mark.

A return value is the result of running a function (i.e. subprocedure in RPG) - programs can't return values, only functions.

IWS cannot use any subprocedure that returns a value other than an integer. As I noted before it is a limitation in the underlying toolbox, which can be circumvented by using RPG's new RTNPARM option.


On 2014-06-25, at 2:00 PM, Mark Brier <mark@xxxxxxxxx> wrote:

I use IWS to create web services that return info, and I don't have any issues with return values. I use CRTBNDRPG, though, so I'm not sure if CRTRPGMOD handles something different in regards to creating the *PCML. I am also on V5R4, so I suppose that could have something to do with it.

Mark

On 6/23/2014 11:52 AM, web400-request@xxxxxxxxxxxx wrote:
Re: PCML novice quiestions

--
Mark Brier's Email Signature
Burlington Drug Company <http://www.burlingtondrug.com>

Mark Brier
Programmer/Analyst

Burlington Drug Company
91 Catamount Dr. ? Milton, VT 05468-3236
tel (802) 893-5105 x 212
fax (802) 893-5110
Line
website <http://www.burlingtondrug.com> | vCard <http://burlingtondrug.com/vCards/markBD.vcf> | map <http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=91+Catamount+Dr.,+Milton,+VT+05468&sll=37.0625,-95.677068&sspn=55.411532,77.958984&ie=UTF8&hq=&hnear=91+Catamount+Dr,+Milton,+Vermont+05468&ll=44.605379,-73.167143&spn=0.024627,0.038066&z=15> | email <mailto:mark@xxxxxxxxx>

Dowlings Inc <http://www.dowlingsinc.com>

Mark Brier
Programmer/Analyst

Dowling's Inc.
91 Catamount Dr. ? Milton, VT 05468-3236
tel (802) 893-5105 x 212
fax (802) 893-5110
Line
website <http://www.dowlingsinc.com> | vCard <http://home.dowlingsinc.com/vCards/markDW.vcf> | map <http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=91+Catamount+Dr.,+Milton,+VT+05468&sll=37.0625,-95.677068&sspn=55.411532,77.958984&ie=UTF8&hq=&hnear=91+Catamount+Dr,+Milton,+Vermont+05468&ll=44.605379,-73.167143&spn=0.024627,0.038066&z=15> | email <mailto:mark@xxxxxxxxx>


CONFIDENTIALITY NOTICE: This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential or prohibited from disclosure. If you are not the intended recipient, you are hereby notified that any use, dissemination, or copying of this e-mail or attachments is strictly prohibited. If you have received this transmission in error, please return the material received to the sender and delete all copies from your system. Thank you.

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.