If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > HELP - Error when call a stored procedure with gateway

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-20-04, 13:13
cbarossi cbarossi is offline
Registered User
 
Join Date: May 2003
Location: São Paulo - Brazil
Posts: 6
Lightbulb HELP - Error when call a stored procedure with gateway

Hi all,
I'm trying to call a stored procedure in DB2 IBM Mainfraime from oracle 8.1.7 using the gateway.
When I called I recived the error:

SQL> exec sysproc.zb987a00@STORED_DB2;
BEGIN sysproc.zb987a00@STORED_DB2; END;

*
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
TG4DRDA v8.0.4.1.1 grc=0, drc=-30020 (839C,0000), errp=GDJRFS1E
errmc=1232
ORA-06512: at line 1


The DBlink is ok, because If I do a single select, it's ok.

SQL> select * from AXG0202.PADC001V_FILIAL@STORED_DB2;

PKND_001FILIAL ATSF_001NOME
-------------- ------------------------------
1 TESTE
400 COM PARM
300 TESTE 02
123 COM PARM
124 COM PARM
853 TESTE COM PARAMETRO

6 rows selected.

Help, I need this execution urgentilly
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On