AS 400 (DB2) - RPG Calls

Hello,

Is it possible to invoke a RPG call on an AS 400, using a JDBC Adapter (6.0.3), IS 6.0.1 ?

The connection details are…

VikasTest:AS400DataBase Details
Connection Type JDBC Adapter Connection
Package Name VikasTest
Connection Properties
Transaction Type LOCAL_TRANSACTION
DataSource Class com.ibm.as400.access.AS400JDBCXADataSource
serverName 10.33.44.22
user eaiuser
password ******
databaseName
portNumber
networkProtocol
Other Properties TranslateBinary=true;SelectMethod=direct;libraries=GH38373SWS;Prompt=false
Connection Management Properties
Enable Connection Pooling true
Minimum Pool Size 1
Maximum Pool Size 10
Pool Increment Size 1
Block Timeout (msec) 1000000
Expire Timeout (msec) 1000000

Thanks,
Vikas.

To what far i understand your question, JDBC adapter cannot be used to call RPG programs on AS 400. You can directly connect to the OS DB via JDBC, if the AS 400 supports JDBC and issue commands like Select, Delete, Update and Insert.

Generally the adapter development kit is used to develop custom adapters that are capable of invoking remote functions on the end systems.

HTH
Bhavani Shankar