Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Transparent Gateway for Sybase
Yes, I ran the script to create the procedures. It created them in the "sybsystemprocs" database. The procedure that I am trying to run is in the "development" database on the same server. I checked the permissions and all of the procedures it created are executable by public. Here is a little more information on what is going on.
execute "p_dts_update"@sgtymdev(52,'06/09/1998','N',2);
"p_dts_update"@sgtymdev(52,'06/09/1998','N',2); *
ORA-06550: line 2, column 2: PLS-00201: identifier 'p_dts_update_at_SGTYMDEV' must be declared ORA-06550: line 2, column 2:
SQLWKS> select * from all_objects_at_sgtymdev 2> where object_name = 'p_dts_update' 3> and object_type = 'PROCEDURE' 4> OWNER OBJECT_NAME OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIMETIMESTAMP
------------------------------ ------------------------------ ---------- -- --------------------- -------------------- --------------------
dbo p_dts_update 341628310 PROCEDURE 27-MAY-98 27-MAY-98 VALID
Oracle Transparent Gateway for SYBASE SQL Server: Release 4.0.0.1.0
-
Productio
n on Fri Jun 12 12:44:41 1998
Copyright (c) Oracle Corporation 1979, 1994. All rights reserved.
Using ODBC driver version 02.00.1200 for SQL Server 11.00.0202 SQL
Server/11.0.2
.2/P/HP9000-800/HP-UX 10.0/SWR 6879 Rollup/OPT/Sat Feb 15 01:09:09
PST
user=SMOKES proces-id=220:194 term=SN40269 time=fri jun 12 12:44:43
cursor=1
Outgoing Parse SELECT dummysybs FROM dbo.dualsybs
user=SMOKES proces-id=220:194 term=SN40269 time=fri jun 12 12:44:44 cursor=1
Outgoing Parse SELECT dummysybs FROM dbo.dualsybs
user=SMOKES proces-id=220:194 term=SN40269 time=fri jun 12 12:45:37 cursor=1
SQLAllocEnv(phenv400779B0);
SQLAllocConnect(henv400779B0, phdbc400780E8);
SQLConnect(hdbc400780E8, "DEVELOPMENT", -3, "SMOKES", -3, "********",
-3);
SQLAllocStmt(hdbc400780E8, phstmt40087E00);
SQLGetInfo(hdbc400780E8, 72, rgbInfoValue, 4, pcbInfoValue); SQLGetInfo(hdbc400780E8, 28, rgbInfoValue, 2, pcbInfoValue); SQLGetInfo(hdbc400780E8, 7, rgbInfoValue, 16, pcbInfoValue); SQLGetInfo(hdbc400780E8, 17, rgbInfoValue, 25, pcbInfoValue); SQLGetInfo(hdbc400780E8, 18, rgbInfoValue, 100, pcbInfoValue);SQLSetConnectOption(hdbc400780E8, 108, 00000002); SQLSetConnectOption(hdbc400780E8, 102, 00000000); SQLAllocStmt(hdbc400780E8, phstmt40088100); SQLProcedures(hstmt40088100, "(null)", 0, "SMOKES", 6, "p_dts_update", 12);
Jayasaal Thuvassery wrote:
> Did you run the $ORACLE_HOME/tg4sybs/odbc/scripts/vsiproc4.sql script > in Sybase ? This creates some objects in Sybase to support the > procedural feature of the gaetway. > > JayReceived on Fri Jun 12 1998 - 00:00:00 CDT
![]() |
![]() |