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.