Another option for this is to call a stored proc via JDBC.

Define the stored proc as an external RPG and then call the API from your
RPG in the normal way, and use standard SQL to call your stored proc

Very easy to do

On Tue, 5 Oct 2021, 23:01 Pete Helgren, <pete@xxxxxxxxxx> wrote:

Been poking around looking for a good, recent example of calling an IBM
i API from Java using jt400. Found some program calls, command calls,
but nothing C-ish....maybe that doesn't matter...

Can you point me to one?

Pete Helgren
GIAC Secure Software Programmer-Java
AWS Certified Cloud Practitioner
Microsoft Certified: Azure Fundamentals
Twitter - Sys_i_Geek IBM_i_Geek

This is the Java Programming on and around the IBM i (JAVA400-L) mailing
To post a message email: JAVA400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: JAVA400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Help support by shopping at with our affiliate

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.