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



I have been able to call some existing RPGIII programs using the General parameter style. All I had
to do was define the existing parameters as follows.

Create Procedure ADDCSTDAYRT
(OUT Returned_Status Character (7),
IN Location_Number Character (5),
IN Contract_Number Decimal (5,0),
IN Customer_Number Decimal (5,0),
IN Route Character (2),
IN Delivery_Day Character (1),
IN Insert_After_Cust Decimal (5,0))
Language RPG
Not Deterministic
No SQL
External Name CU000R
Parameter Style General

By calling the procedure through JDBC, the procedure was able to participate in a larger commitment
control transaction for a J2EE application.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Wednesday, January 02, 2008 1:12 PM
To: Rpg400 Rpg400-L
Subject: External Stored procedures

Anyone know of any examples of external stored procedures -
particularly ones that demo the different parameter styles?

While checking the IBM Redbook I noticed that the parm handling in
some of the examples doesn't match my understanding so I'm looking
for a few more examples to compare with.

Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



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.