Reputation: 1
We are currently in an IBM I series server with RPGLE, Cobol, CL programs with the Midrange DB2 and would like to reach out to the database hosted in IBM Z - Mainframe within the same organisation - What is the best way to achieve this ?
Upvotes: 0
Views: 293
Reputation: 11493
You should be able to define the DB2 for ZOS database in WRKRDBDIRE
. Once you have the database defined, you can use a CONNECT
statement in SQL to make the connection, and then do standard SQL to access it.
Upvotes: 1