Handling a result set from a db2 z/os Stored procedure [message #298564] |
Wed, 06 February 2008 07:41 |
rporco
Messages: 2 Registered: February 2008 Location: Rosie
|
Junior Member |
|
|
Does Oracle handle result set returned from a db2 Z/os store procedure .
We are not able to achieve this . Is it a limitation or are we missing something . Does any one have an example code .
thanks
Rosie
Db2 Dba
|
|
|
|
Re: Handling a result set from a db2 z/os Stored procedure [message #298754 is a reply to message #298610] |
Thu, 07 February 2008 08:45 |
rporco
Messages: 2 Registered: February 2008 Location: Rosie
|
Junior Member |
|
|
That is correct
We have Db2 V7 on z/os
with the oracle transparent GAteway
and Oracle on solaris
* Oracle HS Agent
* OSDI SUBSYSTEM ORAS SERVICE OTGXSRV
* connected to DB2 SUBSYSTEM DB2X
* TG4DB2 Version.............: 10.2.0.2.0
* DB2 Version................: 7.1.0
From Oracle issue a CALL StudentGet@DB2X (session)
on DB2 : the Sp "SIS.StudentGet" returns a record set , 1000 rows based on the input parm Session
We want the Application on the Oracle side to Fetch through each of the returned rows and process them individually
I hope this is clearer
thanks
|
|
|
|