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



Greg,

Did that service program have any other procedures defined and EXPORTed externally?

When you added that new "wrapper" procedure, were you careful to add it to the end of all of the exported procedures, in the binder source?

Do you have any other programs already using that *SRVPGM?


Just trying to give you a "heads-up" about some possible "pit-falls" that may await.


Mark S. Waterbury



On Tuesday, October 8, 2019, 8:53:50 AM EDT, Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

Since the RPG procedure I was calling (from CL) is in a service pgm, I added a wrapper procedure to the same service pgm.  I defined the wrapper pgm interface using CHAR fields and then call the other procedure.

So now I can CALLPRC('Eml_StmfCL') which uses 'Eml_Stmf'

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of John Rusling via RPG400-L
Sent: Tuesday, October 08, 2019 8:42 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Cc: JRusling@xxxxxxxxxxx
Subject: Re: Calling an ILE Procedure from CLLE

So much so that some folks have gotten in the habit of using RPG
for everything (it's easier to make RPG do CL-ish things than to make
CL do RPG-ish things).

I have gotten in this habit.  :-)
'some folk' John
<br />
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.

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.