Unix Technical Forum

Oracle to DB2 DRDA connectivity

This is a discussion on Oracle to DB2 DRDA connectivity within the DB2 forums, part of the Database Server Software category; --> Helpful folks, I am having a problem getting Oracle's Transparent Gateway for DRDA product to interface with DB2 UDB ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 01:47 PM
Scav
 
Posts: n/a
Default Oracle to DB2 DRDA connectivity

Helpful folks,

I am having a problem getting Oracle's Transparent Gateway for DRDA
product to interface with DB2 UDB for LUW 8.1.14.

The Gateway product is running on Linux and using DRDA protocol to
connect to my DB2 test server, which is running on Win2003. This test
server has recently been migrated to V8. It was previously on V7.2
FP5, and here is where the mystery lies.

For, when my test server wast at V7, the Oracle gateway was able to
connect and read data. But after I migrated to V8, it no longer works.
I have double-checked every dbm/db cfg parameter, env variable, host
file entries I can think of. They all seem identical to what I had in
V7.

The error that is produced is a 30020 sqlcode with 124c return code,
which indicates a syntax error in the data stream. However, the syntax
of the connection info did not change between V7 and V8. Here is the
full error produced by Transparent Gateway for DRDA:

ERROR at line 1:
ORA-04052: error occurred when looking up remote object
ORADW.GTW$_BIND_PKG@UDB.FADV.COM
ORA-00604: error occurred at recursive SQL level 1
ORA-28500: connection from ORACLE to a non-Oracle system returned this
message:
TG4DRDA v10.2.0.3.0 grc=0, drc=-30020 (839C,0000), errp=GDJMRC
errmc=124C
ORA-02063: preceding 3 lines from UDB

On the initial connection to DB2, the Gateway binds a package in DB2.
The permissions (on thel login being used) for CONNECT and BIND
PACKAGE are also identical between V7 and V8.

My question, does anyone have any experience with this scenario, or,
is anyone aware of things that have changed in regard to DRDA
connectivity to V8 (defaults changing, new cfg parameters, etc.)

Any help or feedback would be greatly appreciated.

Thanks,
Sean

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 01:47 PM
The Boss
 
Posts: n/a
Default Re: Oracle to DB2 DRDA connectivity

Scav wrote:
> Helpful folks,
>
> I am having a problem getting Oracle's Transparent Gateway for DRDA
> product to interface with DB2 UDB for LUW 8.1.14.
>
> The Gateway product is running on Linux and using DRDA protocol to
> connect to my DB2 test server, which is running on Win2003. This test
> server has recently been migrated to V8. It was previously on V7.2
> FP5, and here is where the mystery lies.
>
> For, when my test server wast at V7, the Oracle gateway was able to
> connect and read data. But after I migrated to V8, it no longer works.
> I have double-checked every dbm/db cfg parameter, env variable, host
> file entries I can think of. They all seem identical to what I had in
> V7.
>
> The error that is produced is a 30020 sqlcode with 124c return code,
> which indicates a syntax error in the data stream. However, the syntax
> of the connection info did not change between V7 and V8. Here is the
> full error produced by Transparent Gateway for DRDA:
>
> ERROR at line 1:
> ORA-04052: error occurred when looking up remote object
> ORADW.GTW$_BIND_PKG@UDB.FADV.COM
> ORA-00604: error occurred at recursive SQL level 1
> ORA-28500: connection from ORACLE to a non-Oracle system returned this
> message:
> TG4DRDA v10.2.0.3.0 grc=0, drc=-30020 (839C,0000), errp=GDJMRC
> errmc=124C
> ORA-02063: preceding 3 lines from UDB
>
> On the initial connection to DB2, the Gateway binds a package in DB2.
> The permissions (on thel login being used) for CONNECT and BIND
> PACKAGE are also identical between V7 and V8.
>
> My question, does anyone have any experience with this scenario, or,
> is anyone aware of things that have changed in regard to DRDA
> connectivity to V8 (defaults changing, new cfg parameters, etc.)
>
> Any help or feedback would be greatly appreciated.
>
> Thanks,
> Sean


There is probably something wrong with the package bind.
Maybe you are hitting something similar to this:
http://www-1.ibm.com/support/docview...id=swg1IY50531

Is there anything in DB2's diagnostic log?

--
Jeroen


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 01:47 PM
Scav
 
Posts: n/a
Default Re: Oracle to DB2 DRDA connectivity

Not a peep, even when I set diaglevel to 4.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 01:47 PM
Mike Springgay
 
Posts: n/a
Default Re: Oracle to DB2 DRDA connectivity

Scav wrote:
> Not a peep, even when I set diaglevel to 4.
>

I suggest you contact DB2 Service. A -30020 error indicates some DRDA
violation has occurred.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 01:47 PM
Jan M. Nelken
 
Posts: n/a
Default Re: Oracle to DB2 DRDA connectivity

Scav wrote:
> Helpful folks,
>
> I am having a problem getting Oracle's Transparent Gateway for DRDA
> product to interface with DB2 UDB for LUW 8.1.14.
>
> The Gateway product is running on Linux and using DRDA protocol to
> connect to my DB2 test server, which is running on Win2003. This test
> server has recently been migrated to V8. It was previously on V7.2
> FP5, and here is where the mystery lies.
>
> For, when my test server wast at V7, the Oracle gateway was able to
> connect and read data. But after I migrated to V8, it no longer works.
> I have double-checked every dbm/db cfg parameter, env variable, host
> file entries I can think of. They all seem identical to what I had in
> V7.
>
> The error that is produced is a 30020 sqlcode with 124c return code,
> which indicates a syntax error in the data stream. However, the syntax
> of the connection info did not change between V7 and V8. Here is the
> full error produced by Transparent Gateway for DRDA:
>
> ERROR at line 1:
> ORA-04052: error occurred when looking up remote object
> ORADW.GTW$_BIND_PKG@UDB.FADV.COM
> ORA-00604: error occurred at recursive SQL level 1
> ORA-28500: connection from ORACLE to a non-Oracle system returned this
> message:
> TG4DRDA v10.2.0.3.0 grc=0, drc=-30020 (839C,0000), errp=GDJMRC
> errmc=124C
> ORA-02063: preceding 3 lines from UDB
>
> On the initial connection to DB2, the Gateway binds a package in DB2.
> The permissions (on thel login being used) for CONNECT and BIND
> PACKAGE are also identical between V7 and V8.
>
> My question, does anyone have any experience with this scenario, or,
> is anyone aware of things that have changed in regard to DRDA
> connectivity to V8 (defaults changing, new cfg parameters, etc.)
>
> Any help or feedback would be greatly appreciated.
>
> Thanks,
> Sean
>

Can you collect db2drdat trace on your V8 server?

Open command window, issue:

db2drdat on

issue connect from Oracle gateway. When you get error, on Windows
machine issue:

db2drdat off

which creates file db2drdat.dmp


If it is not too big (it shouldn't - post it's contents - it is an ASCII
text file.


Jan M. Nelken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-27-2008, 01:47 PM
The Boss
 
Posts: n/a
Default Re: Oracle to DB2 DRDA connectivity

Scav wrote:
> Not a peep, even when I set diaglevel to 4.


I assume the problem is on the Gateway side.
Did you follow the scenario described here:
http://download-west.oracle.com/docs....htm#sthref974

More specifically:
- (re)creating the ORACLE2PC table before executing the DRDA package bind
- creating the data dictionary tables/views for UDB v8

HTH

--
Jeroen


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com