Oracle Streams 9i Database Link Error

Can anyone be help me regarding Oracle Streams 9i
Oracle Version: 9.2.0.5.0
Initial parameters:
global_name=true
aq_tm_processes=1
job_queue_process=10
log_parallelism=1 scope=spfile
database is in archivelog;
I executed the following SQL statements:
CONNECT sys/xxxxx@db1 AS SYSDBA
CREATE USER strmadmin IDENTIFIED BY strmadminpw
DEFAULT TABLESPACE users QUOTA UNLIMITED ON users;
GRANT CONNECT, RESOURCE, SELECT_CATALOG_ROLE TO strmadmin;
GRANT EXECUTE ON DBMS_AQADM TO strmadmin;
GRANT EXECUTE ON DBMS_CAPTURE_ADM TO strmadmin;
GRANT EXECUTE ON DBMS_PROPAGATION_ADM TO strmadmin;
GRANT EXECUTE ON DBMS_STREAMS_ADM TO strmadmin;
GRANT EXECUTE ON DBMS_APPLY_ADM TO strmadmin;
GRANT EXECUTE ON DBMS_FLASHBACK TO strmadmin;
BEGIN
DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
privilege => DBMS_RULE_ADM.CREATE_RULE_SET_OBJ,
grantee => 'strmadmin',
grant_option => FALSE);
END;
BEGIN
DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
privilege => DBMS_RULE_ADM.CREATE_RULE_OBJ,
grantee => 'strmadmin',
grant_option => FALSE);
END;
CONNECT strmadmin/strmadminpw@db1
EXEC DBMS_STREAMS_ADM.SET_UP_QUEUE();
CREATE DATABASE LINK db2 CONNECT TO strmadmin IDENTIFIED BY strmadminpw USING 'DB2';
CONNECT sys/xxxxx@db2 AS SYSDBA
CREATE USER strmadmin IDENTIFIED BY strmadminpw
DEFAULT TABLESPACE users QUOTA UNLIMITED ON users;
GRANT CONNECT, RESOURCE, SELECT_CATALOG_ROLE TO strmadmin;
GRANT EXECUTE ON DBMS_AQADM TO strmadmin;
GRANT EXECUTE ON DBMS_CAPTURE_ADM TO strmadmin;
GRANT EXECUTE ON DBMS_PROPAGATION_ADM TO strmadmin;
GRANT EXECUTE ON DBMS_STREAMS_ADM TO strmadmin;
GRANT EXECUTE ON DBMS_APPLY_ADM TO strmadmin;
GRANT EXECUTE ON DBMS_FLASHBACK TO strmadmin;
BEGIN
DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
privilege => DBMS_RULE_ADM.CREATE_RULE_SET_OBJ,
grantee => 'strmadmin',
grant_option => FALSE);
END;
BEGIN
DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
privilege => DBMS_RULE_ADM.CREATE_RULE_OBJ,
grantee => 'strmadmin',
grant_option => FALSE);
END;
CONNECT strmadmin/strmadminpw@db2
EXEC DBMS_STREAMS_ADM.SET_UP_QUEUE();
CONNECT sys/xxxxx@db2 as sysdba
GRANT ALL ON scott.dept TO strmadmin;
CONNECT sys/xxxxx@db1 AS SYSDBA
CREATE TABLESPACE logmnr_ts DATAFILE 'D:\oracle\oradata\db1\logmnr01.dbf'
SIZE 25 M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
EXECUTE DBMS_LOGMNR_D.SET_TABLESPACE('logmnr_ts');
CONNECT sys/xxxxx@db1 AS SYSDBA
ALTER TABLE scott.dept ADD SUPPLEMENTAL LOG GROUP log_group_dept_pk (deptno) ALWAYS;
CONNECT strmadmin/strmadminpw@db1
BEGIN
DBMS_STREAMS_ADM.ADD_TABLE_PROPAGATION_RULES(
table_name => 'scott.dept',
streams_name => 'db1_to_db2',
source_queue_name => 'strmadmin.streams_queue',
destination_queue_name => 'strmadmin.streams_queue@db2',
include_dml => true,
include_ddl => true,
source_database => 'db1');
END;
CONNECT strmadmin/strmadminpw@db1
BEGIN
DBMS_STREAMS_ADM.ADD_TABLE_RULES(
table_name => 'scott.dept',
streams_type => 'capture',
streams_name => 'capture_simp',
queue_name => 'strmadmin.streams_queue',
include_dml => true,
include_ddl => true);
END;
Did this exp/imp
exp userid=scott/tiger@db1 FILE=dept_instant.dmp TABLES=dept OBJECT_CONSISTENT=y ROWS=n
imp userid=scott/tiger@db2 FILE=dept_instant.dmp IGNORE=y COMMIT=y LOG=import.log STREAMS_INSTANTIATION=y
and then
CONNECT sys/xxxxx@db2 AS SYSDBA
ALTER TABLE scott.dept DROP SUPPLEMENTAL LOG GROUP log_group_dept_pk;
CONNECT strmadmin/strmadminpw@db2
BEGIN
DBMS_STREAMS_ADM.ADD_TABLE_RULES(
table_name => 'scott.dept',
streams_type => 'apply',
streams_name => 'apply_simp',
queue_name => 'strmadmin.streams_queue',
include_dml => true,
include_ddl => true,
source_database => 'db1');
END;
CONNECT strmadmin/strmadminpw@db2
BEGIN
DBMS_APPLY_ADM.SET_PARAMETER(
apply_name => 'apply_simp',
parameter => 'disable_on_error',
value => 'n');
DBMS_APPLY_ADM.START_APPLY(
apply_name => 'apply_simp');
END;
CONNECT strmadmin/strmadminpw@db1
BEGIN
DBMS_CAPTURE_ADM.START_CAPTURE(
capture_name => 'capture_simp');
END;
Here is my problem:
After i configured it the streams still cannot replicate. And when I checked the EM GUI for streams monitoring it displays a broken database link.
Also it says that the database link is not active.
Can anyone please help?
Thanks.

I don't know what Datacomp is, but you should be able
to connect to any non-Oracle database if there is
an ODBC driver for it. You would use Generic
Heterogeneous Services to do this. See the following
link to the documentation for details:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96544/gencon.htm#1656
There are also several articles on the Net. Do a google
search on oracle generic heterogeneous services /
connectivity.
Hope this helps.
Kailash.

