Since Mark brought up the subject of different compilers, is it possible to get PCML attached to a SQLRPGLE module? Didn't see anything in the CRTSQLRPGI compiler options.
-- Michael

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Jon
Paris
Sent: Wednesday, June 25, 2014 2:29 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] PCML novice quiestions

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+Catamo
unt+Dr.,+Milton,+VT+05468&sll=37.0625,-
95.677068&sspn=55.411532,77.958

984&ie=UTF8&hq=&hnear=91+Catamount+Dr,+Milton,+Vermont+05468&ll=44.605
379,-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.


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.