Karthik Sripal J
Karthik Sripal J

Reputation: 1

How to access a DB2 database(Z OS) from an IBM I Midrange server?

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

Answers (1)

jmarkmurphy
jmarkmurphy

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

Related Questions