Similar Messages

  • How do we connect two databases in Oracle other than Database Link?

    Good Morning,
    How do we connect two databases in Oracle other than Database Link?
    I am using Oracle 10g, I heard that we can connect two database in Oracle through ODBC. Is it possible? How?
    Thanks
    Nihar

    See if this helps.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358

  • Database Link Error: From Oracle to SQL Servre

    Hi,
    I am trying to create a database link from my Oracle database to SQL Server. Oacle is 11gR2 on windows 2012 64-Bit same is the OS for SQL Server.
    When i execute the query using link, this is the error what i get:
    *ORA-28545: error diagnosed by Net8 when connecting to an agent*
    *Unable to retrieve text of NETWORK/NCR message 65535*
    *ORA-02063: preceding 2 lines from PMS2KPI*
    When i look for this error in *listener.ora* file, this is what i found
    30-OCT-2014 09:51:48 * (CONNECT_DATA=(SID=pms2kpi)(CID=(PROGRAM=)(HOST=GARMCO\GRBHORDB01)(USER=GARMCO\PMS2Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::54d2:d482:edf0:8543%12)(PORT=52016)) * establish * pms2kpi * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
      TNS-00530: Protocol adapter error
       64-bit Windows Error: 2: No such file or directory
    30-OCT-2014 09:51:48 * (CONNECT_DATA=(SID=pms2kpi)(CID=(PROGRAM=)(HOST=GARMCO\GRBHORDB01)(USER=GARMCO\PMS2Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.107.145.26)(PORT=52017)) * establish * pms2kpi * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
      TNS-00530: Protocol adapter error
       64-bit Windows Error: 2: No such file or directory
    Thu Oct 30 09:52:58 201
    When I look for the details in *alert.log* file, i find this
    HS:  Unable to establish RPC connection to HS Agent...
    HS:  ... Agent SID = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=GRBHORDB01.garmco.local)(Port=1521)))(CONNECT_DATA=(SID=pms2kpi))),
    NCR error = 65535 Unable to retrieve text of NETWORK/NCR message 65535
    Thu Oct 30 09:52:25 2014
    My configuration seems to be ok....
    *initpms2kpi.ora file*
    #HS_FDS_CONNECT_INFO=[GRBHSQDB01.garmco.local]/KPI
    HS_FDS_CONNECT_INFO="SERVER=GRBHSQDB01;DATABASE=KPI"
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=HS_RECOVERY
    HS_FDS_RECOVERY_PWD=********
    HS_FDS_TRANSACTION_LOG=HS_TRANSACTION_LOG
    HS_FDS_TRANSACTION_MODEL=COMMIT_CONFIRM
    HS_COMMIT_POINT_STRENGTH=0
    *Listener.ora file*
        (SID_DESC =
          (SID_NAME = pms2kpi)
          (ORACLE_HOME = C:\App\Oracle\product\11.2.0\dbhome_1)
          (program = tg4msql)
    *tnsnames.ora file*
    pms2kpi =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP)(Host = GRBHORDB01.garmco.local)(Port = 1521))
        (CONNECT_DATA =
          (SID = pms2kpi)
       (HS=OK)
    How can I check if some firewall is blocking the connection, or its a port issue... or maybe something wrong in the configuration, but chances are very less for this.
    Kindly help if you have gone thru such an error.
    Regards, Imran

    Hi,
      In the listener.ora you have -
       (program = tg4msql)
    but with 11g gateways the executable name has been changed and you should change the entry to -
       (program = dg4msql)
    then stop and start the listener.
    If you installed the gateway into an existing ORACLE_HOME then the gateway version must be the same version as the software already installed.
    For example, if the existing software was 11.2.0.4 and you  installed 11.2.0.1 gateway this will give you problems and most likely the gateway executable will be 0 (zero) in size.
    Regards,
    Mike

  • Oracle and SQL Server Database Link errors

    I am having following error messages while setting up the ODBC connection. I want to access SQL Server tables from within Oracle8i. I have followed all the instruction of Oracle Generic Connectity document and have tested ODBC connection with ODBCPING as well as with TNSPING. Have created Database Link also within Oracle for SQL Server. But when I access the SQL Server table from within Oracle I get the following error messages.
    ORA-12500: TNS:listener failed to start a dedicated server process
    Could any body suggestion the solution please.
    Thanks and regards,
    Ghulam Mallah

    There is a Heterogenous Services/ Generic Connectivity forum that is probably going to have a lot more people familiar with these issues than you'll find in this forum. I would suggest posting over there.
    Justin

  • Database link error when compiling forms 6.0 and forms 6i.

    Dear sirs,
    We have a database link between two databases of the same version oracle 8.0.5.
    Recently we have upgraded one of our databases to version 9.2.0.1 (the database where the database link was originally created ) and now we are having problems when compiling forms that have PL/SQL blocks using the database link.
    The error message received when compiling the form is the following:
    ORA-02068: Following severe error from dbproduc.world
    ORA-00600: Internal error code, arguments: [No conversion op],[],[],[],[],[],[],[]
    The forms did not present this error before, it began when we made the upgrade.
    Is this a FORMS 6.0 problem ?
    Is this an ORACLE 8.0.5 problem ?
    Is this an ORACLE 9.2.0.1 problem ?
    Can you please give me some advice to solve this problem ?
    Thanks in advance

    As I see, when you use a non-oracle database the tables don`t appear, you must create the realation with the table manually, on the properties

  • Database link error - ORA-01017

    Hello all. I have a problem with a database link. I create the link like this -
    create database link agenda
    connect to user1 identified by user1pw
    using 'agenda'
    ... I have read where you need to make the link name the same as the Net8 name. I create the link, no problem.
    Then when I try to use it -
    select * from myTable@agenda
    ... I get a ORA-01017: invalid username/password error.
    This is impossible! I use the agenda service in Toad no problem, and log in with the same user/password.
    Anyone have any idea what's going on here? I have tried re-doing links for every database I have, all with Net8 services that are working, and with correct,usernames/passwords, and they all give me the same answer! Help
    -bob
    null

    Try with agenda.us.oracle.com

  • Database Link Error to MySQL when using variables

    Hi Guys
    I currently hava a database link to MySQL. I can read, insert, delete and update with no problems when using literals. However when I attempt to carry out the same actions using pl/sql variables I recieve the following error:
    ORA-02055: distributed update operation failed; rollback required
    ORA-02068: following severe error from AAA1
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ProdDB.btl.net)(PORT=1527))(CONNECT_DATA=(SID=AAA1)))
    ORA-06512: at line 15
    Could you kindly give me some suggestions?
    PL/SQL Code
    Declare
    MSISDN2 char(8);
    IMSI2 number(28,0);
    ICC2 number(28,0);
    cnt number(28,0);
    Begin
    MSISDN2 :='610-0850';
    IMSI2:=8950167090300132451;
    ICC2:=702670161017765;
    delete from "SUBSCRIBERS"@AAA1 where "MSISDN" = MSISDN2;--"ICC" = ICC2 or "IMSI" = IMSI2;
    End;
    System Info:
    Oracle Database 10.2.0.5.0 on Redhat Linux 64 bit
    Oracle Database Gateways for ODBC 11.2.0.1.0 on same machine as above
    UnixODBC-3.2.1 compiled in 64bit mode on same machine as well
    MySQL ODBC Connector DriverVer:05.02.0002
    ODBC DSN
    ; odbc.ini configuration for Connector/ODBC and Connector/ODBC 3.51 drivers
    [ODBC Data Sources]
    AAA1 = MyODBC 5.2.2 Driver DSN
    [AAA1]
    Driver = /usr/lib64/libmyodbc5w.so
    Description = Connector/ODBC 5.52 Driver DSN
    SERVER = 10.50.18.89
    USER = tytancc2
    Password = xxxxxx
    Database = radiator
    OPTION = 3
    CHARSET = latin1
    Trace = yes
    TraceFile = /tmp/unixodbc.sql.log
    Debug = 1
    Debugfile = /tmp/unixodbc.debug.log
    HS File
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = AAA1
    #HS_FDS_TRACE_LEVEL = 255
    HS_FDS_TRACE_LEVEL = DEBUG
    #HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5w.so
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so.2
    HS_FDS_SQLLEN_INTERPRETATION=32
    #HS_LANGUAGE = AMERICAN_AMERICA.AL32UTF8
    #HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P15
    #HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
    HS_LANGUAGE = AMERICAN_AMERICA.LATIN1
    HS_FDS_FETCH_ROWS=1
    #HS_NLS_NCHAR= UCS2
    #HS_OPEN_CURSORS=10
    # ODBC specific environment variables
    set ODBCINI=/u01/oracle/.odbc.ini
    set ODBCINSTINI=/etc/odbcinst.ini
    # Environment variables required for the non-Oracle system
    set LD_LIBRARY_PATH=/usr/lib64
    Trace File
    Oracle Corporation --- FRIDAY FEB 08 2013 22:01:40.555
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- FRIDAY FEB 08 2013 22:01:40.549
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    HOSGIP returned value of "1" for HS_FDS_FETCH_ROWS
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    HOSGIP returned value of "32" for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "AAA1"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:AAA1
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=31
    HOCXU_SEM_VER=102000
    Entered hgolofn at 2013/02/08-22:01:40
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so.2"
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a08f61
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a090e5
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a09c18
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a0b6dc
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a17bc4
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a182e8
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1bc40
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1dad8
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1e6dc
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a20bae
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a20bd0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a22f44
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a276d4
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a27b90
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2a4a4
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2b574
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2b99c
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2e65c
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2ecd0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a31db8
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a31ac0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a0c47c
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a0e884
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a14943
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1714a
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a19327
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1d2ce
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1f648
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a210c7
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a23990
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2414c
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a25d26
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a26cc0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a288a8
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a28c67
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a29e88
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2c51e
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2ccfa
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2d5c0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2de92
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2f088
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a33fa4
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a315fe
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a36de2
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a380ec
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Exiting hgolofn, rc=0 at 2013/02/08-22:01:40
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    treat_SQLLEN_as_compiled = 0
    Exiting hgoinit, rc=0 at 2013/02/08-22:01:40
    Entered hgolgon at 2013/02/08-22:01:40
    reco:0, name:tytancc2, tflag:0
    Entered hgosuec at 2013/02/08-22:01:40
    Exiting hgosuec, rc=0 at 2013/02/08-22:01:40
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using tytancc2 as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2013/02/08-22:01:40
    HS_FDS_CONNECT_INFO = "AAA1"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2013/02/08-22:01:40
    dsn:AAA1, name:tytancc2
    optn:
    Entered hgocip at 2013/02/08-22:01:40
    dsn:AAA1
    Exiting hgocip, rc=0 at 2013/02/08-22:01:40
    Exiting hgogenconstr, rc=0 at 2013/02/08-22:01:40
    Entered hgolosf at 2013/02/08-22:01:45
    Exiting hgolosf, rc=0 at 2013/02/08-22:01:45
    DriverName:libmyodbc5w.so, DriverVer:05.02.0002
    DBMS Name:MySQL, DBMS Version:5.1.66-community-log
    Exiting hgocont, rc=0 at 2013/02/08-22:01:45
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2013/02/08-22:01:45
    Entered hgoulcp at 2013/02/08-22:01:45
    Entered hgowlst at 2013/02/08-22:01:45
    Exiting hgowlst, rc=0 at 2013/02/08-22:01:45
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    16 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    capno:3042, context:0x00000000, add-info: 0, translation:"42"
    capno:3047, context:0x00000000, add-info: 0, translation:"57"
    capno:3049, context:0x00000000, add-info: 0, translation:"59"
    capno:3050, context:0x00000000, add-info: 0, translation:"60"
    capno:3066, context:0x00000000, add-info: 0
    capno:3067, context:0x00000000, add-info: 0
    capno:3068, context:0x00000000, add-info: 0
    capno:3069, context:0x00000000, add-info: 0
    capno:3500, context:0x00000001, add-info: 91, translation:"42"
    capno:3501, context:0x00000001, add-info: 93, translation:"57"
    capno:3502, context:0x00000001, add-info: 107, translation:"59"
    capno:3503, context:0x00000001, add-info: 110, translation:"60"
    Exiting hgoulcp, rc=0 at 2013/02/08-22:01:45
    Entered hgouldt at 2013/02/08-22:01:45
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2013/02/08-22:01:45
    Entered hgobegn at 2013/02/08-22:01:45
    tflag:0 , initial:1
    hoi:0x9671a48, ttid (len 26) is ...
    00: 54595441 4E2E6438 32323564 62642E32 [TYTAN.d8225dbd.2]
    10: 392E372E 33313031 3433 [9.7.310143]
    tbid (len 10) is ...
    0: 1D000700 7FBB0400 0104 [..........]
    Exiting hgobegn, rc=0 at 2013/02/08-22:01:45
    Entered hgopdsc at 2013/02/08-22:01:45
    Describing procedure SUBSCRIBERS
    Output hoada
    hgopdsc, line 1406: NO hoada to print
    Exiting hgopdsc, rc=942 at 2013/02/08-22:01:45
    Entered hgodtab at 2013/02/08-22:01:45
    count:1
    table: SUBSCRIBERS
    Allocate hoada[0] @ 0x3a23590
    Entered hgopcda at 2013/02/08-22:01:45
    Column:1(MSISDN): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:2(IMSI): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:3(ICC): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:4(CHECKATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:5(REPLYATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:6(TIMELEFT): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:7(ELIMINATED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:8(SUSPENDED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    The hoada for table SUBSCRIBERS follows...
    hgodtab, line 876: Printing hoada @ 0x3a23590
    MAX:8, ACTUAL:8, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR,0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 8 8 0/ 0 0 0 200 MSISDN
    -5 BIGINT N 8 8 0/ 0 0 0 20 IMSI
    -5 BIGINT N 8 8 0/ 0 0 0 20 ICC
    1 CHAR Y 200 200 0/ 0 0 0 200 CHECKATTR
    1 CHAR Y 200 200 0/ 0 0 0 200 REPLYATTR
    -5 BIGINT Y 8 8 0/ 0 0 0 20 TIMELEFT
    -5 BIGINT Y 8 8 0/ 0 0 0 20 ELIMINATED
    -5 BIGINT Y 8 8 0/ 0 0 0 20 SUSPENDED
    Exiting hgodtab, rc=0 at 2013/02/08-22:01:45
    Entered hgodafr, cursor id 0 at 2013/02/08-22:01:45
    Free hoada @ 0x3a23590
    Exiting hgodafr, rc=0 at 2013/02/08-22:01:45
    Entered hgopars, cursor id 1 at 2013/02/08-22:01:45
    type:0
    SQL text from hgopars, id=1, len=134 ...
    00: 53454C45 43542041 312E604D 53495344 [SELECT A1.`MSISD]
    10: 4E602C41 312E6049 4D534960 2C41312E [N`,A1.`IMSI`,A1.]
    20: 60494343 602C4131 2E604348 45434B41 [`ICC`,A1.`CHECKA]
    30: 54545260 2C41312E 60524550 4C594154 [TTR`,A1.`REPLYAT]
    40: 5452602C 41312E60 54494D45 4C454654 [TR`,A1.`TIMELEFT]
    50: 602C4131 2E60454C 494D494E 41544544 [`,A1.`ELIMINATED]
    60: 602C4131 2E605355 5350454E 44454460 [`,A1.`SUSPENDED`]
    70: 2046524F 4D206053 55425343 52494245 [ FROM `SUBSCRIBE]
    80: 52536020 4131 [RS` A1]
    Exiting hgopars, rc=0 at 2013/02/08-22:01:45
    Entered hgoopen, cursor id 1 at 2013/02/08-22:01:45
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2013/02/08-22:01:45
    Entered hgodscr, cursor id 1 at 2013/02/08-22:01:45
    Allocate hoada @ 0x3a23538
    Entered hgopcda at 2013/02/08-22:01:45
    Column:1(MSISDN): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:2(IMSI): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:3(ICC): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:4(CHECKATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:5(REPLYATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:6(TIMELEFT): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:7(ELIMINATED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:8(SUSPENDED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    hgodscr, line 880: Printing hoada @ 0x3a23538
    MAX:8, ACTUAL:8, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR,0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 8 8 0/ 0 0 0 200 MSISDN
    -5 BIGINT N 8 8 0/ 0 0 0 20 IMSI
    -5 BIGINT N 8 8 0/ 0 0 0 20 ICC
    1 CHAR Y 200 200 0/ 0 0 0 200 CHECKATTR
    1 CHAR Y 200 200 0/ 0 0 0 200 REPLYATTR
    -5 BIGINT Y 8 8 0/ 0 0 0 20 TIMELEFT
    -5 BIGINT Y 8 8 0/ 0 0 0 20 ELIMINATED
    -5 BIGINT Y 8 8 0/ 0 0 0 20 SUSPENDED
    Exiting hgodscr, rc=0 at 2013/02/08-22:01:45
    Entered hgoclse, cursor id 1 at 2013/02/08-22:01:46
    Exiting hgoclse, rc=0 at 2013/02/08-22:01:46
    Entered hgodafr, cursor id 1 at 2013/02/08-22:01:46
    Free hoada @ 0x3a23538
    Exiting hgodafr, rc=0 at 2013/02/08-22:01:46
    Entered hgopars, cursor id 1 at 2013/02/08-22:01:46
    type:0
    SQL text from hgopars, id=1, len=56 ...
    00: 44454C45 54452046 524F4D20 60535542 [DELETE FROM `SUB]
    10: 53435249 42455253 60205748 45524520 [SCRIBERS` WHERE ]
    20: 60535542 53435249 42455253 602E604D [`SUBSCRIBERS`.`M]
    30: 53495344 4E603D3F [SISDN`=?]
    Exiting hgopars, rc=0 at 2013/02/08-22:01:46
    Entered hgoexec, cursor id 1 at 2013/02/08-22:01:46
    octype=3 (DELETE)
    hgoexec, line 108: Printing hoada @ 0x3a23538
    MAX:1, ACTUAL:1, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 8 0 0/ 0 31 0 200 ?
    Entered hgoprbv at 2013/02/08-22:01:46
    hgoprbv, line 145: Printing hoada @ 0x3a23538
    MAX:1, ACTUAL:1, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 8 0 0/ 0 31 0 200 ?
    Exiting hgoprbv, rc=0 at 2013/02/08-22:01:46

              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.979016][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979038][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_BIGINT
    [ODBC][379][1360881002.979073][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979096][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979122][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979144][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979169][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979191][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979220][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979242][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979267][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979289][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979310][SQLFetch.c][348]
              Exit:[SQL_NO_DATA]
    [ODBC][379][1360881002.979332][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.979354][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979376][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_BIGINT
    [ODBC][379][1360881002.979411][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979437][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979463][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979486][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979511][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979533][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979559][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979581][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979606][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979644][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.979667][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979689][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_TINYINT
    [ODBC][379][1360881002.979728][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979762][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979801][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979835][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979882][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979920][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979962][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979998][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980040][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980074][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980107][SQLFetch.c][348]
              Exit:[SQL_NO_DATA]
    [ODBC][379][1360881002.980140][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.980176][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980214][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_TINYINT
    [ODBC][379][1360881002.980270][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980313][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980356][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980392][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980435][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980471][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980512][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980547][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980588][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980624][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.980661][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980694][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_LONGVARCHAR
    [ODBC][379][1360881002.980749][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980785][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980827][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980862][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.980903][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980938][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_LONGVARBINARY
    [ODBC][379][1360881002.980993][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.981028][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.981070][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.981105][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.981140][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.981175][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 2
    [ODBC][379][1360881002.981208][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.994533][SQLEndTran.c][421]
              Entry:               
                   Connection = 0x123d8530               
                   Completion Type = 0
    [ODBC][379][1360881002.996504][SQLGetInfo.c][554]
              Entry:
                   Connection = 0x123d8530
                   Info Type = SQL_CURSOR_COMMIT_BEHAVIOR (23)
                   Info Value = 0x123d99a0
                   Buffer Length = 2
                   StrLen = 0x7fffe2e98e5e
    [ODBC][379][1360881002.996546][SQLGetInfo.c][617]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.996572][SQLGetInfo.c][554]
              Entry:
                   Connection = 0x123d8530
                   Info Type = SQL_CURSOR_ROLLBACK_BEHAVIOR (24)
                   Info Value = 0x123d99a2
                   Buffer Length = 2
                   StrLen = 0x7fffe2e98e5e
    [ODBC][379][1360881002.996613][SQLGetInfo.c][617]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.996636][SQLEndTran.c][574]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.996666][SQLSetConnectAttr.c][396]
              Entry:
                   Connection = 0x123d8530
                   Attribute = SQL_ATTR_TXN_ISOLATION
                   Value = 0x2
                   StrLen = -5
    [ODBC][379][1360881002.999108][SQLSetConnectAttr.c][852]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.002982][SQLAllocHandle.c][540]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x123d8530
    [ODBC][379][1360881003.003054][SQLAllocHandle.c][1081]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x12439eb0
    [ODBC][379][1360881003.003087][SQLFreeHandle.c][381]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x12401d00
    [ODBC][379][1360881003.003139][SQLFreeHandle.c][491]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003164][SQLAllocHandle.c][540]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x123d8530
    [ODBC][379][1360881003.003196][SQLAllocHandle.c][1081]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x12401d00
    [ODBC][379][1360881003.003221][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 4
                   Target Type = 1 SQL_CHAR
                   Target Value = 0x7fffe2e98dc0
                   Buffer Length = 124
                   StrLen Or Ind = 0x7fffe2e98e90
    [ODBC][379][1360881003.003249][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003273][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 5
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe2e98f58
                   Buffer Length = 0
                   StrLen Or Ind = (nil)
    [ODBC][379][1360881003.003296][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003319][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 6
                   Target Type = 1 SQL_CHAR
                   Target Value = 0x7fffe2e98d28
                   Buffer Length = 120
                   StrLen Or Ind = 0x7fffe2e98eb8
    [ODBC][379][1360881003.003342][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003365][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 7
                   Target Type = -16 SQL_C_SLONG
                   Target Value = 0x7fffe2e98f34
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe2e98e98
    [ODBC][379][1360881003.003387][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003410][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 9
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe2e98f5c
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe2e98ea0
    [ODBC][379][1360881003.003433][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003456][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 10
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe2e98f64
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe2e98ec0
    [ODBC][379][1360881003.003479][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003501][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 11
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe2e98f60
                   Buffer Length = 0
                   StrLen Or Ind = (nil)
    [ODBC][379][1360881003.003524][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003547][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 16
                   Target Type = -16 SQL_C_SLONG
                   Target Value = 0x7fffe2e98f40
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe2e98ea8
    [ODBC][379][1360881003.003572][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003623][SQLColumns.c][215]
              Entry:
                   Statement = 0x12401d00
                   Catalog Name = [radiator][length = 8]
                   Schema Name = [NULL]
                   Table Name = [SUBSCRIBERS2][length = 12]
                   Column Name = [NULL]
    [ODBC][379][1360881003.014993][SQLColumns.c][412]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015172][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015247][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015361][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015396][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015479][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015513][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015613][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015647][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015726][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015758][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015836][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015870][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015961][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015994][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.016072][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.016104][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.016183][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.016209][SQLFetch.c][348]
              Exit:[SQL_NO_DATA]
    [ODBC][379][1360881003.016284][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881003.016311][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.016438][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 2
    [ODBC][379][1360881003.016465][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.016489][SQLFreeHandle.c][381]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x12439eb0
    [ODBC][379][1360881003.016521][SQLFreeHandle.c][491]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.029258][SQLAllocHandle.c][540]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x123d8530
    [ODBC][379][1360881003.029318][SQLAllocHandle.c][1081]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x12439eb0
    [ODBC][379][1360881003.029350][SQLPrepare.c][196]
              Entry:
                   Statement = 0x12439eb0
                   SQL = [SELECT A1.`CHECKATTR` FROM `SUBSCRIBERS2` A1 WHERE A1.`MSISDN`='610-0850'][length = 73]
    [ODBC][379][1360881003.029450][SQLPrepare.c][371]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.029482][SQLNumResultCols.c][156]
              Entry:
                   Statement = 0x12439eb0
                   Column Count = 0x123c4538
    [ODBC][379][1360881003.033825][SQLNumResultCols.c][248]
              Exit:[SQL_SUCCESS]
                   Count = 0x123c4538 -> 1
    [ODBC][379][1360881003.034106][SQLDescribeCol.c][247]
              Entry:
                   Statement = 0x12439eb0
                   Column Number = 1
                   Column Name = 0x7fffe2e98c80
                   Buffer Length = 31
                   Name Length = 0x7fffe2e98dc4
                   Data Type = 0x7fffe2e98dc8
                   Column Size = 0x7fffe2e98d60
                   Decimal Digits = 0x7fffe2e98dcc
                   Nullable = 0x7fffe2e98dd0
    [ODBC][379][1360881003.034152][SQLDescribeCol.c][497]
              Exit:[SQL_SUCCESS]               
                   Column Name = [CHECKATTR]               
                   Data Type = 0x7fffe2e98dc8 -> 1               
                   Column Size = 0x7fffe2e98d60 -> 200               
                   Decimal Digits = 0x7fffe2e98dcc -> 0               
                   Nullable = 0x7fffe2e98dd0 -> 1
    [ODBC][379][1360881003.034182][SQLColAttribute.c][293]
              Entry:
                   Statement = 0x12439eb0
                   Column Number = 1
                   Field Identifier = SQL_DESC_OCTET_LENGTH
                   Character Attr = (nil)
                   Buffer Length = 0
                   String Length = (nil)
                   Numeric Attribute = 0x7fffe2e98d68
    [ODBC][379][1360881003.034245][SQLColAttribute.c][664]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.034336][SQLSetStmtAttr.c][265]
              Entry:
                   Statement = 0x12439eb0
                   Attribute = SQL_ATTR_ROW_ARRAY_SIZE
                   Value = 0x1
                   StrLen = 0
    [ODBC][379][1360881003.034370][SQLSetStmtAttr.c][925]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.038845][SQLAllocHandle.c][540]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x123d8530
    [ODBC][379][1360881003.038910][SQLAllocHandle.c][1081]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x1244ae50
    [ODBC][379][1360881003.038941][SQLPrepare.c][196]
              Entry:
                   Statement = 0x1244ae50
                   SQL = [SELECT A1.`CHECKATTR` FROM `SUBSCRIBERS2` A1 WHERE A1.`MSISDN`='610-0850'][length = 73]
    [ODBC][379][1360881003.038986][SQLPrepare.c][371]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.039011][SQLNumResultCols.c][156]
              Entry:
                   Statement = 0x1244ae50
                   Column Count = 0x123c45c0
    [ODBC][379][1360881003.041037][SQLNumResultCols.c][248]
              Exit:[SQL_SUCCESS]
                   Count = 0x123c45c0 -> 1
    [ODBC][379][1360881003.041271][SQLDescribeCol.c][247]
              Entry:
                   Statement = 0x1244ae50
                   Column Number = 1
                   Column Name = 0x7fffe2e98c80
                   Buffer Length = 31
                   Name Length = 0x7fffe2e98dc4
                   Data Type = 0x7fffe2e98dc8
                   Column Size = 0x7fffe2e98d60
                   Decimal Digits = 0x7fffe2e98dcc
                   Nullable = 0x7fffe2e98dd0
    [ODBC][379][1360881003.041311][SQLDescribeCol.c][497]
              Exit:[SQL_SUCCESS]               
                   Column Name = [CHECKATTR]               
                   Data Type = 0x7fffe2e98dc8 -> 1               
                   Column Size = 0x7fffe2e98d60 -> 200               
                   Decimal Digits = 0x7fffe2e98dcc -> 0               
                   Nullable = 0x7fffe2e98dd0 -> 1
    [ODBC][379][1360881003.041337][SQLColAttribute.c][293]
              Entry:
                   Statement = 0x1244ae50
                   Column Number = 1
                   Field Identifier = SQL_DESC_OCTET_LENGTH
                   Character Attr = (nil)
                   Buffer Length = 0
                   String Length = (nil)
                   Numeric Attribute = 0x7fffe2e98d68
    [ODBC][379][1360881003.041362][SQLColAttribute.c][664]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.041444][SQLSetStmtAttr.c][265]
              Entry:
                   Statement = 0x1244ae50
                   Attribute = SQL_ATTR_ROW_ARRAY_SIZE
                   Value = 0x1
                   StrLen = 0
    [ODBC][379][1360881003.041472][SQLSetStmtAttr.c][925]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.043645][SQLExecute.c][187]
              Entry:
                   Statement = 0x1244ae50
    [ODBC][379][1360881003.048482][SQLExecute.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.048531][SQLBindCol.c][236]
              Entry:
                   Statement = 0x1244ae50
                   Column Number = 1
                   Target Type = 1 SQL_CHAR
                   Target Value = 0x12438f50
                   Buffer Length = 201
                   StrLen Or Ind = 0x12439060
    [ODBC][379][1360881003.048559][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.048597][SQLFetch.c][162]
              Entry:
                   Statement = 0x1244ae50
    [ODBC][379][1360881003.048640][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]

  • Report over database link error

    Good morning all.
    I have a database link LINKA from USERA on LOCALSERVER to USERB on REMOTESERVER.
    (create database link LINKA connect to USERB identified by mypassword using validtns)
    In USERC on REMOTESERVER I have a TABLEX, with grant all on TABLEX to USERB on REMOTESERVER.
    In USERB on REMOTESERVER I have a view TABLEXV, select * from USERC.TABLEX
    From USERA on LOCALSERVER I can select * from TABLEXV@LINKA. In fact I can insert/update/delete tablexv from USERA.
    I also have a view TABLEXV on USERA, select * from TABLEXV@LINKA. I can also select/insert/update/delete from USERA.TABLEXV.
    So far so good - all working as expected.
    Then, my APEX app on LOCALSERVER, interactive report, parsing schema USERA, querying TABLEXV, I get the following:
    when "Exclude Link Column", I get the error "The requested URL /pls/apex/f was not found on server.
    when "Link to Single Row View", report displays correctly.
    when "Link to Custom Target", I get the error "The requested URL /pls/apex/f was not found on server.
    When I run the select * from TABLEXV as a regular report (i.e. not interactive), I also get the error.
    So the only time I get the report displayed correctly is using IR and "Link to Single Row View".
    However, clicking on the link (for Single Row View) I get "The requested URL /pls/apex/wwv_flow.show was not found on this server.".
    To summarize:
    - accessing table via view over database link
    - works outside of apex without issue
    - inside only works when Link to Single Row View set
    - But clicking on link fails
    I could live with just having the Link to Singe Row View option if I could disable displaying of the icon so that the user cant click on it.
    APEX 3.2.00.27
    EE Database - 10.2.0.3 (yes I know out of support)
    Remote EE Database - 10.2.0.5
    Real object names replaced to protect the innocent!
    Anyone got any clues?
    I have used remote tables many times in my APEX applications and never had this issue.
    Thanks,
    Rob @ very confused .com

    Good morning all.
    I have a database link LINKA from USERA on LOCALSERVER to USERB on REMOTESERVER.
    (create database link LINKA connect to USERB identified by mypassword using validtns)
    In USERC on REMOTESERVER I have a TABLEX, with grant all on TABLEX to USERB on REMOTESERVER.
    In USERB on REMOTESERVER I have a view TABLEXV, select * from USERC.TABLEX
    From USERA on LOCALSERVER I can select * from TABLEXV@LINKA. In fact I can insert/update/delete tablexv from USERA.
    I also have a view TABLEXV on USERA, select * from TABLEXV@LINKA. I can also select/insert/update/delete from USERA.TABLEXV.
    So far so good - all working as expected.
    Then, my APEX app on LOCALSERVER, interactive report, parsing schema USERA, querying TABLEXV, I get the following:
    when "Exclude Link Column", I get the error "The requested URL /pls/apex/f was not found on server.
    when "Link to Single Row View", report displays correctly.
    when "Link to Custom Target", I get the error "The requested URL /pls/apex/f was not found on server.
    When I run the select * from TABLEXV as a regular report (i.e. not interactive), I also get the error.
    So the only time I get the report displayed correctly is using IR and "Link to Single Row View".
    However, clicking on the link (for Single Row View) I get "The requested URL /pls/apex/wwv_flow.show was not found on this server.".
    To summarize:
    - accessing table via view over database link
    - works outside of apex without issue
    - inside only works when Link to Single Row View set
    - But clicking on link fails
    I could live with just having the Link to Singe Row View option if I could disable displaying of the icon so that the user cant click on it.
    APEX 3.2.00.27
    EE Database - 10.2.0.3 (yes I know out of support)
    Remote EE Database - 10.2.0.5
    Real object names replaced to protect the innocent!
    Anyone got any clues?
    I have used remote tables many times in my APEX applications and never had this issue.
    Thanks,
    Rob @ very confused .com

  • Database Link Error

    Here is the scenario,
    1. Three databases, say DB_1, DB_2 and DB_3 are available in the system.
    2. Two database links are created , say LINK_A and LINK_B where LINK_A is to connect to DB_2 from DB_1 and LINK_B is to connect to DB_3 from DB_2.
    3. There is a table TABLE_1 available in DB_3 and the corresponding synonym DB3_TABLE_1 is created in DB_2. Also, a synonym DB2_DB3_TABLE_1 is created in DB_1 for the above said synonym (and not directly for the table in DB_3).
    4. In SQl*Plus of DB_1 , if use select statement like
    SELECT col_1, col_2...
    FROM DB2_DB3_TABLE_1
    works fine and gives me the result without any error but if use this same statement inside a procedure in DB_1 I couldn't compile this procedure and I'm getting the following error:
    "ORA-04054: database link LINK_B does not exist"
    Why is this difference? Why I'm getting this error in the procedure but not in the SQL*Plus for the same type of statement?.
    Help would be appreciated.
    Thanks
    -Krishnamurthy

    Forum software seems to be misbehaving again!!!
    My reply posted on 7th Sep is shown as posted on 3rd Sep?
    Lets see if it gets right this time?
    How are the database links created - fixed, current, public?
    Your options include to create a view on the DB_2 (and not a synonym).

  • Oracle Reports Java API link Error

    The Oracle Reports Java API link on the Oracle Reports page produces an error.
    http://www.oracle.com/technology/products/reports/htdocs/getstart/docs/index.html

    1) In Oracle Reports *10g*, Reports services are exposed as a webservice. Though it does not contain all possible actions, you can use it to run report, get job info and some other operations . [ Other than this there is no exposed java API yet ]
    Please see chapter 14
    "Using the Oracle Reports Web Service"
    in http://download-west.oracle.com/docs/html/B10314_01/toc.htm
    Thanks
    The Oracle Reports Team

  • Oracle 9.20 DataBase Creation error

    Hello,
    I am a GIS developer and i should use Oracle 9i beacuse of my other software like ArcSDE and ArcGIS server version.
    I have a problem when i want to create a database using "DataBase Configration Assistante".
    On 81% and on "Creating and Starting Oracle Instance" i get an error without any message.
    it's a page that have an information icon and an ok buttoun but without any message.
    I sorry for my bad english.
    Please help me to solve it.
    Thanks
    S.Mehdi Hosseiny

    No help is possible based on what you've written. Can you find someone to help you post more complete information? Here's what we need.
    1. Operating system
    2. Hardware platform and amount of RAM and available disk
    3. The exact and complete 9i version
    4. The exact error reported and the installation log file portion that includes the error message plus what preceded it.

  • Oracle Streams and Database Encryption

    I am looking for encryption method for OLTP database.
    Oracle Streams will be used to synchronize the data between source and remote database.
    Business process wants all remote database to be fully encrypted.
    What Can I use?
    - TDE is not supported with Oracle Streams,
    - I can’t use DBMS_CRYPTO since it needs big Database modifications.
    Any other Oracle supported techniques, or maybe I’m gonna need to consider hardware encryption (like hard disk encryption) or OS level encryption.
    Thanks,

    TDE is not supported with LogMiner based technologies such as Streams, Data Guard (logical standby). Therefore you can not use TDE to replicated encrypted content. --You will get exception "Unsupported data type"
    But, you might replicate decrypted data into encrypted destination. This means your destination might have TDE encrypted columns.
    Unofficially Oracle will support TDE with logminer based technologies in the next database version 11.
    I am waiting for this.
    Regards,
    Mike

  • Database Link Error ORA-00904: "function_name": invalid identifier

    Hi Everyone,
    We are using Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production.
    We have production and reporting databases. We have a link from reporting to production that we use to create tables on the reporting database by selecting from tables and/or views on the productions database.
    We have to problem selecting from any view or table unless the query uses a stored function on the production database. Then we get the ORA-00904: "function_name": invalid identifier error even though the user that uses the link is created on both databases and the user hase execute privileges on the function.
    Has anyone else ever had this problem or have any suggestions?
    Any help would be greatly appreciated.
    Thanks!
    Ken

    Hi
    Post an example.
    Ott Karesz
    http://www.trendo-kft.hu

  • Database link from Oracle to MySQL with the use of unixODBC

    Hi,
    I have 2 servers.
    Server A:
    - CentOS_5.1 x386
    - MySQL 5.1
    - unixODBC
    - mysql-connector-odbc
    Server B:
    - CentOS_5.1 x86_64
    - Oracle 11g
    - unixODBC
    - mysql-connector-odbc
    I've configured ODBC, so I am able to do "isql <DSN> oracle oracle -v" sucessfully with "root" and "oracle" user on Oracle server. I've configured listener.ora and tnsnames.ora
    I added below lines to listener.ora
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=mysqlware)
    (ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1)
    (PROGRAM=dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/hs/lib:/usr/lib64/:$ORACLE_HOME/lib)
    and lines below to tnsnames.ora
    mysqlware=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=<server's FQDN>)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=mysqlware))
    (HS=OK))
    The content of $ORACLE_HOME/hs/admin/initmysqlware.ora is
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = mysqlware
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc3.so
    # ODBC specific environment variables
    set ODBCINI=/home/oracle/.odbc.ini
    # Environment variables required for the non-Oracle system
    set <envvar>=<value>
    tnsping mysqlware returns.....
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=<server's FQDN>)) (PORT=1521)) (CONNECT_DATA= (SID=mysqlware)) (HS=OK))
    OK (10 msec)
    when I login to oracle and create PUBLIC DATABASE LINK with command....
    create public database link link2mysqlware connect to
    2 "oracle" identified by "oracle" using 'mysqlware';
    Database link created.
    THIS IS WHAT I GET.....
    SQL> select * from "emp"@link2mysqlware;
    select * from "emp"@link2mysqlware
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from LINK2MYSQLWARE
    There is "emp" table in MySQL, from where I can even select with the use of isql command and from this Oracle server.
    I would really appreciate some help here.
    Thanks in advance.
    Tomaz Bracic

    Evening Ed,
    I changed to debug and repeated the select ....... The output below is for one select that I did. (select * from "emp"@link1)
    Oracle Corporation --- WEDNESDAY MAR 19 2008 21:50:51.371
    Version 11.1.0.6.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "mysqlware"
    Product-Info:
    Port Rls/Upd:6/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:mysqlware
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2008/03/19-21:50:51
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2082a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a208330
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a208af0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a209d60
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2117d0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a211c70
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a214480
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a215930
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a216130
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a217b50
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a217b70
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a219270
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21c410
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21c7b0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21e250
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21eea0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21f1a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a220fd0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2213a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a222ee0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a222d30
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a227dc0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2295b0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a229be0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22b030
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22b8f0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22d550
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22daa0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22e2f0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a230c30
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a231770
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a232190
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a232c20
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a233110
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a233a10
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a233f20
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2344c0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a234b10
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2350a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a236640
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a236380
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2374e0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2380b0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Exiting hgolofn, rc=0 at 2008/03/19-21:50:51
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2008/03/19-21:50:51
    Entered hgolgon at 2008/03/19-21:50:51
    reco:0, name:oracle, tflag:0
    Entered hgosuec at 2008/03/19-21:50:51
    Exiting hgosuec, rc=0 at 2008/03/19-21:50:51
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using oracle as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2008/03/19-21:50:51
    HS_FDS_CONNECT_INFO = "mysqlware"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2008/03/19-21:50:51
    dsn:mysqlware, name:oracle
    optn:
    ##>Connect Parameters (len=35)<##
    ## DSN=mysqlware;
    #! UID=oracle;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2008/03/19-21:50:51
    Entered hgopoer at 2008/03/19-21:50:51
    hgopoer, line 159: got native error 0 and sqlstate I; message follows...
    Exiting hgopoer, rc=0 at 2008/03/19-21:50:51
    hgocont, line 1903: calling SqlDriverConnect got sqlstate I
    Exiting hgocont, rc=28500 at 2008/03/19-21:50:51 with error ptr FILE:hgocont.c LINE:1923 FUNCTION:hgocont() ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2008/03/19-21:50:51 with error ptr FILE:hgolgon.c LINE:612 FUNCTION:hgolgon() ID:Calling hgocont
    Entered hgoexit at 2008/03/19-21:50:51
    Kind regards,
    Tomaz

  • Database link from Oracle 11g (64 bit) to MySQL over UnixODBC with dg4odbc

    Hello,
    I want to connect to a MySQL Database from Oracle over a database link, but i get always the Error Message ORA-28528: Heterogeneous Services datatype conversion error .
    In the forum or internet I can't find a solution for my problem, so I try now to post this problem.
    Here a detailed description of the problem:
    I use a Oracle 11.1.0.7.0 64bit database which is running on a redhat linux 5.3 64bit.
    I want to connect to a MySql Database 5.0, which is running on a redhat linux 5.2 32bit over unixODBC.
    The configuration from the ODBC seems to be good, because with isql on the ora server I can connect and query all data correct from the MySQL database.
    Also the tsnnames.ora and listener.ora should be configured correctly. The tnsping works also fine.
    But when i try to catch the data over SQLPlus with the database link I always get the error ORA-28528.
    If I try to select just one column it works, but the returned data are incomplete or truncated.
    the version of my libs:
    between mysql and odbc I use libmyodbc3.so version 3.51.12-2.2 (I also tried the version 5, but with them I get a segmentation fault error on isql).
    between odbc and dg4odbc I use libodbc.so version 2.2.11-7.1
    Has anybody a solution or hint for me?
    Many Thanks in advance,
    best regards from Austria
    Manuel
    Edited by: user11243186 on 09.06.2009 02:59

    kdgmanu wrote:
    Hello,
    I always get the error ORA-28528.
    If I try to select just one column it works, but the returned data are incomplete or truncated.
    maybe you are facing bug 6772397, so do a search on metalink for bug 6772397
    >
    Has anybody a solution or hint for me?you could also see the following notes 554409.1 and 603801.1
    Many Thanks in advance,
    best regards from Austriacheers from Zagreb

Maybe you are looking for

  • Read text fun module

    Hi I have developed a report to display all the long texts like Sales text, Basic text , PO text using material in seleciton screen. For this i have used READ_TEXT funcmodule and able to display on the output screen. But the problem is , In the outpu

  • How to transfer pics from 1 library to another iPhoto

    How can I transfer pics from one iPhoto library to another iPhoto library, without having duplicated the space on the harddrive? Will the space (GB) duplicate when I copy the pics from one library into the other and delte the 1st one or will it stay

  • Posting of MIRO invoices

    Hi Experts Please assist, my requirement is as follows: I will be given an invoice that was previously parked/held because it did not have a goods receipt to it. After the goods receipt is done, the program should update the line items on the MIRO in

  • It is posible to call js from adf ?

    Hi , It is posible to call a javascript function from ADF in .jsp web page ? I want to make onclick = doChange; event on checkbox in Edit form page i know that i can call a function from Onclick , but i want that event onclick is called from adf . do

  • What is the best way to create videos for my website?

    Hi, I'm a public speaking coach in Sydeny Australia.  I've started a blog and want to include videos to my newsletter subscribers.  I do not want to use YouTube, because I want to only share these videos to people on my list. What is the best way / p