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



Michael:

The CRTRPGSQLI command has an optional COMPILEOPT parameter for just such purposes. You can include many of the optional parameters from the CRTRPGMOD or CRTBNDRPG command, within this parameter. Note that you must include the "keyword(value)" for each keyword you want to specify.

Hope that helps,

Mark S. Waterbury

> On 6/25/2014 4:23 PM, Koester, Michael wrote:
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 ...

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.