HS_TRANSACTION_MODEL / Is DG4ODBC capable of SQL_DATA_SOURCE_READ_ONLY?
We're currently using READ_ONLY_AUTOCOMMIT as setting for HS_TRANSACTION_MODEL in attempt to minimize potential for locking in remote database. Nevertheless, read locks are created with DG4ODBC use by default and persist within remote database for duration of long-running queries which makes use of READ_ONLY_AUTOCOMMIT prohibitive in our environment. Is there a way to totally disable use of transaction model for DG4ODBC to achieve "pure read only" access. In other words, is it possible to change interaction between DG4ODBC agent and ODBC driver in a way that prevents creation of read locks within remote UniVerse 10.1 database?
It would be ideal for interaction between DG4ODBC agent and ODBC driver to emulate MS Excel/ MS Query interaction that occurs using same ODBC driver as is used for DG4ODBC configuration. When accessing remote data source using MS Excel / MS Query, there is no locking on remote server whatsoever. I've performed a couple different types of ODBC traces and some differences that seem relevant/noteworthy between Excel and DG4ODBC are listed below:
Excerpts from Excel / MS Query ODBC trace:
===========================
SQLSetConnectOption
0x01010000
SQL_LOGIN_TIMEOUT
0x2D000000
SQL_SUCCESS
SQLDriverConnect
0x01010000
0xF8070200
[16]DSN=dsn.ODBC;
SQL_NTS
[16]DSN=dsn.ODBC;
1024
16
SQL_DRIVER_COMPLETE
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_DATA_SOURCE_READ_ONLY
[1]N
2048
1
SQL_SUCCESS
Reference to "SQL_DATA_SOURCE_READ_ONLY above seems indicative of behavior I would like DG4ODBC to emulate. There is no such reference within ODBC trace output for DG4ODBC test:
Excerpts from DG4ODBC trace:
===================
SQLSetConnectOption
0x01010000
SQL_AUTOCOMMIT
SQL_AUTOCOMMIT_ON
SQL_SUCCESS
SQLDriverConnect
0x01010000
0x00000000
[36]DSN=dsn.ODBC;UID=userid;PWD=password;
SQL_NTS
[36]DSN=dsn.ODBC;UID=userid;PWD=password;
1024
36
SQL_DRIVER_NOPROMPT
SQL_SUCCESS
References above to "SQL_AUTOCOMMIT" and "SQL_AUTOCOMMIT_ON" in the case of DG4ODBC seem in line with current READ_ONLY_AUTOCOMMIT setting for HS_TRANSACTION_MODEL and default DG4ODBC behavior where a transaction is set even for "read only" access to FDS (foreign data source).
In one other ODBC trace I performed the following error is reported which seems related to DG4ODBC default behavior / HS_TRANSACTION_MODEL:
UCI SQLExecute() returned -1
SQLSTATE : S1000 Native Error : 950151 [U2][SQL Client][UNIVERSE]UniVerse/SQL: Isolation levels are not supported for file types 1, 19 and 25
Facility: DBCAPERR Severity: ERROR Error ID: 46 Extern error: 950151 Message: UCI Error. Func: SQLExecute(); State: S1000; uniVerse code: 950151; Msg: [U2][SQL Client][UNIVERSE]UniVerse/SQL: Isolation levels are not supported for file types 1, 19 and 25.
So while nature and effect of locking that occurs in FDS may be largely dependent on architecture and conventions associated with foreign data source, it certainly seems possible to achieve "pure read only" access to remote data source with ODBC driver we're using by altering behavior/calls to driver issued by client/agent. MS Excel / MS Query as client/agent exhibits desired behavior. Is it possible to alter behavior of DG4ODBC agent in some way to achieve same end result?
Overall, results of DG4ODBC tests so far have been very promising but this issue of locking is turning out to be a real problem for large files and, hence, long running queries for our environment in the way of making this a viable/practical option for production use.
Any help with achieving SQL_DATA_SOURCE_READ_ONLY with DG4ODBC would be greatly appreciated!!
Thread containing additional relevant background info: https://forums.oracle.com/forums/thread.jspa?threadID=2313253
Regards, Glenn
Edited by: WileyCoyote on Dec 19, 2011 10:46 AM
Edited by: WileyCoyote on Mar 8, 2012 11:00 AM
This bit of output from remote AIX based UniVerse 10.1 system illustrates the locks being created as a result of DG4ODBC based access:
LIST-READU EVERY
Active File Locks:
Device.... Inode.... Netnode Userno Lmode Pid Login Id
3014661 4263309 0 65417 7 FS 81396 root
Active Group Locks: Record Group Group Group
Device.... Inode.... Netnode Userno Lmode G-Address. Locks ...RD ...SH ...EX
3014661 4263309 0 65417 4 IN A00 1 0 0 0
3014661 4263309 0 65417 5 IN 2E00 1 0 0 0
3014661 1968116 0 61273 9 IN 25600 1 0 0 0
Active Record Locks:
Device.... Inode.... Netnode Userno Lmode Pid Login Id Item-ID.............
3014661 4263309 0 65417 4 RL 81396 root 01907474001
3014661 4263309 0 65417 5 RL 81396 root 01606473001
3014661 4263309 0 65417 10 RL 81396 root 01693774001
3014661 4263309 0 65417 11 RL 81396 root 01392773001Statements executed connected to Oracle XE 11gR2 database for purpose of extracting data from remote UniVerse tables for transfer to corresponding Oracle tables that cause locks such as those shown above:
insert into target_table select * from source_table@dg4odbc_sid;
create table target_table as (select * from source_table@dg4odbc_sid);However, this is the general form currently in use for daily ETL operation that executes automatically via crontab, shell & sql/plus scripts for a number of tables scheduled thus far:
begin
etl_&1;
end;
/Anonymous PL/SQL block of form shown above executes stored procedure for respective source/target table identified by parameter &1 passed to SQL/Plus script. Assuming a value for parameter &1 of "target_table", for instance, the definition for procedure etl_target_table referenced as etl_&1 above would be:
create or replace
procedure etl_target_table as
begin
insert into target_table select * from target_table@dg4odbc_sid;
commit;
end;I adopted this convention at present to eliminate code redundancy and to provide additional control needed in the case of a couple tables that call for additional filtering via a WHERE clause to exclude problematic rows or that require explicit list of items on SELECT as opposed to '*' to eliminate columns on remote system containing problematic data. I'm pointing this out because I suspect use of PL/SQL here may have a bearing on ability to accomplish stated objective prompting this thread. Most important thing is to somehow eliminate locking on remote system. I would rework structure of programming and scripting in whatever way is necessary to accomodate a purely read-only transaction model and DG4ODBC behavior that eliminates creation of transaction and, hence, locks created in remote UniVerse database.
General approach outlined above is in place and working ok for a series of smaller tables each of which only takes seconds or a few minutes to extract into corresponding Oracle tables. There are a number of larger tables in remote system that take much longer to scan for extraction. Locking invariably occurs for these larger tables and persists for duration of statement execution causing production users/processes of remote system to wait.
Also, if locks already exist for any of the remote tables at the time DG4ODBC extraction begins then the DG4ODBC process may fail with this error:
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Rocket U2][UVODBC][2701121]Error ID: 39 Severity: ERROR Facility: DBCAPERR -
Serialization failure. {40001,NativeErr = 950261}
ORA-02063: preceding 2 lines from DSNThis excerpt is provided from UniVerse ODBC guide which seems to explain "serialization" error above:
"Serialization failure. The transaction to which the prepared statement belonged was terminated to prevent
deadlock. Error ID: 39, Severity: ERROR, Facility: DBCAPERR"So hopefully this provides additional insight into complexion of problem we're having and why we wish to change default behavior of DG4ODBC in this context; ie., prevent setting transaction that in turn causes locks in remote database when all we wish to do is retrieve data from FDS as is performed by other client tools such as Excel or MS Query using same ODBC DSN on which DG4ODBC configuration is based.
Use of DG4ODBC is actually working out better than any other alternative I've tried thus far for extraction to perform more complex data analysis business calls for than UniVerse "multivalue" datastore allows so I hope there's something that can be done that allows us to continue using Oracle and DG4ODBC approach. Thanks for your assistance!
Regards, Glenn
Edited by: WileyCoyote on Dec 20, 2011 11:01 AM
Edited by: WileyCoyote on Mar 8, 2012 11:03 AM
Similar Messages
-
Dg4odbc to MySQL update errors: "does not support IS NULL in this context"
I am having a problem with 'where x is null' clauses in update statements to MySQL from 11g, using dg4odbc. Updates using the clause 'where x is null' return errors like this:
ORA-02070: database PLAZAHOST does not support IS NULL in this context
The rejected queries never get to mysql. Furthermore, I noticed that select statements with 'where x is null' show up in the mysql query log with the where clause stripped out, although correct results are returned to SQLPlus. It looks as though 'where x is null' is stripped off by dg4odbc, which subsequently applies a secondary filter to the results received from MySQL.
Note, both statements above work properly when issued from the MySQL client.
Has anybody seen this? It's a big problem for me, but I can't find any references to other people having the same problem, so I assume I've got something misconfigured -- but I don't know what.
I'm using MySQL ODBC 5.1 Driver, MySQL 5.1 Community Edition, and Oracle 11g R1 all running on a 32-bit Windows server.
Thank you -- rick
=============
here's a spool of a sample oracle session:
SQL> col descr1 for a40
SQL> select * from t1@plazahost;
id1 descr1
1 hello
2
SQL> descr t1@plazahost
Name Null? Type
id1 NUMBER(10)
descr1 VARCHAR2(255)
SQL> select * from t1@plazahost where "descr1" is null;
id1 descr1
2
SQL> update t1@plazahost set "descr1"='updated' where "descr1" is null;
update t1@plazahost set "descr1"='updated' where "descr1" is null
ERROR at line 1:
ORA-02070: database PLAZAHOST does not support IS NULL in this context
SQL> spool off
=============
here's the mysql query log snip for the oracle session:
100804 10:24:20 1637 Connect moms_oracle@MOMS_HOST on moms
1637 Query SET NAMES utf8
1637 Query SET character_set_results = NULL
1637 Query SET SQL_AUTO_IS_NULL = 0
1637 Query set autocommit=0
1637 Query select database()
1637 Query COMMIT
1637 Query SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED
1637 Query SHOW TABLE STATUS FROM `moms` LIKE 'T1'
1637 Query SHOW COLUMNS FROM `moms`.`t1`
1637 Query SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
1637 Query SHOW KEYS FROM `moms`.`T1`
1637 Query SHOW TABLE STATUS FROM `moms` LIKE 'T1'
1637 Query SHOW COLUMNS FROM `moms`.`t1`
1637 Query SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
1637 Query SELECT A1.`id1`,A1.`descr1` FROM `T1` A1
1637 Query SELECT `id1`,`descr1` FROM `T1`
100804 10:24:28 1637 Query COMMIT
1637 Quit
=============
here's the Oracle HS trace file for the same oracle session:
Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
Heterogeneous Agent Release
11.1.0.7.0
Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
Version 11.1.0.7.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 "UCS2"
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 "TRUE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
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 "plazahost"
Product-Info:
Port Rls/Upd:7/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:plazahost
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=1000
HOCXU_DB_CSET=178
HOCXU_SEM_VER=110000
Entered hgolofn at 2010/08/04-10:24:19
Exiting hgolofn, rc=0 at 2010/08/04-10:24:20
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 2010/08/04-10:24:20
Entered hgolgon at 2010/08/04-10:24:20
reco:0, name:moms_oracle, tflag:0
Entered hgosuec at 2010/08/04-10:24:20
Exiting hgosuec, rc=0 at 2010/08/04-10:24:20
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 moms_oracle as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/08/04-10:24:20
HS_FDS_CONNECT_INFO = "momsPlazaHost"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/08/04-10:24:20
dsn:momsPlazaHost, name:moms_oracle
optn:
##>Connect Parameters (len=43)<##
## DSN=momsPlazaHost;
#! UID=moms_oracle;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2010/08/04-10:24:20
DriverName:myodbc5.dll, DriverVer:05.01.0005
DBMS Name:MySQL, DBMS Version:5.1.35-community-log
Exiting hgocont, rc=0 at 2010/08/04-10:24:20
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 64 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/08/04-10:24:20
Entered hgoulcp at 2010/08/04-10:24:20
Entered hgowlst at 2010/08/04-10:24:20
Exiting hgowlst, rc=0 at 2010/08/04-10:24:20
SQLGetInfo returns ` for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
2 instance capabilities will be uploaded
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
Exiting hgoulcp, rc=0 at 2010/08/04-10:24:20
Entered hgouldt at 2010/08/04-10:24:20
0 instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/08/04-10:24:20
Entered hgobegn at 2010/08/04-10:24:20
tflag:0 , initial:1
hoi:0x12f03c, ttid (len 26) is ...
00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
10: 322E3130 2E333131 3531 [2.10.31151]
tbid (len 23) is ...
00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
10: 315D5B31 2E345D [1][1.4]]
TXN Capable:3, Isolation Option:0xf
Exiting hgobegn, rc=0 at 2010/08/04-10:24:20
Entered hgodtab at 2010/08/04-10:24:20
count:1
table: T1
Entered hgopcda at 2010/08/04-10:24:20
Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
Entered hgopcda at 2010/08/04-10:24:20
Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
The hoada for table T1 follows...
hgodtab, line 651: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:1, WHT=6 (TABLE_DESCRIBE)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 255 255 0/ 0 0 0 0 descr1
Exiting hgodtab, rc=0 at 2010/08/04-10:24:20
Entered hgodafr, cursor id 0 at 2010/08/04-10:24:20
Exiting hgodafr, rc=0 at 2010/08/04-10:24:20
Entered hgotcis at 2010/08/04-10:24:20
Calling SQLStatistics for T1
Calling SQLColumns for moms_oracle.T1
Column "id1": dtype=4, colsize=10, decdig=0, char_octet_length=0, cumulative avg row len=4
Column "descr1": dtype=12, colsize=255, decdig=0, char_octet_length=255, cumulative avg row len=195
Exiting hgotcis, rc=0 at 2010/08/04-10:24:20
Entered hgopars, cursor id 1 at 2010/08/04-10:24:20
type:0
SQL text from hgopars, id=1, len=40 ...
00: 53454C45 43542041 312E6069 6431602C [SELECT A1.`id1`,]
10: 41312E60 64657363 72316020 46524F4D [A1.`descr1` FROM]
20: 20605431 60204131 [ `T1` A1]
Exiting hgopars, rc=0 at 2010/08/04-10:24:20
Entered hgoopen, cursor id 1 at 2010/08/04-10:24:20
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2010/08/04-10:24:20
Entered hgodscr, cursor id 1 at 2010/08/04-10:24:20
Entered hgopcda at 2010/08/04-10:24:20
Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
Entered hgopcda at 2010/08/04-10:24:20
Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
hgodscr, line 506: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
Exiting hgodscr, rc=0 at 2010/08/04-10:24:21
Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
hgoftch, line 117: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
SQLBindCol: column 1, cdatatype: -16, bflsz: 4
SQLBindCol: column 2, cdatatype: 1, bflsz: 257
2 rows fetched
Exiting hgoftch, rc=0 at 2010/08/04-10:24:21
Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
hgoftch, line 117: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/08/04-10:24:21
Entered hgoclse, cursor id 1 at 2010/08/04-10:24:23
Exiting hgoclse, rc=0 at 2010/08/04-10:24:23
Entered hgodafr, cursor id 1 at 2010/08/04-10:24:23
Exiting hgodafr, rc=0 at 2010/08/04-10:24:23
Entered hgopars, cursor id 1 at 2010/08/04-10:24:23
type:0
SQL text from hgopars, id=1, len=31 ...
00: 53454C45 43542060 69643160 2C606465 [SELECT `id1`,`de]
10: 73637231 60204652 4F4D2060 543160 [scr1` FROM `T1`]
Exiting hgopars, rc=0 at 2010/08/04-10:24:23
Entered hgoopen, cursor id 1 at 2010/08/04-10:24:23
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2010/08/04-10:24:23
Entered hgodscr, cursor id 1 at 2010/08/04-10:24:23
Entered hgopcda at 2010/08/04-10:24:23
Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
Entered hgopcda at 2010/08/04-10:24:23
Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
hgodscr, line 506: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
Exiting hgodscr, rc=0 at 2010/08/04-10:24:24
Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
hgoftch, line 117: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
SQLBindCol: column 1, cdatatype: -16, bflsz: 4
SQLBindCol: column 2, cdatatype: 1, bflsz: 257
2 rows fetched
Exiting hgoftch, rc=0 at 2010/08/04-10:24:24
Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
hgoftch, line 117: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/08/04-10:24:24
Entered hgoclse, cursor id 1 at 2010/08/04-10:24:27
Exiting hgoclse, rc=0 at 2010/08/04-10:24:27
Entered hgodafr, cursor id 1 at 2010/08/04-10:24:27
Exiting hgodafr, rc=0 at 2010/08/04-10:24:27
Entered hgocomm at 2010/08/04-10:24:28
keepinfo:0, tflag:1
00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
10: 322E3130 2E333131 3531 [2.10.31151]
tbid (len 23) is ...
00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
10: 315D5B31 2E345D [1][1.4]]
cmt(0):
Entered hgocpctx at 2010/08/04-10:24:28
Exiting hgocpctx, rc=0 at 2010/08/04-10:24:28
Exiting hgocomm, rc=0 at 2010/08/04-10:24:28
Entered hgolgof at 2010/08/04-10:24:28
tflag:1
Exiting hgolgof, rc=0 at 2010/08/04-10:24:28
Entered hgoexit at 2010/08/04-10:24:28
Exiting hgoexit, rc=0 at 2010/08/04-10:24:28is null statement is post processed. This means in case of a select ALL records from the remote database are fetched into the Oracle database and the is null statement is then processed locally in the Oracle db.
So thze select will work as it is handled internally in the Oracle database. This also means as But "is null" isn't sent to the foreign MySQL db the update clause will fail with ORA-02070: database PLAZAHOST does not support IS NULL in this context
You need to recode the statement or use passthrough statements. -
Dg4odbc 11.2 to mysql desc table issue, query return only one record
<h2>Hi,
I have the following set up:
11g R2 RAC oracle database, dg4odbc 11.2, UnixODBC 2.3 driver manager, MySQL ODBC 5.1.7 Driver on 64 bit Suse SLES 11 server.
Remote database MySQL version 5.0.67 running on 32 bit linux server.
I am having the following Issues:
1. When desc table, sometimes only the first field is shown:
SQL> desc sub_index@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
SQL> desc "sub_index"@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
Some other times I am able to see the correct table definition:
SQL> desc "sub_index"@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
sess_id NUMBER(10)
sess_yr NUMBER(10)
subject_name VARCHAR2(255)
SQL> desc sub_index@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
2. Select count(*) returns the total number of rows correctly. Select * or Select "field name" from table returns only one row:
SQL> select count(*) from "mbt_user"@mybilltracker;
COUNT(*)
2
SQL> select "user_id", "email" from "mbt_user"@mybilltracker; _(always return only one record!)_
user_id email
1 [email protected]
Has anybody seen this? Can somebody help me pinpoint the problem? Thank you!
</h2>
=======================================
<h2>Params in odbc.ini:[ODBC Data Sources]
myodbc5 = MyODBC 5.17 Driver DSN
[myodbc5]
Driver = /usr/local/lib/libmyodbc5.so
Description = Connector/ODBC 5.17 Driver DSN
SERVER = *serverip
PORT = *port
USER = *user
Password = *password
Database = MyBillTracker
#CHARSET = latin1
QuotedId = Yes
AnsiNPW = Yes
TRACEFILE = /tmp/myodbc-MyBillTracker.trc
TRACE = OFF
</h2>
=======================================
<h2>params in initmyodbc5.ora
# HS init parameters
HS_FDS_CONNECT_INFO = myodbc5
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
HS_FDS_SUPPORT_STATISTICS=FALSE
# ODBC specific environment variables
set ODBCINI=/usr/local/etc/odbc.ini
</h2>
===========================================
Oracle HS Trace file:
Oracle Corporation --- WEDNESDAY SEP 01 2010 16:11:19.060
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- WEDNESDAY SEP 01 2010 16:11:19.059
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"
setting HS_FDS_FETCH_ROWS to default of "100"
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"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
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"
Default value of 64 assumed 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 "myodbc5"
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:myodbc5
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/09/01-16:11:19
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x159540
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1596f0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x159f20
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x15b230
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x163420
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x163880
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1661c0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1678f0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x168100
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x169c60
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x169c70
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16b3c0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16e640
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16ea00
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1705e0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1711d0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x171500
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1733a0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x173810
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x175870
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x175630
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x15bb50
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x15d4a0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x160e10
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x162cd0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x164400
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x167360
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x168a50
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x169fd0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16ba60
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16bfb0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16d2c0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16deb0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16f4a0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16f760
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x170230
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x171cc0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1721e0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1727d0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x172e10
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x173ae0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x176ca0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1752b0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1785b0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x179260
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Exiting hgolofn, rc=0 at 2010/09/01-16:11:19
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 ".,"
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"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/09/01-16:11:19
Entered hgolgon at 2010/09/01-16:11:19
reco:0, name:oracle, tflag:0
Entered hgosuec at 2010/09/01-16:11:19
Exiting hgosuec, rc=0 at 2010/09/01-16:11:19
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 oracle as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/09/01-16:11:19
HS_FDS_CONNECT_INFO = "myodbc5"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/09/01-16:11:19
dsn:myodbc5, name:oracle
optn:
Entered hgocip at 2010/09/01-16:11:19
dsn:myodbc5
Exiting hgocip, rc=0 at 2010/09/01-16:11:19
Exiting hgogenconstr, rc=0 at 2010/09/01-16:11:19
Entered hgolosf at 2010/09/01-16:11:19
Exiting hgolosf, rc=0 at 2010/09/01-16:11:19
DriverName:libmyodbc5.so, DriverVer:05.01.0007
DBMS Name:MySQL, DBMS Version:5.0.67
Exiting hgocont, rc=0 at 2010/09/01-16:11:19
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/09/01-16:11:19
Entered hgoulcp at 2010/09/01-16:11:19
Entered hgowlst at 2010/09/01-16:11:19
Exiting hgowlst, rc=0 at 2010/09/01-16:11:19
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
4 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:"`"
Exiting hgoulcp, rc=0 at 2010/09/01-16:11:19
Entered hgouldt at 2010/09/01-16:11:19
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/09/01-16:11:19
Entered hgobegn at 2010/09/01-16:11:19
tflag:0 , initial:1
hoi:0x15d8f088, ttid (len 34) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 31302E35 342E3533 [77871df.10.54.53]
20: 3938 [98]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B31 [GEMS.LSO.LOCAL[1]
10: 302E3534 2E353339 385D5B31 2E345D [0.54.5398][1.4]]
Exiting hgobegn, rc=0 at 2010/09/01-16:11:19
Entered hgodtab at 2010/09/01-16:11:19
count:1
table: mbt_user
Allocate hoada[0] @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:19
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
The hoada for table mbt_user follows...
hgodtab, line 876: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodtab, rc=0 at 2010/09/01-16:11:19
Entered hgodafr, cursor id 0 at 2010/09/01-16:11:19
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:19
Entered hgopars, cursor id 1 at 2010/09/01-16:11:19
type:0
SQL text from hgopars, id=1, len=34 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20606D62 745F7573 65726020 [FROM `mbt_user` ]
20: 4131 [A1]
Exiting hgopars, rc=0 at 2010/09/01-16:11:19
Entered hgoopen, cursor id 1 at 2010/09/01-16:11:19
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/01-16:11:19
Entered hgodscr, cursor id 1 at 2010/09/01-16:11:19
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:19
Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Exiting hgodscr, rc=0 at 2010/09/01-16:11:19
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:19
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/01-16:11:19
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:19
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/01-16:11:19
Entered hgoclse, cursor id 1 at 2010/09/01-16:11:26
Exiting hgoclse, rc=0 at 2010/09/01-16:11:26
Entered hgodafr, cursor id 1 at 2010/09/01-16:11:26
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:26
Entered hgopars, cursor id 1 at 2010/09/01-16:11:26
type:0
SQL text from hgopars, id=1, len=49 ...
00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
10: 6964602C 41312E60 656D6169 6C602046 [id`,A1.`email` F]
20: 524F4D20 606D6274 5F757365 72602041 [ROM `mbt_user` A]
30: 31 [1]
Exiting hgopars, rc=0 at 2010/09/01-16:11:26
Entered hgoopen, cursor id 1 at 2010/09/01-16:11:26
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/01-16:11:26
Entered hgodscr, cursor id 1 at 2010/09/01-16:11:26
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:26
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:26
Entered hgopcda at 2010/09/01-16:11:26
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:26
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
Exiting hgodscr, rc=0 at 2010/09/01-16:11:26
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:26
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLBindCol: column 2, cdatatype: 1, bflsz: 256
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/01-16:11:26
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:26
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:2, ACTUAL:2, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 21 255 0/ 0 0 0 200 email
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/01-16:11:26
Entered hgoclse, cursor id 1 at 2010/09/01-16:11:39
Exiting hgoclse, rc=0 at 2010/09/01-16:11:39
Entered hgodafr, cursor id 1 at 2010/09/01-16:11:39
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:39
Entered hgopars, cursor id 1 at 2010/09/01-16:11:39
type:0
SQL text from hgopars, id=1, len=101 ...
00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
10: 6964602C 41312E60 656D6169 6C602C41 [id`,A1.`email`,A]
20: 312E606C 6173745F 6C6F6767 65645F69 [1.`last_logged_i]
30: 6E602C41 312E606D 61696C69 6E675F6C [n`,A1.`mailing_l]
40: 69737460 2C41312E 60706173 73776F72 [ist`,A1.`passwor]
50: 64602046 524F4D20 606D6274 5F757365 [d` FROM `mbt_use]
60: 72602041 31 [r` A1]
Exiting hgopars, rc=0 at 2010/09/01-16:11:39
Entered hgoopen, cursor id 1 at 2010/09/01-16:11:39
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/01-16:11:39
Entered hgodscr, cursor id 1 at 2010/09/01-16:11:39
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:39
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodscr, rc=0 at 2010/09/01-16:11:39
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:39
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLBindCol: column 2, cdatatype: 1, bflsz: 256
SQLBindCol: column 3, cdatatype: 93, bflsz: 16
SQLBindCol: column 4, cdatatype: -28, bflsz: 1
SQLBindCol: column 5, cdatatype: 1, bflsz: 767
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1, (bfl: 1, mbl: 1)
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40, (bfl: 766, mbl: 0)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/01-16:11:39
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:39
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 21 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/01-16:11:39
Entered hgoclse, cursor id 1 at 2010/09/01-16:11:45
Exiting hgoclse, rc=0 at 2010/09/01-16:11:45
Entered hgodafr, cursor id 1 at 2010/09/01-16:11:45
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:45
Entered hgocomm at 2010/09/01-16:11:45
keepinfo:0, tflag:1
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 31302E35 342E3533 [77871df.10.54.53]
20: 3938 [98]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B31 [GEMS.LSO.LOCAL[1]
10: 302E3534 2E353339 385D5B31 2E345D [0.54.5398][1.4]]
cmt(0):
Entered hgocpctx at 2010/09/01-16:11:45
Exiting hgocpctx, rc=0 at 2010/09/01-16:11:45
Exiting hgocomm, rc=0 at 2010/09/01-16:11:45
Entered hgolgof at 2010/09/01-16:11:45
tflag:1
Exiting hgolgof, rc=0 at 2010/09/01-16:11:45
Entered hgoexit at 2010/09/01-16:11:45
Exiting hgoexit, rc=0<h2>This is the scenario where describe table only shows the first field during the first SQLPlus session. I closed the first SQLPlus session, simply opened a new SQLPlus session. Describe table shows all column definitions of MySQL table this time. You can see that there are three records in tracking_list table, however, select * from "tracking_list"@mybilltracker only retruns one record.</h2>
First SQLPlus Session:
SQL> describe "tracking_list"@mybilltracker;
Name Null? Type
list_id NUMBER(20)
SQL> select count(*) from "tracking_list"@mybilltracker;
COUNT(*)
3
SQL> select * from "tracking_list"@mybilltracker;
list_id
1
SQL> describe "tracking_list"@mybilltracker;
Name Null? Type
list_id NUMBER(20)
SQL> exit
========================================
Second SQLPlus Session:
Connected.
SQL> describe "tracking_list"@mybilltracker;
Name Null? Type
list_id NUMBER(20)
last_updt_date DATE
list_create_date DATE
list_name NOT NULL VARCHAR2(255)
list_yr NOT NULL NUMBER(10)
user_id NUMBER(20)
SQL> select count(*) from "tracking_list"@mybilltracker;
COUNT(*)
3
SQL> select * from "tracking_list"@mybilltracker;
list_id last_updt list_crea
list_name
list_yr user_id
1 02-SEP-10 02-SEP-10
List 1
2010 1
SQL> exit
=============================================
HS trace file for the first SQLPlus session:
Oracle Corporation --- THURSDAY SEP 02 2010 09:55:46.523
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY SEP 02 2010 09:55:46.522
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"
setting HS_FDS_FETCH_ROWS to default of "100"
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"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
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"
Default value of 64 assumed 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 "myodbc5"
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:myodbc5
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/09/02-09:55:46
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
Entered hgolofns at 2010/09/02-09:55:46
symbol_peflctx=0xdc523540
hoaerr:0
Exiting hgolofns at 2010/09/02-09:55:46
......(repeating .....)
Entered hgolofns at 2010/09/02-09:55:46
symbol_peflctx=0xdc543260
hoaerr:0
Exiting hgolofns at 2010/09/02-09:55:46
Exiting hgolofn, rc=0 at 2010/09/02-09:55:46
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 ".,"
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"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/09/02-09:55:46
Entered hgolgon at 2010/09/02-09:55:46
reco:0, name:oracle, tflag:0
Entered hgosuec at 2010/09/02-09:55:46
Exiting hgosuec, rc=0 at 2010/09/02-09:55:46
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 oracle as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/09/02-09:55:46
HS_FDS_CONNECT_INFO = "myodbc5"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/09/02-09:55:46
dsn:myodbc5, name:oracle
optn:
Entered hgocip at 2010/09/02-09:55:46
dsn:myodbc5
Exiting hgocip, rc=0 at 2010/09/02-09:55:46
Exiting hgogenconstr, rc=0 at 2010/09/02-09:55:46
Entered hgolosf at 2010/09/02-09:55:46
Exiting hgolosf, rc=0 at 2010/09/02-09:55:46
DriverName:libmyodbc5.so, DriverVer:05.01.0007
DBMS Name:MySQL, DBMS Version:5.0.67
Exiting hgocont, rc=0 at 2010/09/02-09:55:46
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/09/02-09:55:46
Entered hgoulcp at 2010/09/02-09:55:46
Entered hgowlst at 2010/09/02-09:55:46
Exiting hgowlst, rc=0 at 2010/09/02-09:55:46
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
4 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:"`"
Exiting hgoulcp, rc=0 at 2010/09/02-09:55:46
Entered hgouldt at 2010/09/02-09:55:46
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/09/02-09:55:46
Entered hgobegn at 2010/09/02-09:55:46
tflag:0 , initial:1
hoi:0x8b4b52f8, ttid (len 34) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 33322E36 382E3335 [77871df.32.68.35]
20: 3630 [60]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B33 [GEMS.LSO.LOCAL[3]
10: 322E3638 2E333536 305D5B31 2E345D [2.68.3560][1.4]]
Exiting hgobegn, rc=0 at 2010/09/02-09:55:46
Entered hgodtab at 2010/09/02-09:55:46
count:1
table: mbt_user
Allocate hoada[0] @ 0x7a6440
Entered hgopcda at 2010/09/02-09:55:46
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
The hoada for table mbt_user follows...
hgodtab, line 876: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodtab, rc=0 at 2010/09/02-09:55:46
Entered hgodafr, cursor id 0 at 2010/09/02-09:55:46
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/02-09:55:46
Entered hgopars, cursor id 1 at 2010/09/02-09:55:52
type:0
SQL text from hgopars, id=1, len=101 ...
00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
10: 6964602C 41312E60 656D6169 6C602C41 [id`,A1.`email`,A]
20: 312E606C 6173745F 6C6F6767 65645F69 [1.`last_logged_i]
30: 6E602C41 312E606D 61696C69 6E675F6C [n`,A1.`mailing_l]
40: 69737460 2C41312E 60706173 73776F72 [ist`,A1.`passwor]
50: 64602046 524F4D20 606D6274 5F757365 [d` FROM `mbt_use]
60: 72602041 31 [r` A1]
Exiting hgopars, rc=0 at 2010/09/02-09:55:52
Entered hgoopen, cursor id 1 at 2010/09/02-09:55:52
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-09:55:52
Entered hgodscr, cursor id 1 at 2010/09/02-09:55:52
Allocate hoada @ 0x7a63a0
Entered hgopcda at 2010/09/02-09:55:52
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
hgodscr, line 880: Printing hoada @ 0x7a63a0
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodscr, rc=0 at 2010/09/02-09:55:52
Entered hgoftch, cursor id 1 at 2010/09/02-09:55:52
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLBindCol: column 2, cdatatype: 1, bflsz: 256
SQLBindCol: column 3, cdatatype: 93, bflsz: 16
SQLBindCol: column 4, cdatatype: -28, bflsz: 1
SQLBindCol: column 5, cdatatype: 1, bflsz: 767
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1, (bfl: 1, mbl: 1)
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40, (bfl: 766, mbl: 0)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-09:55:52
Entered hgoftch, cursor id 1 at 2010/09/02-09:55:52
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 21 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-09:55:52
Entered hgoclse, cursor id 1 at 2010/09/02-09:56:16
Exiting hgoclse, rc=0 at 2010/09/02-09:56:16
Entered hgodafr, cursor id 1 at 2010/09/02-09:56:16
Free hoada @ 0x7a63a0
Exiting hgodafr, rc=0 at 2010/09/02-09:56:16
Entered hgopars, cursor id 1 at 2010/09/02-09:56:16
type:0
SQL text from hgopars, id=1, len=34 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20606D62 745F7573 65726020 [FROM `mbt_user` ]
20: 4131 [A1]
Exiting hgopars, rc=0 at 2010/09/02-09:56:16
Entered hgoopen, cursor id 1 at 2010/09/02-09:56:16
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-09:56:16
Entered hgodscr, cursor id 1 at 2010/09/02-09:56:16
Allocate hoada @ 0x7a63a0
Entered hgopcda at 2010/09/02-09:56:16
Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:56:16
hgodscr, line 880: Printing hoada @ 0x7a63a0
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Exiting hgodscr, rc=0 at 2010/09/02-09:56:16
Entered hgoftch, cursor id 1 at 2010/09/02-09:56:16
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-09:56:16
Entered hgoftch, cursor id 1 at 2010/09/02-09:56:16
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-09:56:16
Entered hgodtab at 2010/09/02-10:03:18
count:1
table: tracking_list
Allocate hoada[0] @ 0x7ebbd0
Entered hgopcda at 2010/09/02-10:03:18
Column:1(list_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-10:03:18
The hoada for table tracking_list follows...
hgodtab, line 876: Printing hoada @ 0x7ebbd0
MAX:1, ACTUAL:1, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
Exiting hgodtab, rc=0 at 2010/09/02-10:03:18
Entered hgodafr, cursor id 0 at 2010/09/02-10:03:18
Free hoada @ 0x7ebbd0
Exiting hgodafr, rc=0 at 2010/09/02-10:03:18
Entered hgoclse, cursor id 1 at 2010/09/02-10:06:11
Exiting hgoclse, rc=0 at 2010/09/02-10:06:11
Entered hgodafr, cursor id 1 at 2010/09/02-10:06:11
Free hoada @ 0x7a63a0
Exiting hgodafr, rc=0 at 2010/09/02-10:06:11
Entered hgopars, cursor id 1 at 2010/09/02-10:06:11
type:0
SQL text from hgopars, id=1, len=39 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20607472 61636B69 6E675F6C [FROM `tracking_l]
20: 69737460 204131 [ist` A1]
Exiting hgopars, rc=0 at 2010/09/02-10:06:11
Entered hgoopen, cursor id 1 at 2010/09/02-10:06:11
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-10:06:11
Entered hgodscr, cursor id 1 at 2010/09/02-10:06:11
Allocate hoada @ 0x7a63e8
Entered hgopcda at 2010/09/02-10:06:11
Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-10:06:11
hgodscr, line 880: Printing hoada @ 0x7a63e8
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Exiting hgodscr, rc=0 at 2010/09/02-10:06:11
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:11
hgoftch, line 130: Printing hoada @ 0x7a63e8
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-10:06:11
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:11
hgoftch, line 130: Printing hoada @ 0x7a63e8
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-10:06:11
Entered hgoclse, cursor id 1 at 2010/09/02-10:06:20
Exiting hgoclse, rc=0 at 2010/09/02-10:06:20
Entered hgodafr, cursor id 1 at 2010/09/02-10:06:20
Free hoada @ 0x7a63e8
Exiting hgodafr, rc=0 at 2010/09/02-10:06:20
Entered hgopars, cursor id 1 at 2010/09/02-10:06:20
type:0
SQL text from hgopars, id=1, len=43 ...
00: 53454C45 43542041 312E606C 6973745F [SELECT A1.`list_]
10: 69646020 46524F4D 20607472 61636B69 [id` FROM `tracki]
20: 6E675F6C 69737460 204131 [ng_list` A1]
Exiting hgopars, rc=0 at 2010/09/02-10:06:20
Entered hgoopen, cursor id 1 at 2010/09/02-10:06:20
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-10:06:20
Entered hgodscr, cursor id 1 at 2010/09/02-10:06:20
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/02-10:06:20
Column:1(list_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-10:06:20
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
Exiting hgodscr, rc=0 at 2010/09/02-10:06:20
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:20
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-10:06:20
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:20
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-10:06:20
Entered hgoclse, cursor id 1 at 2010/09/02-10:06:55
Exiting hgoclse, rc=0 at 2010/09/02-10:06:55
Entered hgodafr, cursor id 1 at 2010/09/02-10:06:55
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/02-10:06:55
Entered hgocomm at 2010/09/02-10:06:55
keepinfo:0, tflag:1
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 33322E36 382E3335 [77871df.32.68.35]
20: 3630 [60]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B33 [GEMS.LSO.LOCAL[3]
10: 322E3638 2E333536 305D5B31 2E345D [2.68.3560][1.4]]
cmt(0):
Entered hgocpctx at 2010/09/02-10:06:55
Exiting hgocpctx, rc=0 at 2010/09/02-10:06:55
Exiting hgocomm, rc=0 at 2010/09/02-10:06:55
Entered hgolgof at 2010/09/02-10:06:55
tflag:1
Exiting hgolgof, rc=0 at 2010/09/02-10:06:55
Entered hgoexit at 2010/09/02-10:06:55
Exiting hgoexit, rc=0 -
DG4ODBC on Linux-64 to Firebird connection fail (on Linux-32 ok!)
Hi.
I have a 2 servers on Ubuntu 9.04 with Oracle11r2 with save configuration. One of them with 32, and other with 64 bit architecture. For connection to firebird I use IBPhoenix ODBC driver - implementation for 32 and 64 bit. From Linux32 everything ok, but from 64 I got error ORA-28511: connection HS Agent lost. First few queries were almost succesful (error something about charcterset conversion), but now only ORA-28511:( Connection by unixODBC isql to DSN-source is OK.
########### odbc.inst
[Firebird]
Driver=/usr/lib/libOdbcFb.so
Setup=/usr/lib/libOdbcFb.so
Threading=1
FileUsage=1
CPTimeout=
CPReuse=
########### odbc.ini
[clientPR]
Driver=Firebird
Dbname=10.1.216.3:clientPR
User=SYSDBA
########## listener.ora
# listener.ora Network Configuration File: /oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = cruorsrv.ccru)(PORT = 1521))
ADR_BASE_LISTENER = /oracle
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4sybs)
(ORACLE_HOME=/oracle/product/11.2.0/dbhome_1)
(PROGRAM=dg4sybs)
(SID_DESC=
(SID_NAME=pr)
(ORACLE_HOME=/oracle/product/11.2.0/dbhome_1)
(PROGRAM=dg4odbc)
############# tnsnames
# tnsnames.ora Network Configuration File: /oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cruorsrv.ccru)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.cru)
dg4sybs =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))
(CONNECT_DATA=(SID=dg4sybs))
(HS=OK)
PR=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))
(CONNECT_DATA=(SID=PR))
(HS=OK)
###### initpr.ora
# 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 = clientPR
HS_FDS_SHAREABLE_NAME=/usr/lib/libiodbc.so.2
HS_FDS_TRACE_LEVEL=DEBUG
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
set ODBCINSTINI=/etc/odbcinst.ini
set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/odbc:/usr/lib:$ORACLE_HOME/lib
######### TRACEFILE
Oracle Corporation --- FRIDAY MAR 26 2010 12:18:47.971
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- FRIDAY MAR 26 2010 12:18:47.971
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"
setting HS_FDS_FETCH_ROWS to default of "100"
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"
Default value of 64 assumed 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 "pr"
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:pr
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=171
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=171
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/03/26-12:18:47
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libiodbc.so.2"
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142e980
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x214261e0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x214227b0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2141d2f0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x214144b0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2140f220
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21427de0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21415920
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21416ed0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142de90
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2141e400
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21416830
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142db00
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21421870
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x214162b0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21425660
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21414e40
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21414a90
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x214257b0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142dce0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x214298e0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21429520
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2140ba80
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x214123c0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21425400
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x214140b0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x214157b0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2140b240
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142b820
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142aec0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142a140
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2141ad50
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2141bb70
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2141fda0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142d930
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2140ddf0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21423a90
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2140a9a0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2140a2e0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x21409bc0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142bfa0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142d410
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2142a9a0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2140d0f0
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Entered hgolofns at 2010/03/26-12:18:47
symbol_peflctx=0x2140c980
hoaerr:0
Exiting hgolofns at 2010/03/26-12:18:47
Exiting hgolofn, rc=0 at 2010/03/26-12:18:47
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 ".,"
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"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/03/26-12:18:47
Entered hgolgon at 2010/03/26-12:18:47
reco:0, name:SYSDBA, tflag:0
Entered hgosuec at 2010/03/26-12:18:47
Exiting hgosuec, rc=0 at 2010/03/26-12:18:47
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 SYSDBA as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/03/26-12:18:47
HS_FDS_CONNECT_INFO = "clientPR"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/03/26-12:18:47
dsn:clientPR, name:SYSDBA
optn:
Entered hgocip at 2010/03/26-12:18:47
dsn:clientPR
Exiting hgocip, rc=0 at 2010/03/26-12:18:47
Exiting hgogenconstr, rc=0 at 2010/03/26-12:18:47
Entered hgolosf at 2010/03/26-12:18:48
Exiting hgolosf, rc=0 at 2010/03/26-12:18:48
DriverName:Odb, DriverVer:02.00
DBMS Name:Fire, DBMS Version:06.03.17910 WI-V Firebird 2.1
Exiting hgocont, rc=0 at 2010/03/26-12:18:48
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 0 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/03/26-12:18:48
Entered hgoulcp at 2010/03/26-12:18:48
Entered hgowlst at 2010/03/26-12:18:48
Exiting hgowlst, rc=0 at 2010/03/26-12:18:48
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0xf
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 31 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 31 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
Any ideas?
Thanks!After correction listener.ora and restarting changed nothing:(
##################### ODBC TRACE on "select * from dual@pr"
** iODBC Trace file
** Trace started on Fri Mar 26 13:53:38 2010
** Driver Manager: 03.52.0607.1008
[000000.000129]
dg4odbcpr 7F410A1D76F0 ENTER SQLAllocHandle
SQLSMALLINT 1 (SQL_HANDLE_ENV)
SQLHANDLE 0x0 (SQL_NULL_HANDLE)
SQLHANDLE * 0x21d3038
[000000.000187]
dg4odbcpr 7F410A1D76F0 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 1 (SQL_HANDLE_ENV)
SQLHANDLE 0x0 (SQL_NULL_HANDLE)
SQLHANDLE * 0x21d3038 (0x21d0a50)
[000000.000251]
dg4odbcpr 7F410A1D76F0 ENTER SQLSetEnvAttr
SQLHENV 0x21d0a50
SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
SQLPOINTER 0x3
SQLINTEGER * 4294967290 (SQL_IS_INTEGER)
[000000.000320]
dg4odbcpr 7F410A1D76F0 EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
SQLHENV 0x21d0a50
SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
SQLPOINTER 0x3
SQLINTEGER * 4294967290 (SQL_IS_INTEGER)
[000000.000808]
dg4odbcpr 7F410A1D76F0 ENTER SQLAllocHandle
SQLSMALLINT 2 (SQL_HANDLE_DBC)
SQLHANDLE 0x21d0a50
SQLHANDLE * 0x21d3040
[000000.000862]
dg4odbcpr 7F410A1D76F0 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 2 (SQL_HANDLE_DBC)
SQLHANDLE 0x21d0a50
SQLHANDLE * 0x21d3040 (0x21ced40)
[000000.000919]
dg4odbcpr 7F410A1D76F0 ENTER SQLSetConnectAttr
SQLHDBC 0x21ced40
SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
SQLPOINTER 0x0
SQLINTEGER * 4294967291 (SQL_IS_UINTEGER)
[000000.001002]
dg4odbcpr 7F410A1D76F0 EXIT SQLSetConnectAttr with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
SQLPOINTER 0x0
SQLINTEGER * 4294967291 (SQL_IS_UINTEGER)
[000000.001527]
dg4odbcpr 7F410A1D76F0 ENTER SQLDriverConnect
SQLHDBC 0x21ced40
SQLPOINTER 0x0
SQLCHAR * 0x21e6aa0
| DSN=clientPR;UID=SYSDBA;PWD=********* |
SQLSMALLINT 37
SQLCHAR * 0x21e75d8
SQLSMALLINT 1024
SQLSMALLINT * 0x7fff6f2f2c50
SQLUSMALLINT 0 (SQL_DRIVER_NOPROMPT)
[000000.283588]
dg4odbcpr 7F410A1D76F0 EXIT SQLDriverConnect with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLPOINTER 0x0
SQLCHAR * 0x21e6aa0
SQLSMALLINT 37
SQLCHAR * 0x21e75d8
| DSN=clientPR;Driver=Firebird/InterBase(r |
| ) driver;Dbname=10.1.216.3:clientPR;PWD= |
| *************** |
SQLSMALLINT 1024
SQLSMALLINT * 0x7fff6f2f2c50 (95)
SQLUSMALLINT 0 (SQL_DRIVER_NOPROMPT)
[000000.283840]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetFunctions
SQLHDBC 0x21ced40
SQLUSMALLINT 999 (SQL_API_ODBC3_ALL_FUNCTIONS)
[000000.283908]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetFunctions with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 999 (SQL_API_ODBC3_ALL_FUNCTIONS)
SQLUSMALLINT * 0x21d2db8
| SQL_API_SQLALLOCCONNECT |
| SQL_API_SQLALLOCENV |
| SQL_API_SQLALLOCSTMT |
| SQL_API_SQLBINDCOL |
| SQL_API_SQLCANCEL |
| SQL_API_SQLCOLATTRIBUTE |
| SQL_API_SQLCONNECT |
| SQL_API_SQLDESCRIBECOL |
| SQL_API_SQLDISCONNECT |
| SQL_API_SQLERROR |
| SQL_API_SQLEXECDIRECT |
| SQL_API_SQLEXECUTE |
| SQL_API_SQLFETCH |
| SQL_API_SQLFREECONNECT |
| SQL_API_SQLFREEENV |
| SQL_API_SQLFREESTMT |
| SQL_API_SQLGETCURSORNAME |
| SQL_API_SQLNUMRESULTCOLS |
| SQL_API_SQLPREPARE |
| SQL_API_SQLROWCOUNT |
| SQL_API_SQLSETCURSORNAME |
| SQL_API_SQLSETPARAM |
| SQL_API_SQLTRANSACT |
| SQL_API_SQLBULKOPERATIONS |
| SQL_API_SQLCOLUMNS |
| SQL_API_SQLDRIVERCONNECT |
| SQL_API_SQLGETCONNECTOPTION |
| SQL_API_SQLGETDATA |
| SQL_API_SQLGETFUNCTIONS |
| SQL_API_SQLGETINFO |
| SQL_API_SQLGETTYPEINFO |
| SQL_API_SQLPARAMDATA |
| SQL_API_SQLPUTDATA |
| SQL_API_SQLSETCONNECTOPTION |
| SQL_API_SQLSPECIALCOLUMNS |
| SQL_API_SQLSTATISTICS |
| SQL_API_SQLTABLES |
| SQL_API_SQLBROWSECONNECT |
| SQL_API_SQLCOLUMNPRIVILEGES |
| SQL_API_SQLDATASOURCES |
| SQL_API_SQLDESCRIBEPARAM |
| SQL_API_SQLEXTENDEDFETCH |
| SQL_API_SQLFOREIGNKEYS |
| SQL_API_SQLMORERESULTS |
| SQL_API_SQLNATIVESQL |
| SQL_API_SQLNUMPARAMS |
| SQL_API_SQLPRIMARYKEYS |
| SQL_API_SQLPROCEDURECOLUMNS |
| SQL_API_SQLPROCEDURES |
| SQL_API_SQLSETPOS |
| SQL_API_SQLSETSCROLLOPTIONS |
| SQL_API_SQLTABLEPRIVILEGES |
| SQL_API_SQLDRIVERS |
| SQL_API_SQLBINDPARAMETER |
[000000.284594]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 6 (SQL_DRIVER_NAME)
SQLPOINTER 0x7fff6f2f2950
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2c54
[000000.284676]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 6 (SQL_DRIVER_NAME)
SQLPOINTER 0x7fff6f2f2950
| Odb |
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2c54 (3)
[000000.284759]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 7 (SQL_DRIVER_VER)
SQLPOINTER 0x7fff6f2f2950
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2c54
[000000.284827]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 7 (SQL_DRIVER_VER)
SQLPOINTER 0x7fff6f2f2950
| 02.00 |
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2c54 (5)
[000000.284916]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 17 (SQL_DBMS_NAME)
SQLPOINTER 0x7fff6f2f2950
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2c54
[000000.284985]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 17 (SQL_DBMS_NAME)
SQLPOINTER 0x7fff6f2f2950
| Fire |
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2c54 (4)
[000000.285063]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 18 (SQL_DBMS_VER)
SQLPOINTER 0x7fff6f2f2950
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2c54
[000000.285131]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 18 (SQL_DBMS_VER)
SQLPOINTER 0x7fff6f2f2950
| 06.03.17910 WI-V Firebird 2.1 |
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2c54 (29)
[000000.285264]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 10003 (SQL_CATALOG_NAME)
SQLPOINTER 0x7fff6f2f2cb0
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2f40
[000000.285338]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 10003 (SQL_CATALOG_NAME)
SQLPOINTER 0x7fff6f2f2cb0
| Y |
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f2f40 (1)
[000000.285455]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 34 (SQL_MAX_CATALOG_NAME_LEN)
SQLPOINTER 0x7fff6f2f2f3c
SQLSMALLINT 2
SQLSMALLINT * 0x0
[000000.285521]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 34 (SQL_MAX_CATALOG_NAME_LEN)
SQLPOINTER 0x7fff6f2f2f3c (0)
SQLSMALLINT 2
SQLSMALLINT * 0x0
[000000.285609]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetConnectAttr
SQLHDBC 0x21ced40
SQLINTEGER 109 (SQL_ATTR_CURRENT_CATALOG)
SQLPOINTER 0x21ed0b0
SQLINTEGER * 4096
SQLINTEGER * 0x21d3128
[000000.285688]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetConnectAttr with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLINTEGER 109 (SQL_ATTR_CURRENT_CATALOG)
SQLPOINTER 0x21ed0b0
SQLINTEGER * 4096
SQLINTEGER * 0x21d3128 (19)
[000000.287915]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 91 (SQL_SCHEMA_USAGE)
SQLPOINTER 0x7fff6f2f3024
SQLSMALLINT 4
SQLSMALLINT * 0x7fff6f2f3038
[000000.288012]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 91 (SQL_SCHEMA_USAGE)
SQLPOINTER 0x7fff6f2f3024 (0x0)
| SQL_SU_UNKNOWN |
SQLSMALLINT 4
SQLSMALLINT * 0x7fff6f2f3038 (4)
[000000.288118]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 46 (SQL_TXN_CAPABLE)
SQLPOINTER 0x21d369c
SQLSMALLINT 2
SQLSMALLINT * 0x7fff6f2f3040
[000000.288196]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 46 (SQL_TXN_CAPABLE)
SQLPOINTER 0x21d369c (2)
| SQL_TC_ALL |
SQLSMALLINT 2
SQLSMALLINT * 0x7fff6f2f3040 (2)
[000000.288285]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 72 (SQL_TXN_ISOLATION_OPTION)
SQLPOINTER 0x21d36a0
SQLSMALLINT 4
SQLSMALLINT * 0x7fff6f2f3040
[000000.288362]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 72 (SQL_TXN_ISOLATION_OPTION)
SQLPOINTER 0x21d36a0 (0xF)
| SQL_TXN_READ_UNCOMMITTED |
| SQL_TXN_READ_COMMITTED |
| SQL_TXN_REPEATABLE_READ |
| SQL_TXN_SERIALIZABLE |
SQLSMALLINT 4
SQLSMALLINT * 0x7fff6f2f3040 (4)
[000000.288487]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 32 (SQL_MAX_SCHEMA_NAME_LEN)
SQLPOINTER 0x7fff6f2f303c
SQLSMALLINT 2
SQLSMALLINT * 0x7fff6f2f3038
[000000.288564]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 32 (SQL_MAX_SCHEMA_NAME_LEN)
SQLPOINTER 0x7fff6f2f303c (0)
SQLSMALLINT 2
SQLSMALLINT * 0x7fff6f2f3038 (2)
[000000.288654]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 35 (SQL_MAX_TABLE_NAME_LEN)
SQLPOINTER 0x7fff6f2f303c
SQLSMALLINT 2
SQLSMALLINT * 0x7fff6f2f3038
[000000.288729]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 35 (SQL_MAX_TABLE_NAME_LEN)
SQLPOINTER 0x7fff6f2f303c (31)
SQLSMALLINT 2
SQLSMALLINT * 0x7fff6f2f3038 (2)
[000000.288846]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 33 (SQL_MAX_PROCEDURE_NAME_LEN)
SQLPOINTER 0x7fff6f2f303c
SQLSMALLINT 2
SQLSMALLINT * 0x7fff6f2f3038
[000000.288924]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 33 (SQL_MAX_PROCEDURE_NAME_LEN)
SQLPOINTER 0x7fff6f2f303c (31)
SQLSMALLINT 2
SQLSMALLINT * 0x7fff6f2f3038 (2)
[000000.289031]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 29 (SQL_IDENTIFIER_QUOTE_CHAR)
SQLPOINTER 0x7fff6f2f2d70
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f3038
[000000.289133]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 29 (SQL_IDENTIFIER_QUOTE_CHAR)
SQLPOINTER 0x7fff6f2f2d70
| " |
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f3038 (1)
[000000.289243]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
SQLHDBC 0x21ced40
SQLUSMALLINT 87 (SQL_COLUMN_ALIAS)
SQLPOINTER 0x7fff6f2f2d70
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f3038
[000000.289326]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
SQLHDBC 0x21ced40
SQLUSMALLINT 87 (SQL_COLUMN_ALIAS)
SQLPOINTER 0x7fff6f2f2d70
| Y |
SQLSMALLINT 512
SQLSMALLINT * 0x7fff6f2f3038 (1)
[000000.289439]
dg4odbcpr 7F410A1D76F0 ENTER SQLAllocHandle
SQLSMALLINT 3 (SQL_HANDLE_STMT)
SQLHANDLE 0x21ced40
SQLHANDLE * 0x21d3050
[000000.289564]
dg4odbcpr 7F410A1D76F0 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 3 (SQL_HANDLE_STMT)
SQLHANDLE 0x21ced40
SQLHANDLE * 0x21d3050 (0x21ee140)
[000000.289624]
dg4odbcpr 7F410A1D76F0 ENTER SQLBindCol
SQLHSTMT 0x21ee140
SQLUSMALLINT 1
SQLSMALLINT 1 (SQL_C_CHAR)
SQLPOINTER 0x7fff6f2f2ce0
SQLLEN 120
SQLLEN * 0x7fff6f2f2fc8
[000000.289725]
dg4odbcpr 7F410A1D76F0 EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
SQLHSTMT 0x21ee140
SQLUSMALLINT 1
SQLSMALLINT 1 (SQL_C_CHAR)
SQLPOINTER 0x7fff6f2f2ce0
SQLLEN 120
SQLLEN * 0x7fff6f2f2fc8 (0)
[000000.289812]
dg4odbcpr 7F410A1D76F0 ENTER SQLBindCol
SQLHSTMT 0x21ee140
SQLUSMALLINT 3
SQLSMALLINT -16 (SQL_C_SLONG)
SQLPOINTER 0x7fff6f2f3020
SQLLEN 0
SQLLEN * 0x7fff6f2f2fb8
[000000.289897]
dg4odbcpr 7F410A1D76F0 EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
SQLHSTMT 0x21ee140
SQLUSMALLINT 3
SQLSMALLINT -16 (SQL_C_SLONG)
SQLPOINTER 0x7fff6f2f3020
SQLLEN 0
SQLLEN * 0x7fff6f2f2fb8 (0)
[000000.289982]
dg4odbcpr 7F410A1D76F0 ENTER SQLBindCol
SQLHSTMT 0x21ee140
SQLUSMALLINT 10
SQLSMALLINT -15 (SQL_C_SSHORT)
SQLPOINTER 0x7fff6f2f3034
SQLLEN 0
SQLLEN * 0x7fff6f2f2fc0
[000000.290067]
dg4odbcpr 7F410A1D76F0 EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
SQLHSTMT 0x21ee140
SQLUSMALLINT 10
SQLSMALLINT -15 (SQL_C_SSHORT)
SQLPOINTER 0x7fff6f2f3034
SQLLEN 0
SQLLEN * 0x7fff6f2f2fc0 (0)
[000000.290179]
dg4odbcpr 7F410A1D76F0 ENTER SQLGetTypeInfo
SQLHSTMT 0x21ee140
SQLSMALLINT 12 (SQL_VARCHAR)
[000000.290353]
dg4odbcpr 7F410A1D76F0 EXIT SQLGetTypeInfo with return code 0 (SQL_SUCCESS)
SQLHSTMT 0x21ee140
SQLSMALLINT 12 (SQL_VARCHAR)
[000000.290406]
dg4odbcpr 7F410A1D76F0 ENTER SQLFetch
SQLHSTMT 0x21ee140 -
Oracle 10.2.03 64bit and dg4odbc in gateway 11
Hi,
we want to implement a connection to our informix server
from oracle 10.2 64bit on a SuSE SLES10 64bit machine.
So i installed the gateway services for oracle 11g
I also installed the required patch 5965763
and configured the listener.ora (extract):
(SID_DESC =
(SID_NAME=IFAX)
(ORACLE_HOME=/opt/oracle/product/11)
(PROGRAM=dg4odbc) (ENVS=LD_LIBRARY_PATH=/opt/oracle/product/11/dg4/driver/lib:/opt/oracle/product/11/lib)
and tnsnames.ora (extract):
IFAXODBC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tq-ifsrv-neu.tq-net.de)(PORT = 1521))
(CONNECT_DATA =
(SID = IFAX)
(HS=OK)
and the initIFAX.ora :
HS_FDS_CONNECT_INFO = IFAX0001
HS_FDS_TRACE_LEVEL = debug
HS_FDS_SHAREABLE_NAME = /usr/local/informix/lib/cli/libifcli.so
set ODBCINI=/etc/unixODBC/odbc.ini
set LD_LIBRARY_PATH=/usr/local/informix/lib/cli:/usr/local/informix/lib/esql:$LD_LIBRARY_PATH
set INFORMIXDIR=/usr/local/informix
The odbc-driver is working fine (tested with:isql -v IFAX0001)
In oracle i got the message:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Informix][Informix ODBC Driver]Driver not capable.
ORA-02063 : preceding 2 lines from IFAX
What is going wrong here?
Regards Lothari got a trace file by using #isql -v IFAX0001
[ODBC][2917][SQLFreeHandle.c][268]
Entry:
Handle Type = 2
Input Handle = 0x507fe0
[ODBC][2917][SQLFreeHandle.c][317]
Exit:[SQL_SUCCESS]
[ODBC][2917][SQLFreeHandle.c][203]
Entry:
Handle Type = 1
Input Handle = 0x5079c0
but there are no entries caused by connecting via dg4odbc.
the dg4odbc logs into /opt/oracle/product/11/hs/log/IFAX_agt_xxxx.trc
Oracle Corporation --- FREITAG MRZ 07 2008 12:37:12.104
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- FREITAG MRZ 07 2008 12:37:12.104
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$:S
QLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "IFAX"
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:IFAX
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=178
HOCXU_SEM_VER=102000
Entered hgolofn at 2008/03/07-12:37:12
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
Entered hgolofns at 2008/03/07-12:37:12
symbol_peflctx=0xaab1d0c0
hoaerr:0
Exiting hgolofns at 2008/03/07-12:37:12
..... this Block repeats several times .....
Entered hgolofns at 2008/03/07-12:37:12
symbol_peflctx=0xaab3a520
hoaerr:0
Exiting hgolofns at 2008/03/07-12:37:12
Exiting hgolofn, rc=0 at 2008/03/07-12:37:12
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/07-12:37:12
Entered hgolgon at 2008/03/07-12:37:12
reco:0, name:cdix, tflag:0
Entered hgosuec at 2008/03/07-12:37:12
Exiting hgosuec, rc=0 at 2008/03/07-12:37:12
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 cdix as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2008/03/07-12:37:12
HS_FDS_CONNECT_INFO = "IFAX0001"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2008/03/07-12:37:12
dsn:IFAX0001, name:cdix
optn:
##>Connect Parameters (len=32)<##
## DSN=IFAX0001;
#! UID=cdix;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2008/03/07-12:37:12
DriverName:iclis09b.so, DriverVer: 3.00.0000 3.00.U
DBMS Name:Informix, DBMS Version:07.25.0000 UC4
Exiting hgocont, rc=0 at 2008/03/07-12:37:12
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 18 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2008/03/07-12:37:12
Entered hgoulcp at 2008/03/07-12:37:12
Entered hgowlst at 2008/03/07-12:37:12
Exiting hgowlst, rc=0 at 2008/03/07-12:37:12
SQLGetInfo returns for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns N for SQL_COLUMN_ALIAS
Exiting hgoulcp, rc=0 at 2008/03/07-12:37:12
Entered hgouldt at 2008/03/07-12:37:12
Exiting hgouldt, rc=0 at 2008/03/07-12:37:12
Entered hgobegn at 2008/03/07-12:37:12
tflag:0 , initial:1
hoi:0x75b84908, ttid (len 23) is ...
00: 42444649 6435352E 30356565 2E372E35 [IFDB.55dee505.7.]
10: 312E3131 323238 [11.1228]
tbid (len 10) is ...
0: 000B0007 000004CC 0104 [..........]
Entered hgopoer at 2008/03/07-12:37:12
hgopoer, line 159: got native error -11092 and sqlstate HYC00; message follows...
[Informix][Informix ODBC Driver]Driver not capable.
Exiting hgopoer, rc=0 at 2008/03/07-12:37:12
hgobegn, line 176: calling SQLEndTran got sqlstate HYC00
Exiting hgobegn, rc=28500 at 2008/03/07-12:37:12 with error ptr FILE:hgobegn.c LINE:176 FUNCTION:hgobegn() ID:SqlEndTran call
Is there any hint? -
Oracle 11g dg4odbc OpenLink postgres odbc driver for Linux... Integer issue
We were using scuccessfully the openlink driver for postgres odbc driver to connect oracle and postgres in solaris and oracle 10g hsodbc
we are migrating to Linux Oracle 11g and installed linux psotgres odbc driver and configured oracle 11g dg4odbc gateway.
We could connect from oracle and retrive the data from postgres.
Issue we have is
The integer data is not showing correctly…
For example in the postgres the value is 1 and in oracle its shown as 4294967297.
thanks,
Sirishathis is the trace when its working for
select * from "cognos_enrollmentdtl_s"@testag where "trial_id" = 39
and for 39 its returning 167503724583 thsi value in the result set.
Oracle Corporation --- THURSDAY SEP 30 2010 10:39:28.243
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY SEP 30 2010 10:39:28.243
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "4"
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"
setting HS_FDS_FETCH_ROWS to default of "100"
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"
Default value of 64 assumed 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 "testag"
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:testag
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=112000
Entered hgolofn at 2010/09/30-10:39:28
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/OpenLink/lib/libodbc.so"
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xaab20640
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xaab18a10
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xaab153d0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xaab10200
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab080c0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xaab05e00
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xaab1a360
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xaab09440
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xaab0a7a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xaab1fbd0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xaab111d0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xaab0a210
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xaab1f870
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xaab11f70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xaab09ce0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xaab17f70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xaab08a20
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xaab08680
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xaab180b0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xaab1fa30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xaab1bc10
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLColAttribute
symbol_peflctx=0xaab1b890
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLColumns
symbol_peflctx=0xaab007b0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLConnect
symbol_peflctx=0xaab05c50
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDescribeCol
symbol_peflctx=0xaab17d50
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDriverConnect
symbol_peflctx=0xaab07d30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLExecDirect
symbol_peflctx=0xaab092e0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLForeignKeys
symbol_peflctx=0xaaaffc20
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetConnectAttr
symbol_peflctx=0xaab1d8a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDescField
symbol_peflctx=0xaab1cfe0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDescRec
symbol_peflctx=0xaab1c3b0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDiagField
symbol_peflctx=0xaab0ed30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDiagRec
symbol_peflctx=0xaab0d5a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetInfo
symbol_peflctx=0xaab130a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetStmtAttr
symbol_peflctx=0xaab1f6e0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetTypeInfo
symbol_peflctx=0xaaafd250
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPrepare
symbol_peflctx=0xaab16560
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPrimaryKeys
symbol_peflctx=0xaaafeed0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLProcedureColumns
symbol_peflctx=0xaaafe550
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLProcedures
symbol_peflctx=0xaaafdad0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetConnectAttr
symbol_peflctx=0xaab1df70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetStmtAttr
symbol_peflctx=0xaab1f260
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetDescField
symbol_peflctx=0xaab1cb30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLStatistics
symbol_peflctx=0xaaafb6f0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLTables
symbol_peflctx=0xaab01d70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Exiting hgolofn, rc=0 at 2010/09/30-10:39:28
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 ".,"
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"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/09/30-10:39:28
Entered hgolgon at 2010/09/30-10:39:28
reco:0, name:readonly, tflag:0
Entered hgosuec at 2010/09/30-10:39:28
Exiting hgosuec, rc=0 at 2010/09/30-10:39:28
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 readonly as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/09/30-10:39:28
HS_FDS_CONNECT_INFO = "testag"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/09/30-10:39:28
dsn:testag, name:readonly
optn:
Entered hgocip at 2010/09/30-10:39:28
dsn:testag
Exiting hgocip, rc=0 at 2010/09/30-10:39:28
##>Connect Parameters (len=40)<##
## DSN=testag;
#! UID=readonly;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2010/09/30-10:39:28
Entered hgolosf at 2010/09/30-10:39:28
ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFD7F 0x015F 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0xFA00 0x3F5F
Exiting hgolosf, rc=0 at 2010/09/30-10:39:28
DriverName:pgr7_mt_lt.so, DriverVer:06.01.0524 OpenLink PostgreSQL Lite Driver
DBMS Name:PostgreSQL, DBMS Version:07.02.0000
Exiting hgocont, rc=0 at 2010/09/30-10:39:28
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 32 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/09/30-10:39:28
Entered hgoulcp at 2010/09/30-10:39:28
Entered hgowlst at 2010/09/30-10:39:28
Exiting hgowlst, rc=0 at 2010/09/30-10:39:28
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0xa
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 32 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 32 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns N for SQL_COLUMN_ALIAS
5 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x00000000, add-info: 0
capno:1992, context:0x0001ffff, add-info: 0
capno:3007, context:0x00000000, add-info: -3, translation:"36"
Exiting hgoulcp, rc=0 at 2010/09/30-10:39:28
Entered hgouldt at 2010/09/30-10:39:28
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/09/30-10:39:28
Entered hgobegn at 2010/09/30-10:39:28
tflag:0 , initial:1
hoi:0x2db07578, ttid (len 26) is ...
00: 4D4D4D41 54524958 2E623835 34333234 [testac.b854324]
10: 322E382E 31332E37 3936 [2.8.13.796]
tbid (len 23) is ...
00: 4D4D4D41 54524958 5B382E31 332E3739 [testac[8.13.79]
10: 365D5B31 2E345D [6][1.4]]
Exiting hgobegn, rc=0 at 2010/09/30-10:39:28
Entered hgodtab at 2010/09/30-10:39:28
count:1
table: cognos_enrollmentdtl_s
Allocate hoada[0] @ 0x5f38a60
Entered hgopcda at 2010/09/30-10:39:28
Column:1(trial_id): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:2(trial_name): dtype:12 (VARCHAR), prc/scl:64/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:3(subjcnt): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:4(total_expected_enrollment): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:5(site_name): dtype:12 (VARCHAR), prc/scl:256/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
The hoada for table cognos_enrollmentdtl_s follows...
hgodtab, line 876: Printing hoada @ 0x5f38a60
MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
12 VARCHAR Y 0 0 0/ 0 0 0 200 trial_name
4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
12 VARCHAR Y 0 0 0/ 0 0 0 200 site_name
Exiting hgodtab, rc=0 at 2010/09/30-10:39:28
Entered hgodafr, cursor id 0 at 2010/09/30-10:39:28
Free hoada @ 0x5f38a60
Exiting hgodafr, rc=0 at 2010/09/30-10:39:28
Entered hgopars, cursor id 1 at 2010/09/30-10:39:28
type:0
SQL text from hgopars, id=1, len=151 ...
00: 53454C45 43542041 312E2274 7269616C [SELECT A1."trial]
10: 5F696422 2C41312E 22747269 616C5F6E [_id",A1."trial_n]
20: 616D6522 2C41312E 22737562 6A636E74 [ame",A1."subjcnt]
30: 222C4131 2E22746F 74616C5F 65787065 [",A1."total_expe]
40: 63746564 5F656E72 6F6C6C6D 656E7422 [cted_enrollment"]
50: 2C41312E 22736974 655F6E61 6D652220 [,A1."site_name" ]
60: 46524F4D 2022636F 676E6F73 5F656E72 [FROM "cognos_enr]
70: 6F6C6C6D 656E7464 746C5F73 22204131 [ollmentdtl_s" A1]
80: 20574845 52452041 312E2274 7269616C [ WHERE A1."trial]
90: 5F696422 3D3339 [_id"=39]
Exiting hgopars, rc=0 at 2010/09/30-10:39:28
Entered hgoopen, cursor id 1 at 2010/09/30-10:39:28
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/30-10:39:28
Entered hgodscr, cursor id 1 at 2010/09/30-10:39:28
Allocate hoada @ 0x5f38a60
Entered hgopcda at 2010/09/30-10:39:28
Column:1(trial_id): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:2(trial_name): dtype:12 (VARCHAR), prc/scl:64/0, nullbl:2, octet:64, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:3(subjcnt): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:64, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:4(total_expected_enrollment): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:64, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:5(site_name): dtype:12 (VARCHAR), prc/scl:256/0, nullbl:2, octet:256, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
hgodscr, line 880: Printing hoada @ 0x5f38a60
MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
12 VARCHAR Y 64 64 0/ 0 0 0 200 trial_name
4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
12 VARCHAR Y 256 256 0/ 0 0 0 200 site_name
Exiting hgodscr, rc=0 at 2010/09/30-10:39:28
Entered hgoftch, cursor id 1 at 2010/09/30-10:39:28
hgoftch, line 130: Printing hoada @ 0x5f38a60
MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
12 VARCHAR Y 64 64 0/ 0 0 0 200 trial_name
4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
12 VARCHAR Y 256 256 0/ 0 0 0 200 site_name
Performing delayed open.
SQLBindCol: column 1, cdatatype: -16, bflsz: 4
SQLBindCol: column 2, cdatatype: 1, bflsz: 65
SQLBindCol: column 3, cdatatype: -16, bflsz: 4
SQLBindCol: column 4, cdatatype: -16, bflsz: 4
SQLBindCol: column 5, cdatatype: 1, bflsz: 257
SQLFetch: row: 1, column 1, bflsz: 4, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 1, column 2, bflsz: 65, bflar: 15
SQLFetch: row: 1, column 2, bflsz: 65, bflar: 15, (bfl: 64, mbl: 64)
SQLFetch: row: 1, column 3, bflsz: 4, bflar: 8
SQLFetch: row: 1, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 1, column 4, bflsz: 4, bflar: 8
SQLFetch: row: 1, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 1, column 5, bflsz: 257, bflar: 23
SQLFetch: row: 1, column 5, bflsz: 257, bflar: 23, (bfl: 256, mbl: 256)
SQLFetch: row: 2, column 1, bflsz: 4, bflar: 8
SQLFetch: row: 2, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 2, column 2, bflsz: 65, bflar: 15
SQLFetch: row: 2, column 2, bflsz: 65, bflar: 15, (bfl: 0, mbl: 64)
SQLFetch: row: 2, column 3, bflsz: 4, bflar: 8
SQLFetch: row: 2, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 2, column 4, bflsz: 4, bflar: 8
SQLFetch: row: 2, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 2, column 5, bflsz: 257, bflar: 35
SQLFetch: row: 2, column 5, bflsz: 257, bflar: 35, (bfl: 0, mbl: 256)
SQLFetch: row: 3, column 1, bflsz: 4, bflar: 8
SQLFetch: row: 3, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 3, column 2, bflsz: 65, bflar: 15
SQLFetch: row: 3, column 2, bflsz: 65, bflar: 15, (bfl: 0, mbl: 64)
SQLFetch: row: 3, column 3, bflsz: 4, bflar: 8
SQLFetch: row: 3, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 3, column 4, bflsz: 4, bflar: 8
SQLFetch: row: 3, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
i will paste the remaing trace in another reply..as the 30000 char exceeded
Edited by: Kodali.S on Sep 30, 2010 8:22 AM
Edited by: Kodali.S on Sep 30, 2010 8:25 AM -
DG4ODBC configured and working but receiving ORA-28528 for some columns
DG4ODBC is configured and working for XE 11gR2 but under some circumstance receiving SQL Error: ORA-28528: Heterogeneous Services datatype conversion error.
Configuration: DG4ODBC configured for Oracle 11gR2 using ODBC datasource based on IBM UniVerse ODBC Driver 4.00.04.7346 UVODBC.DLL (8/25/2009) all on same 32-bit Windows host for purpose of retrieving data from remote AIX based IBM/Rockit UniVerse version 10.1 database.
Following 3 commands with corresponding results illustrate problem:
select NO_PROD from bill_mat@dblink where NO_PROD not in ('15','20', '24', '6','10');
no rows selected
select NO_PROD, count (*) from bill_mat@dblink where NO_PROD in ('15','20', '24', '6','10') group by NO_PROD;
NO_PROD COUNT(*)
6 1
20 1
24 1
10 9
15 1
select NO_PROD from bill_mat@dblink ;
Error starting at line 19 in command:
select NO_PROD from bill_mat@dblink
Error report:
SQL Error: ORA-28528: Heterogeneous Services datatype conversion error
ORA-02063: preceding line from DBLINK
28528. 00000 - "Heterogeneous Services datatype conversion error"
*Cause: Either an Oracle datatype could not be converted to a non-Oracle
datatype, or a non-Oracle datatype could not be converted
to an Oracle datatype. The following are possible reasons for
for the conversion failure:
-- overflow problems (in the case of numbers)
-- length limitations (in the case of character strings)
-- invalid values passed into the conversion routines
*Action: Contact customer support of the agent vendor. If the problem is
due to size discrepancies between Oracle and the non-Oracle system,
it may not be possible to convert the value.
UniVerse LIST query shows many "blank" values for two fields LST.WO & NO.PROD that are problematic when attempting to query via DG4ODBC in the case of subject table "BILL_MAT":
LIST BILL.MAT LST.WO NO.PROD LOCK 04:08:44pm 22 Nov 2011 PAGE 11
BILL.MAT.. LST.WO.. NO.PROD LOCK
239912 10
220419
247992
252739
249709
239913 15
184767
164264
184666
164265
247994
239914
251731
249711
173760
239915 20
242137
247490
247894
254156
Press any key to continue...
Interestingly, output from this JDBC test app is different including references to "null" versus "blank" values referred to with LIST output above:
import java.sql.*;
import java.io.*;
public class billmat {
public static void main(String[] argv)
try {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
// Connect to the U2 server
String account = "universe_account";
String userid = "username";
String passwd = "password";
String host = "AIX_Host";
String url = "jdbc:ibm-u2://"+host+"/"+account+"?tracelevel=5;tracefile=qiang.trace";
//Load driver and connect to server
Class.forName("com.ibm.u2.jdbc.UniJDBCDriver");
Connection con = DriverManager.getConnection(url, userid, passwd);
System.out.println("\n\t*--- Connection successful ---*\n");
System.out.println("1. Select from file BILL.MAT ------------------------");
testQuery( con ) ;
con.close();
} catch ( SQLException e ) {
System.out.println("Ex-Message :" + e.getMessage());
System.out.println("Ex-Code :" + e.getErrorCode()) ;
System.out.println("Ex-SQLState:" + e.getSQLState());
System.out.println("Ex-Next :" + e.getNextException());
e.printStackTrace() ;
System.gc();
} catch ( Exception e) {
System.out.println("Exception caught:"+e) ;
e.printStackTrace() ;
* Select something from CUST.MAST file.
* @param con The JDBC connection object.
public static void testQuery(Connection con)
throws SQLException
Statement stmt = con.createStatement();
String sql = "select DISTINCT LST.WO, NO.PROD, LOCK from BILL.MAT where LST.WO is not null or NO.PROD is not null";
// Execute the SELECT statement
ResultSet rs = stmt.executeQuery(sql);
// Get result of first five records
// System.out.println("\tlist selected columns for the first five records:");
int i = 1;
while (rs.next() && i < 100)
System.out.println("\tLST_WO : \t" + rs.getString(1));
System.out.println("\tNO_PROD : \t" + rs.getString(2));
System.out.println("\tLOCK : \t" + rs.getString(3));
i++;
rs.close();
stmt.close() ;
System.out.println("\n\t*--- QUERY test is done successful ---*\n");
System.out.println("\n\tDisplay Count: \t" + i);
[root@VM-Linux01 Linux]# java billmat
--- Connection successful ---
1. Select from file BILL.MAT ------------------------
LST_WO : null
NO_PROD : null
LOCK :
LST_WO : null
NO_PROD : 10
LOCK :
LST_WO : null
NO_PROD : 15
LOCK :
LST_WO : null
NO_PROD : 20
LOCK :
LST_WO : null
NO_PROD : 6
LOCK :
LST_WO : null
NO_PROD : 24
LOCK :
--- QUERY test is done successful ---
Display Count: 7
The reason column LOCK is included above is because it is queryable via DG4ODBC and shows up as (null) within query result submitted via and provided by SQLDeveloper.
Considering results above it seems ORA-28528 IS NOT associated with overflow problems or length limitations. Rather, some sort of characterset mapping issue seems more plausible here. For instance, it seems NULL value returned in the case of columns LST_WO and NO_PROD from remote UniVerse database is not mapping correctly to how a NULL is represented within 11gR2 database. Is there some HS_% value within DG4ODBC init file that can be set to resolve this problem? I'm not well-versed in range of settings that exist but did try different values for HS_LANGUAGE which did not help.
There is no problem using Excel MS Query to retrieve this data using same system DSN and associated ODBC driver on which DG4OBDC setup is based from same Windows machine where DG4ODBC is configured.
These are current DG4ODBC settings for this instance (initDBLINK.ora):
HS_FDS_CONNECT_INFO = DBLINK.ODBC
HS_FDS_TRACE_LEVEL = ON
HS_FDS_TRACE_FILE_NAME = c:/DG_LOG
HS_FDS_TRACE_LEVEL = 4
HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
# Other HS_LANGUAGE settings attempted to resolve problem are commented below:
# HS_LANGUAGE = american_america.utf8
# HS_LANGUAGE = american_america.al32utf8
Any guidance would be greatly appreciated!
Edited by: WileyCoyote on Mar 8, 2012 1:33 PM
Edited by: WileyCoyote on Mar 8, 2012 1:39 PMHere is output produced by utility "Dr. Dee Bee Spy" provided by Rockit/UniVerse that it seems may be intended to produce ODBC trace for Rockit/UniVerse ODBC driver:
SQLAllocEnv
0x01000000
SQL_SUCCESS
SQLAllocConnect
0x01000000
0x01010000
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_DRIVER_ODBC_VER
[5]02.00
12
5
SQL_SUCCESS
SQLSetConnectOption
0x01010000
SQL_AUTOCOMMIT
SQL_AUTOCOMMIT_OFF
SQL_SUCCESS
SQLDriverConnect
0x01010000
0x00000000
[36]DSN=DBLINK.ODBC;UID=Username;PWD=Password;
SQL_NTS
[36]DSN=DBLINK.ODBC;UID=Username;PWD=Password;
1024
36
SQL_DRIVER_NOPROMPT
SQL_SUCCESS
SQLError
NULL
0x01010000
NULL
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLGetFunctions
0x01010000
0
FALSE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
FALSE
TRUE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
FALSE
TRUE
FALSE
FALSE
TRUE
TRUE
TRUE
TRUE
TRUE
FALSE
TRUE
TRUE
TRUE
FALSE
TRUE
TRUE
FALSE
TRUE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_CURSOR_COMMIT_BEHAVIOR
SQL_CB_CLOSE
2
2
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_CURSOR_ROLLBACK_BEHAVIOR
SQL_CB_CLOSE
2
2
SQL_SUCCESS
SQLError
NULL
0x01010000
NULL
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
0x01010000
NULL
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLGetInfo
0x01010000
SQL_DRIVER_NAME
[10]UVODBC.DLL
1024
10
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_DRIVER_VER
[37]3.7 Universe RDBMS 32-bit ODBC Driver
1024
37
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_DBMS_NAME
[8]UniVerse
1024
8
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_DBMS_VER
[6]10.1.0
1024
6
SQL_SUCCESS
SQLGetInfo
0x01010000
10003
SQL_ERROR
SQLError
NULL
0x01010000
NULL
[5]S1C00
0
[47][Rocket U2][UVODBC][2700830]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
0x01010000
NULL
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
0x01010000
NULL
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLGetInfo
0x01010000
SQL_OWNER_USAGE
0x00000000
4
4
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_TXN_CAPABLE
SQL_TC_DML
2
2
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_TXN_ISOLATION_OPTION
0x0F000000
4
4
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_MAX_OWNER_NAME_LEN
0
2
2
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_MAX_TABLE_NAME_LEN
72
2
2
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_MAX_PROCEDURE_NAME_LEN
0
2
2
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_IDENTIFIER_QUOTE_CHAR
[1]"
1024
1
SQL_SUCCESS
SQLGetInfo
0x01010000
SQL_COLUMN_ALIAS
[1]Y
1024
1
SQL_SUCCESS
SQLAllocStmt
0x01010000
0x01010001
SQL_SUCCESS
SQLBindCol
0x01010001
1
SQL_C_CHAR
0x70EB1200
120
0xF4EF1200
SQL_SUCCESS
SQLBindCol
0x01010001
3
SQL_C_SLONG
0xDCEF1200
0
0xE4EF1200
SQL_SUCCESS
SQLBindCol
0x01010001
10
SQL_C_SSHORT
0x0CF01200
0
0xECEF1200
SQL_SUCCESS
SQLGetTypeInfo
0x01010001
SQL_VARCHAR
SQL_SUCCESS
SQLExtendedFetch
0x01010001
SQL_FETCH_NEXT
0
NULL
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010001
SQL_CLOSE
SQL_SUCCESS
SQLGetTypeInfo
0x01010001
SQL_INTEGER
SQL_SUCCESS
SQLExtendedFetch
0x01010001
SQL_FETCH_NEXT
0
NULL
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010001
SQL_CLOSE
SQL_SUCCESS
SQLGetTypeInfo
0x01010001
SQL_SMALLINT
SQL_SUCCESS
SQLExtendedFetch
0x01010001
SQL_FETCH_NEXT
0
NULL
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010001
SQL_CLOSE
SQL_SUCCESS
SQLGetTypeInfo
0x01010001
SQL_VARBINARY
SQL_SUCCESS
SQLExtendedFetch
0x01010001
SQL_FETCH_NEXT
0
NULL
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010001
SQL_CLOSE
SQL_SUCCESS
SQLGetTypeInfo
0x01010001
SQL_BIGINT
SQL_SUCCESS
SQLExtendedFetch
0x01010001
SQL_FETCH_NEXT
0
NULL
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010001
SQL_CLOSE
SQL_SUCCESS
SQLGetTypeInfo
0x01010001
SQL_TINYINT
SQL_SUCCESS
SQLExtendedFetch
0x01010001
SQL_FETCH_NEXT
0
NULL
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010001
SQL_CLOSE
SQL_SUCCESS
SQLGetTypeInfo
0x01010001
SQL_LONGVARCHAR
SQL_SUCCESS
SQLExtendedFetch
0x01010001
SQL_FETCH_NEXT
0
NULL
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010001
SQL_CLOSE
SQL_SUCCESS
SQLGetTypeInfo
0x01010001
SQL_LONGVARBINARY
SQL_SUCCESS
SQLExtendedFetch
0x01010001
SQL_FETCH_NEXT
0
NULL
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010001
SQL_CLOSE
SQL_SUCCESS
SQLFreeStmt
0x01010001
SQL_UNBIND
SQL_SUCCESS
SQLTransact
NULL
0x01010000
SQL_COMMIT
SQL_SUCCESS
SQLSetConnectOption
0x01010000
SQL_TXN_ISOLATION
SQL_TXN_READ_COMMITTED
SQL_SUCCESS
SQLAllocStmt
0x01010000
0x01010002
SQL_SUCCESS
SQLFreeStmt
0x01010001
SQL_DROP
SQL_SUCCESS
SQLAllocStmt
0x01010000
0x01010003
SQL_SUCCESS
SQLBindCol
0x01010003
4
SQL_C_CHAR
0xD8EE1200
124
0x9CEF1200
SQL_SUCCESS
SQLBindCol
0x01010003
5
SQL_C_SSHORT
0xECEF1200
0
0x00000000
SQL_SUCCESS
SQLBindCol
0x01010003
6
SQL_C_CHAR
0x60EE1200
120
0xC8EF1200
SQL_SUCCESS
SQLBindCol
0x01010003
7
SQL_C_SLONG
0xA4EF1200
0
0xA8EF1200
SQL_SUCCESS
SQLBindCol
0x01010003
9
SQL_C_SSHORT
0xF0EF1200
0
0xB0EF1200
SQL_SUCCESS
SQLBindCol
0x01010003
10
SQL_C_SSHORT
0xF8EF1200
0
0xD0EF1200
SQL_SUCCESS
SQLBindCol
0x01010003
11
SQL_C_SSHORT
0xF4EF1200
0
0x00000000
SQL_SUCCESS
SQLBindCol
0x01010003
16
SQL_C_SLONG
0xB8EF1200
0
0xBCEF1200
SQL_SUCCESS
SQLColumns
0x01010003
NULL
0
NULL
0
[8]BILL_MAT
8
NULL
0
SQL_SUCCESS
SQLExtendedFetch
0x01010003
SQL_FETCH_NEXT
0
NULL
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010003
SQL_CLOSE
SQL_SUCCESS
SQLFreeStmt
0x01010003
SQL_UNBIND
SQL_SUCCESS
SQLFreeStmt
0x01010003
SQL_DROP
SQL_SUCCESS
SQLAllocStmt
0x01010000
0x01010004
SQL_SUCCESS
SQLPrepare
0x01010004
[24]select * from "BILL_MAT"
24
SQL_SUCCESS
SQLNumResultCols
0x01010004
27
SQL_SUCCESS
SQLDescribeCol
0x01010004
1
[4]Z_ID
31
4
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
1
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
2
[9]A_PROD_NO
31
9
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
2
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
3
[9]BATCH_QTY
31
9
SQL_INTEGER
10
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
3
SQL_COLUMN_UNSIGNED
UNUSED
UNUSED
UNUSED
FALSE
SQL_SUCCESS
SQLDescribeCol
0x01010004
4
[8]COST_UPD
31
8
SQL_DATE
10
0
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
5
[9]CREATE_DT
31
9
SQL_DATE
10
0
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
6
[5]LABOR
31
5
SQL_NUMERIC
8
4
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
7
[4]LOCK
31
4
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
7
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
8
[7]LST_CST
31
7
SQL_NUMERIC
7
2
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
9
[8]LST_PROD
31
8
SQL_DATE
10
0
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
10
[6]LST_WO
31
6
SQL_INTEGER
10
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
10
SQL_COLUMN_UNSIGNED
UNUSED
UNUSED
UNUSED
FALSE
SQL_SUCCESS
SQLDescribeCol
0x01010004
11
[7]NO_PROD
31
7
SQL_INTEGER
10
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
11
SQL_COLUMN_UNSIGNED
UNUSED
UNUSED
UNUSED
FALSE
SQL_SUCCESS
SQLDescribeCol
0x01010004
12
[3]P_C
31
3
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
12
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
13
[5]PRICE
31
5
SQL_NUMERIC
4
2
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
14
[9]PROD_DESC
31
9
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
14
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
15
[13]PROD_DESC_QTY
31
13
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
15
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
16
[9]PROD_NAME
31
9
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
16
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
17
[6]P_NAME
31
6
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
17
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
18
[3]QTY
31
3
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
18
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
19
[8]STOCK_UM
31
8
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
19
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
20
[8]TOT_COST
31
8
SQL_NUMERIC
8
2
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
21
[9]TOT_COST4
31
9
SQL_NUMERIC
8
4
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
22
[14]TOT_LABOR_COST
31
14
SQL_NUMERIC
8
2
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
23
[13]TOT_LABOR_HRS
31
13
SQL_NUMERIC
8
2
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
24
[12]TOT_MAT_COST
31
12
SQL_NUMERIC
8
2
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
25
[13]TOT_OVHD_COST
31
13
SQL_NUMERIC
8
2
SQL_NULLABLE
SQL_SUCCESS
SQLDescribeCol
0x01010004
26
[2]UM
31
2
SQL_VARCHAR
254
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010004
26
1013
SQL_ERROR
SQLError
NULL
NULL
0x01010004
[5]S1C00
0
[47][Rocket U2][UVODBC][2701807]Driver not capable.
512
47
SQL_SUCCESS
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLError
NULL
NULL
0x01010004
[5]00000
0
[0]
512
0
SQL_NO_DATA_FOUND
SQLDescribeCol
0x01010004
27
[6]YIELD_
31
6
SQL_NUMERIC
3
2
SQL_NULLABLE
SQL_SUCCESS
SQLCancel
0x01010004
SQL_SUCCESS_WITH_INFO
SQLError
NULL
NULL
0x01010004
[5]01S05
0
[60][Rocket U2][UVODBC][2701402]Cancel treated as FreeStmt/CLOSE
512
60
SQL_SUCCESS
SQLFreeStmt
0x01010004
SQL_CLOSE
SQL_SUCCESS
SQLFreeStmt
0x01010002
SQL_DROP
SQL_SUCCESS
SQLAllocStmt
0x01010000
0x01010005
SQL_SUCCESS
SQLPrepare
0x01010005
[32]SELECT "NO_PROD" FROM "BILL_MAT"
32
SQL_SUCCESS
SQLNumResultCols
0x01010005
1
SQL_SUCCESS
SQLDescribeCol
0x01010005
1
[7]NO_PROD
31
7
SQL_INTEGER
10
0
SQL_NULLABLE
SQL_SUCCESS
SQLColAttributes
0x01010005
1
SQL_COLUMN_UNSIGNED
UNUSED
UNUSED
UNUSED
FALSE
SQL_SUCCESS
SQLSetStmtOption
0x01010005
SQL_ROWSET_SIZE
0x64000000
SQL_SUCCESS
SQLSetStmtOption
0x01010005
SQL_BIND_TYPE
SQL_BIND_BY_COLUMN
SQL_SUCCESS
SQLExecute
0x01010005
SQL_SUCCESS
SQLBindCol
0x01010005
1
SQL_C_SLONG
0xD89BF702
4
0x149FF702
SQL_SUCCESS
SQLExtendedFetch
0x01010005
SQL_FETCH_NEXT
0
0
SQL_NO_DATA_FOUND
SQLFreeStmt
0x01010005
SQL_UNBIND
SQL_SUCCESS
SQLFreeStmt
0x01010005
SQL_DROP
SQL_SUCCESS
SQLTransact
NULL
0x01010000
SQL_COMMIT
SQL_SUCCESS
Edited by: WileyCoyote on Mar 8, 2012 1:46 PM -
Accessing Postgres from Oracle using DG4ODBC and psqlodbc very slow
I have set up DG4ODBC on a Windows 2003 32-bit 11g Oracle database to access a Windows 2008 64-bit 9.1 Postgres database, using the psqlodbc driver (32-bit).
I am able to issue queries, but they are very slow. The reason is that the where clause of the query is being removed somewhere along the line (I have seen the actual queries run by Postgres using pgAdmin server status screen), and all the rows in the table are retrieved from Postgres. Naturally with tables bigger than a few rows that means doing a full table scan in Postgres, as well as transferring lots of bytes through the network.
For instance, if I query from Oracle like this: select * from "dps_user"@pg where "id" = '2423', the sql run at Postgres is this: select * from dps_user, which retrieves all rows on the table! When I get the query result in Oracle, I only get the row with id 2423, so I assume that Oracle gets the whole table, and does the filtering at its end.
In a 32-bit Windows XP separate machine I have set up the same psqlodbc driver, and I have run the same query using Microsoft Query. In this case, the query run in Postgres contains the where clause, and therefore it is much faster because a unique index scan is performed in Postgres, and only one row is transferred back to Microsoft Query.
Could you help me, please?
Thanks a lot,
CarlosHi Mike,
Thanks a lot for your help. The gateway version must be 11.2.0.3 since the Oracle database has patchset 11.2.0.3 applied.
This is the ini file once I changed the trace level:
HS_FDS_CONNECT_INFO = pg
HS_FDS_TRACE_LEVEL = 255
I tried this query:
select *
from dps_user
where id = 'W106606';
Where dps_user is a view on the Oracle database which translates to this:
CREATE OR REPLACE FORCE VIEW dps_user (ID,
login,
first_name,
last_name,
lastactivity_date,
registration_date,
email,
email_status,
receive_email
AS
SELECT "id", "login", "first_name", "last_name", "lastactivity_date",
"registration_date", "email", "email_status", "receive_email"
FROM "dynamo_web"."dps_user"@pg.es.lladro.com;
The generated trace file is:
Oracle Corporation --- JUEVES MAY 09 2013 18:13:35.968
Heterogeneous Agent Release
11.2.0.3.0
Oracle Corporation --- JUEVES MAY 09 2013 18:13:35.968
Version 11.2.0.3.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
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 "UCS2"
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"
setting HS_FDS_FETCH_ROWS to default of "100"
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_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_FDS_QUOTE_IDENTIFIER to default of "TRUE"
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"
Default value of 32 assumed 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 "PG"
Product-Info:
Port Rls/Upd:3/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:PG
Exiting hgogprd, rc=0
hostmstr: 2051219456: HOA After hoagprd
hostmstr: 2051219456: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=1000
HOCXU_DB_CSET=873
HS_LANGUAGE not specified
rc=1000 attempting to get LANG environment variable.
HOCXU_SEM_VER=112000
Entered hgolofn at 2013/05/09-18:13:36
Exiting hgolofn, rc=0 at 2013/05/09-18:13:36
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 ".,"
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"
Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2013/05/09-18:13:36
hostmstr: 2051219456: HOA After hoainit
hostmstr: 2051219456: HOA Before hoalgon
Entered hgolgon at 2013/05/09-18:13:36
reco:0, name:dynamoselect, tflag:0
Entered hgosuec at 2013/05/09-18:13:36
Exiting hgosuec, rc=0 at 2013/05/09-18:13:36
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_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 dynamoselect as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2013/05/09-18:13:36
HS_FDS_CONNECT_INFO = "pg"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2013/05/09-18:13:36
dsn:pg, name:dynamoselect
optn:
Entered hgocip at 2013/05/09-18:13:36
dsn:pg
Exiting hgocip, rc=0 at 2013/05/09-18:13:36
##>Connect Parameters (len=40)<##
## DSN=pg;
#! UID=dynamoselect;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2013/05/09-18:13:36
Entered hgolosf at 2013/05/09-18:13:36
ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFA7F 0x03DF 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0xFE00 0x3B5C
Exiting hgolosf, rc=0 at 2013/05/09-18:13:36
DriverName:PSQLODBC35W.DLL, DriverVer:09.01.0100
DBMS Name:PostgreSQL, DBMS Version:9.1.7
Exiting hgocont, rc=0 at 2013/05/09-18:13:36
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 0 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2013/05/09-18:13:36
hostmstr: 2049228800: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 2049228800: RPC Before Upload Caps
hostmstr: 2049228800: HOA Before hoaulcp
Entered hgoulcp at 2013/05/09-18:13:36
Entered hgowlst at 2013/05/09-18:13:36
Exiting hgowlst, rc=0 at 2013/05/09-18:13:36
SQLGetInfo returns 0x1d for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0xa
SQLGetInfo returns 64 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 64 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
2 instance capabilities will be uploaded
capno:1989, context:0x00000000, add-info: 0
capno:1992, context:0x0001ffff, add-info: 0
Exiting hgoulcp, rc=0 at 2013/05/09-18:13:36
hostmstr: 2049228800: HOA After hoaulcp
hostmstr: 2049228800: RPC After Upload Caps
hostmstr: 2049228800: RPC Before Upload DDTR
hostmstr: 2049228800: HOA Before hoauldt
Entered hgouldt at 2013/05/09-18:13:36
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2013/05/09-18:13:36
hostmstr: 2049228800: HOA After hoauldt
hostmstr: 2049228800: RPC After Upload DDTR
hostmstr: 2049228800: RPC Before Begin Trans
hostmstr: 2049228800: HOA Before hoabegn
Entered hgobegn at 2013/05/09-18:13:36
tflag:0 , initial:1
hoi:0x12f090, ttid (len 39) is ...
00: 44455341 322E4553 2E4C4C41 44524F2E [DESA2.ES.LLADRO.]
10: 434F4D2E 65336530 30323865 2E31312E [COM.e3e0028e.11.]
20: 332E3133 303836 [3.13086]
tbid (len 36) is ...
00: 44455341 322E4553 2E4C4C41 44524F2E [DESA2.ES.LLADRO.]
10: 434F4D5B 31312E33 2E313330 38365D5B [COM[11.3.13086][]
20: 312E345D [1.4]]
Exiting hgobegn, rc=0 at 2013/05/09-18:13:36
hostmstr: 2049228800: HOA After hoabegn
hostmstr: 2049228800: RPC After Begin Trans
hostmstr: 2049228800: RPC Before Describe Table
hostmstr: 2049228800: HOA Before hoadtab
Entered hgodtab at 2013/05/09-18:13:36
count:1
table: dynamo_web.dps_user
Allocate hoada[0] @ 033A88D4
Entered hgopcda at 2013/05/09-18:13:36
Column:1(id): dtype:-9 (WVARCHAR), prc/scl:40/0, nullbl:0, octet:80, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:2(login): dtype:-9 (WVARCHAR), prc/scl:100/0, nullbl:0, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:3(auto_login): dtype:12 (VARCHAR), prc/scl:5/0, nullbl:1, octet:-1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:4(password): dtype:-9 (WVARCHAR), prc/scl:35/0, nullbl:1, octet:70, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:5(member): dtype:12 (VARCHAR), prc/scl:5/0, nullbl:1, octet:-1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:6(first_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:7(middle_name): dtype:-9 (WVARCHAR), prc/scl:40/0, nullbl:1, octet:80, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:8(last_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:9(user_type): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:10(locale): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:11(lastactivity_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:-1, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:12(registration_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:-1, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:13(email): dtype:-9 (WVARCHAR), prc/scl:100/6, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:14(email_status): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:15(receive_email): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:16(gender): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:17(date_of_birth): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:-1, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
Entered hgopcda at 2013/05/09-18:13:36
Column:18(securitystatus): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
The hoada for table dynamo_web.dps_user follows...
hgodtab, line 1092: Printing hoada @ 033A88D4
MAX:18, ACTUAL:18, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN,0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
12 VARCHAR N 80 80 128/ 40 1000 0 440 id
12 VARCHAR N 200 200 128/100 1000 0 440 login
-1 LONGVARCHAR Y 0 0 0/ 0 0 0 220 auto_login
12 VARCHAR Y 70 70 128/ 35 1000 0 440 password
-1 LONGVARCHAR Y 0 0 0/ 0 0 0 220 member
12 VARCHAR Y 120 120 128/ 60 1000 0 440 first_name
12 VARCHAR Y 80 80 128/ 40 1000 0 440 middle_name
12 VARCHAR Y 120 120 128/ 60 1000 0 440 last_name
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_type
-5 BIGINT Y 8 8 0/ 0 0 0 20 locale
91 DATE Y 16 16 0/ 0 0 0 0 lastactivity_date
91 DATE Y 16 16 0/ 0 0 0 0 registration_date
12 VARCHAR Y 200 200 128/100 1000 0 440 email
-5 BIGINT Y 8 8 0/ 0 0 0 20 email_status
-5 BIGINT Y 8 8 0/ 0 0 0 20 receive_email
-5 BIGINT Y 8 8 0/ 0 0 0 20 gender
91 DATE Y 16 16 0/ 0 0 0 0 date_of_birth
-5 BIGINT Y 8 8 0/ 0 0 0 20 securitystatus
Exiting hgodtab, rc=0 at 2013/05/09-18:13:36
hostmstr: 2048180224: HOA After hoadtab
hostmstr: 2048180224: HOA Before hoadafr
Entered hgodafr, cursor id 0 at 2013/05/09-18:13:36
Free hoada @ 033A88D4
Exiting hgodafr, rc=0 at 2013/05/09-18:13:36
hostmstr: 2048180224: HOA After hoadafr
hostmstr: 2048180224: RPC After Describe Table
hostmstr: 2048180224: RPC Before SQL Bundling
hostmstr: 2048180224: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2013/05/09-18:13:36
type:0
SQL text from hgopars, id=1, len=152 ...
00: 53454C45 43542022 6964222C 226C6F67 [SELECT "id","log]
10: 696E222C 22666972 73745F6E 616D6522 [in","first_name"]
20: 2C226C61 73745F6E 616D6522 2C226C61 [,"last_name","la]
30: 73746163 74697669 74795F64 61746522 [stactivity_date"]
40: 2C227265 67697374 72617469 6F6E5F64 [,"registration_d]
50: 61746522 2C22656D 61696C22 2C22656D [ate","email","em]
60: 61696C5F 73746174 7573222C 22726563 [ail_status","rec]
70: 65697665 5F656D61 696C2220 46524F4D [eive_email" FROM]
80: 20226479 6E616D6F 5F776562 222E2264 [ "dynamo_web"."d]
90: 70735F75 73657222 [ps_user"]
Exiting hgopars, rc=0 at 2013/05/09-18:13:56
hostmstr: 2001973248: HOA After hoxpars
hostmstr: 2001973248: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2013/05/09-18:13:56
hgoopen, line 87: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2013/05/09-18:13:56
hostmstr: 2001973248: HOA After hoxopen
hostmstr: 2001973248: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2013/05/09-18:13:56
Allocate hoada @ 033A88BC
Entered hgodscr_process_sellist_description at 2013/05/09-18:13:56
Entered hgopcda at 2013/05/09-18:13:56
Column:1(id): dtype:-9 (WVARCHAR), prc/scl:40/0, nullbl:0, octet:80, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:56
Entered hgopcda at 2013/05/09-18:13:56
Column:2(login): dtype:-9 (WVARCHAR), prc/scl:100/0, nullbl:0, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:56
Entered hgopcda at 2013/05/09-18:13:57
Column:3(first_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
Entered hgopcda at 2013/05/09-18:13:57
Column:4(last_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
Entered hgopcda at 2013/05/09-18:13:57
Column:5(lastactivity_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:120, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
Entered hgopcda at 2013/05/09-18:13:57
Column:6(registration_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:120, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
Entered hgopcda at 2013/05/09-18:13:57
Column:7(email): dtype:-9 (WVARCHAR), prc/scl:100/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
Entered hgopcda at 2013/05/09-18:13:57
Column:8(email_status): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
Entered hgopcda at 2013/05/09-18:13:57
Column:9(receive_email): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
hgodscr, line 464: Printing hoada @ 033A88BC
MAX:9, ACTUAL:9, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN,0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
12 VARCHAR N 80 80 128/ 40 1000 0 440 id
12 VARCHAR N 200 200 128/100 1000 0 440 login
12 VARCHAR Y 120 120 128/ 60 1000 0 440 first_name
12 VARCHAR Y 120 120 128/ 60 1000 0 440 last_name
91 DATE Y 16 16 0/ 0 0 0 0 lastactivity_date
91 DATE Y 16 16 0/ 0 0 0 0 registration_date
12 VARCHAR Y 200 200 128/100 1000 0 440 email
-5 BIGINT Y 8 8 0/ 0 0 0 20 email_status
-5 BIGINT Y 8 8 0/ 0 0 0 20 receive_email
Exiting hgodscr, rc=0 at 2013/05/09-18:13:57
hostmstr: 2001973248: HOA After hoxdscr
hostmstr: 2001973248: RPC After SQL Bundling
hostmstr: 2001973248: RPC Before Fetch Row
hostmstr: 2001973248: HOA Before hoaftch
Entered hgoftch, cursor id 1 at 2013/05/09-18:13:57
hgoftch, line 133: Printing hoada @ 033A88BC
MAX:9, ACTUAL:9, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN,0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
12 VARCHAR N 80 80 128/ 40 1000 0 440 id
12 VARCHAR N 200 200 128/100 1000 0 440 login
12 VARCHAR Y 120 120 128/ 60 1000 0 440 first_name
12 VARCHAR Y 120 120 128/ 60 1000 0 440 last_name
91 DATE Y 16 16 0/ 0 0 0 0 lastactivity_date
91 DATE Y 16 16 0/ 0 0 0 0 registration_date
12 VARCHAR Y 200 200 128/100 1000 0 440 email
-5 BIGINT Y 8 8 0/ 0 0 0 20 email_status
-5 BIGINT Y 8 8 0/ 0 0 0 20 receive_email
Performing delayed open.
SQLBindCol: column 1, cdatatype: -8, bflsz: 82
SQLBindCol: column 2, cdatatype: -8, bflsz: 202
SQLBindCol: column 3, cdatatype: -8, bflsz: 122
SQLBindCol: column 4, cdatatype: -8, bflsz: 122
SQLBindCol: column 5, cdatatype: 93, bflsz: 16
SQLBindCol: column 6, cdatatype: 93, bflsz: 16
SQLBindCol: column 7, cdatatype: -8, bflsz: 202
SQLBindCol: column 8, cdatatype: -25, bflsz: 8
SQLBindCol: column 9, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 82, bflar: 14
SQLFetch: row: 1, column 1, bflsz: 82, bflar: 14, (bfl: 80, mbl: 80)
SQLFetch: row: 1, column 2, bflsz: 202, bflar: 54
SQLFetch: row: 1, column 2, bflsz: 202, bflar: 54, (bfl: 200, mbl: 200)
SQLFetch: row: 1, column 3, bflsz: 122, bflar: 10
SQLFetch: row: 1, column 3, bflsz: 122, bflar: 10, (bfl: 120, mbl: 120)
SQLFetch: row: 1, column 4, bflsz: 122, bflar: 8
SQLFetch: row: 1, column 4, bflsz: 122, bflar: 8, (bfl: 120, mbl: 120)
SQLFetch: row: 1, column 5, bflsz: 16, bflar: -1
SQLFetch: row: 1, column 5, bflsz: 16, bflar: SQL_NULL_DATA
SQLFetch: row: 1, column 6, bflsz: 16, bflar: 16
SQLFetch: row: 1, column 6, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
SQLFetch: row: 1, column 7, bflsz: 202, bflar: 44
SQLFetch: row: 1, column 7, bflsz: 202, bflar: 44, (bfl: 200, mbl: 200)
SQLFetch: row: 1, column 8, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 8, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 9, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 9, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 2, column 1, bflsz: 82, bflar: 14
SQLFetch: row: 2, column 1, bflsz: 82, bflar: 14, (bfl: 0, mbl: 80)
(I have clipped it because it is huge, since all rows from the table are brought into Oracle. In fact, the query did not finish yet because the process dg4odbc.exe is busy writing the trace file, I may have to kill it ).
Thanks a lot,
Carlos -
Hi,
I´m testing DG4ODBC to access informix database.
My enviroment is:
Oracle Enterprise Linux 6.5 (x86 64)
Informix Database 11.50
Informix ODBC Driver version 4.10
Using DG4ODBC 11.2.0.4 - ORA-28511 and in the trace file:
Exiting hgoulcp, rc=28500 with error ptr FILE:hgoulcp.c LINE:2142 FUNCTION:hgoulcp() ID:SQLGetTypeInfo: WCHAR
Using DG4ODBC 12.1.0.2 - ORA-28500 with description:
[Informix][Informix ODBC Driver]Invalid argument value. {HY009,NativeErr = -11066}
Have anyone see this errors?
This is my initSID.ora settings:
# HS init parameters
HS_FDS_CONNECT_INFO = myIfmxDB
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_SHAREABLE_NAME = /opt/IBM/informix/lib/cli/iclit09b.so
HS_FDS_QUOTE_IDENTIFIER=FALSE
# ODBC specific environment variables
set ODBCINI=/opt/IBM/informix/etc/odbc.ini
# Environment variables required for the non-Oracle system
set INFORMIXDIR=/opt/IBM/informix
set DELIMIDENT=YMike,
Even change the parametes the error is the same.
The solution for the DG4ODBC 11.2.0.4 is apply the patch how you wrote in your reply.
Very thank for your help!!
But I have another error in DG4ODBC 12.1.0.2 version.
The same code pl/sql, is running in the 11.2.0.3 and 11.2.0.4 versions without errors.
This is the information about the 12.1.0.2 verion of DG4ODBC:
Using DG4ODBC 12.1.0.2
Connected to:
Oracle Database 11g Release 11.1.0.6.0 - 64bit Production
SQL> conn intervlc/intervlc
Connected.
SQL> set serveroutput on;
SQL> declare
2 pcod_empresa x_nfeptr."cod_empresa"@softel.odbc%type;
3
4 begin
5 pcod_empresa:=14;
6
7 for c_teste in (
SELECT "cod_empresa","nro_nota_fiscal","nro_serie"
FROM "x_nfeptr"@softel.odbc
where "situacao" = '6'
8 9 10 11 and "tipo_movimentacao" = '1'
12 and "versao_xml_nf_e" = 2
and "cod_empresa" = pcod_empresa
13 14 ORDER BY "data_geracao"
15 ) loop
16 SYS.DBMS_OUTPUT.PUT_LINE(c_teste."cod_empresa"||','||c_teste."nro_nota_fiscal"||','||c_teste."nro_serie");
17 end loop;
SYS.DBMS_OUTPUT.PUT_LINE('CONCLUIDO!');
end;
18 19 20 declare
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Informix][Informix ODBC Driver]Invalid argument value. {HY009,NativeErr = -11066}
ORA-02063: preceding 2 lines from SOFTEL.ODBC
ORA-06512: at line 7
SQL>
SQL> describe "informix"."x_nfeptr"@softel.odbc
Name Null? Type
cod_empresa NOT NULL NUMBER(5)
nro_nota_fiscal NOT NULL NUMBER(10)
nro_serie NOT NULL CHAR(4)
tipo_movimentacao NOT NULL CHAR(1)
cod_matriz NOT NULL NUMBER(5)
data_emissao NOT NULL DATE
data_geracao NOT NULL DATE
situacao NOT NULL CHAR(1)
cod_retorno_nf_e NUMBER(5)
descr_retorno_nf_e CHAR(100)
chave_acesso_nf_e CHAR(44)
nro_protocolo_nf_e NUMBER(15)
nro_recibo_nf_e NUMBER(15)
forma_emissao_nf_e NOT NULL CHAR(1)
usuario NOT NULL CHAR(15)
fila_impressora NOT NULL CHAR(30)
data_impressao DATE
data_retorno DATE
nro_lote_nf_e CHAR(15)
versao_xml_nf_e NUMBER(5,2)
seqnfe NOT NULL NUMBER(10)
SQL>
Create table statement for the informix table:
DBSCHEMA Schema Utility INFORMIX-SQL Version 11.50.FC9XW
create table "informix".x_nfeptr
cod_empresa smallint not null ,
nro_nota_fiscal integer not null ,
nro_serie char(4) not null ,
tipo_movimentacao char(1) not null ,
cod_matriz smallint not null ,
data_emissao datetime year to fraction(3) not null ,
data_geracao datetime year to fraction(3) not null ,
situacao char(1) not null ,
cod_retorno_nf_e smallint,
descr_retorno_nf_e char(100),
chave_acesso_nf_e char(44),
nro_protocolo_nf_e decimal(15,0),
nro_recibo_nf_e decimal(15,0),
forma_emissao_nf_e char(1) not null ,
usuario char(15) not null ,
fila_impressora char(30) not null ,
data_impressao datetime year to fraction(3),
data_retorno datetime year to fraction(3),
nro_lote_nf_e char(15),
versao_xml_nf_e decimal(5,2),
seqnfe serial not null
create index "informix".ix1_x_nfeptr on "informix".x_nfeptr (situacao,
tipo_movimentacao,nro_nota_fiscal,cod_empresa) using btree
create index "informix".ix2_x_nfeptr on "informix".x_nfeptr (cod_empresa,
nro_nota_fiscal,nro_serie,tipo_movimentacao) using btree
create index "informix".ix3_x_nfeptr on "informix".x_nfeptr (chave_acesso_nf_e)
using btree ;
create unique index "informix".ix4_x_nfeptr on "informix".x_nfeptr
(seqnfe) using btree ;
alter table "informix".x_nfeptr add constraint primary key (seqnfe)
constraint "informix".x_nfeptr_pk ;
create trigger "informix".trg1_x_nfeptr update of situacao on
"informix".x_nfeptr referencing old as antes new as atual
for each row
when ((((atual.situacao = '6' ) AND (NVL (antes.situacao
,' ' )!= '6' ) ) AND (atual.cod_retorno_nf_e = 100 ) ) )
--# SVN-URL : $HeadURL: http://saturno/vulcaFontes/GCI/trunk/construcao/sources/gci/prg/trg1_x_nfeptr.sql $
--# SVN-ID : $Id: trg1_x_nfeptr.sql 107788 2014-11-27 10:40:04Z taraujo $
{ Autorizado SEFAZ }
{ Intercompany }
execute procedure "informix".sp_tr_transito(atual.tipo_movimentacao
,'x_nfeptr' ,'EM' ,'E' ,atual.cod_empresa ,'' ,'' ,'' ,'FT' ,atual.nro_serie
,'' ,atual.nro_nota_fiscal ,atual.data_emissao ,0 ,'' ,'' ,'' )),
when (((((atual.situacao = '6' ) AND (atual.cod_retorno_nf_e
= 135 ) ) AND ((antes.situacao != '6' ) OR (NVL (antes.cod_retorno_nf_e
,0 )!= 135 ) ) ) OR (((atual.situacao = '6' ) AND (atual.cod_retorno_nf_e
= 155 ) ) AND ((antes.situacao != '6' ) OR (NVL (antes.cod_retorno_nf_e
,0 )!= 155 ) ) ) ) )
{ Cancelamento }
{ Intercompany }
execute procedure "informix".sp_tr_transito(atual.tipo_movimentacao
,'x_nfeptr' ,'CA' ,'S' ,atual.cod_empresa ,'' ,'' ,'' ,'FT' ,atual.nro_serie
,'' ,atual.nro_nota_fiscal ,atual.data_emissao ,0 ,'' ,'' ,'' )),
when ((((atual.situacao = '6' ) AND (atual.cod_retorno_nf_e
= 102 ) ) AND (NVL (antes.cod_retorno_nf_e ,0 )!= 102 ) ) )
{ Inutilizacao }
{ Intercompany }
execute procedure "informix".sp_tr_transito(atual.tipo_movimentacao
,'x_nfeptr' ,'IN' ,'S' ,atual.cod_empresa ,'' ,'' ,'' ,'FT' ,atual.nro_serie
,'' ,atual.nro_nota_fiscal ,atual.data_emissao ,0 ,'' ,'' ,'' ));
Oracle Database Characterset is US7ASCII
DG4ODBC Trace File
Oracle Corporation --- MONDAY JAN 26 2015 15:44:46.725
Heterogeneous Agent Release
12.1.0.2.0
Oracle Corporation --- MONDAY JAN 26 2015 15:44:46.725
Version 12.1.0.2.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
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"
setting HS_FDS_FETCH_ROWS to default of "100"
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_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"
HOSGIP returned value of "FALSE" for HS_FDS_QUOTE_IDENTIFIER
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"
Default value of 64 assumed 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;gtw$:OPTTables;gtw$:OPTColumns;gtw$:OPTPrimaryKeys;gtw$:OPTForeignKeys;gtw$:OPTProcedures;gtw$:OPTStatistics"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
setting HS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "softelodbc12c"
Product-Info:
Port Rls/Upd:2/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:12.1.0.2.0_0023, Instance:softelodbc12c
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=1
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=1
HS_LANGUAGE not specified
LANG=en_US.UTF-8
HOCXU_SEM_VER=110000
HOCXU_VC2_MAX=4000
HOCXU_RAW_MAX=2000
Entered hgolofn at 2015/01/26-15:44:46
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/opt/IBM/informix/lib/cli/iclit09b.so"
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLAllocHandle
symbol_peflctx=0x3ddef8af
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLBindCol
symbol_peflctx=0x3ddfbf78
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLBindParameter
symbol_peflctx=0x3ddf9ef3
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLCancel
symbol_peflctx=0x3ddf1a23
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLDescribeParam
symbol_peflctx=0x3ddf9442
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLDisconnect
symbol_peflctx=0x3ddecfdf
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLEndTran
symbol_peflctx=0x3de020d0
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLExecute
symbol_peflctx=0x3ddf442f
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLFetch
symbol_peflctx=0x3ddfe7da
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLFreeHandle
symbol_peflctx=0x3ddef663
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLFreeStmt
symbol_peflctx=0x3ddfb2e3
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetData
symbol_peflctx=0x3ddff091
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetEnvAttr
symbol_peflctx=0x3de49b16
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetFunctions
symbol_peflctx=0x3ddf4a80
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLMoreResults
symbol_peflctx=0x3ddfe916
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLNumResultCols
symbol_peflctx=0x3ddfc325
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLParamData
symbol_peflctx=0x3ddf23d9
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLPutData
symbol_peflctx=0x3ddf1a2f
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLRowCount
symbol_peflctx=0x3ddfbda9
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLSetEnvAttr
symbol_peflctx=0x3de49dc7
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLSetDescRec
symbol_peflctx=0x3de6a264
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLColAttribute
symbol_peflctx=0x3de012ff
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLColumns
symbol_peflctx=0x3ddeaaf4
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLConnect
symbol_peflctx=0x3ddeeb75
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLDescribeCol
symbol_peflctx=0x3de01e6f
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLDriverConnect
symbol_peflctx=0x3ddee218
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLExecDirect
symbol_peflctx=0x3ddf41ea
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLForeignKeys
symbol_peflctx=0x3dde08db
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetConnectAttr
symbol_peflctx=0x3de47a45
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetDescField
symbol_peflctx=0x3de68ab4
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetDescRec
symbol_peflctx=0x3de65fac
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetDiagField
symbol_peflctx=0x3de64903
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetDiagRec
symbol_peflctx=0x3de6452b
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetInfo
symbol_peflctx=0x3ddf87f5
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetStmtAttr
symbol_peflctx=0x3de45109
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLGetTypeInfo
symbol_peflctx=0x3ddf4da4
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLPrepare
symbol_peflctx=0x3ddfaa6d
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLPrimaryKeys
symbol_peflctx=0x3dde1a6a
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLProcedureColumns
symbol_peflctx=0x3dddd74f
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLProcedures
symbol_peflctx=0x3ddde7c7
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLSetConnectAttr
symbol_peflctx=0x3de498e5
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLSetStmtAttr
symbol_peflctx=0x3de4668b
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLSetDescField
symbol_peflctx=0x3de6ad18
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLStatistics
symbol_peflctx=0x3dde848e
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Entered hgolofns at 2015/01/26-15:44:46
libname=/opt/IBM/informix/lib/cli/iclit09b.so, funcname=SQLTables
symbol_peflctx=0x3ddec93e
hoaerr:0
Exiting hgolofns at 2015/01/26-15:44:46
Exiting hgolofn, rc=0 at 2015/01/26-15:44:46
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_CHARACTERS" 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"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2015/01/26-15:44:46
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2015/01/26-15:44:46
reco:0, name:azaleia, tflag:0
Entered hgosuec at 2015/01/26-15:44:46
Exiting hgosuec, rc=0 at 2015/01/26-15:44:46
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_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 azaleia as default schema
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2015/01/26-15:44:46
HS_FDS_CONNECT_INFO = "softel"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2015/01/26-15:44:46
dsn:softel, name:azaleia
optn:
Entered hgocip at 2015/01/26-15:44:46
dsn:softel
Exiting hgocip, rc=0 at 2015/01/26-15:44:46
##>Connect Parameters (len=35)<##
## DSN=softel;
#! UID=azaleia;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2015/01/26-15:44:46
Entered hgolosf at 2015/01/26-15:44:46
ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFF7F 0x03FF 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0xFE00 0x3F5F
Exiting hgolosf, rc=0 at 2015/01/26-15:44:46
DriverName:iclis09b.so, DriverVer: 4.10.0000 4.10.U
DBMS Name:Informix, DBMS Version:11.50.0000 FC9XW
Exiting hgocont, rc=0 at 2015/01/26-15:44:46
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 128 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2015/01/26-15:44:46
hostmstr: 0: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Upload Caps
hostmstr: 0: HOA Before hoaulcp
Entered hgoulcp at 2015/01/26-15:44:46
Entered hgowlst at 2015/01/26-15:44:46
Exiting hgowlst, rc=0 at 2015/01/26-15:44:46
SQLGetInfo returns 0x1f for SQL_SCHEMA_USAGE
TXN Capable:2, Isolation Option:0xb
SQLGetInfo returns 32 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 128 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 128 for SQL_MAX_PROCEDURE_NAME_LEN
HOSGIP returned value of "FALSE" for HS_FDS_QUOTE_IDENTIFIER
Entered hgopoer at 2015/01/26-15:44:46
hgopoer, line 240: got native error -11064 and sqlstate HY004; message follows...
[Informix][Informix ODBC Driver]SQL data type out of range. {HY004,NativeErr = -11064}
Exiting hgopoer, rc=0 at 2015/01/26-15:44:46
hgoulcp, line 2173: calling SQLFetch got sqlstate HY004
3 instance capabilities will be uploaded
capno:5989, context:0x00000000, add-info: 0
capno:5992, context:0x00000000, add-info: 0
capno:7007, context:0x00000000, add-info: -3, translation:"36"
Exiting hgoulcp, rc=0 at 2015/01/26-15:44:46 with error ptr FILE:hgoulcp.c LINE:2175 ID:Translation text for Unicode literal not supported. Leaving HOACOPTTSTN1 capability off.
hostmstr: 0: HOA After hoaulcp
hostmstr: 0: RPC After Upload Caps
hostmstr: 0: RPC Before Upload DDTR
hostmstr: 0: HOA Before hoauldt
Entered hgouldt at 2015/01/26-15:44:47
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoauldt
hostmstr: 0: RPC After Upload DDTR
hostmstr: 0: RPC Before Begin Trans
hostmstr: 0: HOA Before hoabegn
Entered hgobegn at 2015/01/26-15:44:47
tflag:0 , initial:1
hoi:0x813ca2e8, ttid (len 23) is ...
00: 42415345 2E653935 65393435 362E322E [BASE.e95e9456.2.]
10: 392E3735 343031 [9.75401]
tbid (len 20) is ...
00: 42415345 5B322E39 2E373534 30315D5B [BASE[2.9.75401][]
10: 312E375D [1.7]]
Exiting hgobegn, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoabegn
hostmstr: 0: RPC After Begin Trans
hostmstr: 0: RPC Before Describe Procedure
hostmstr: 0: HOA Before hoapdsc
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure azaleia.X_NFEPTR
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoapdsc
hostmstr: 0: RPC After Describe Procedure
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2015/01/26-15:44:47
count:1
table: azaleia.X_NFEPTR
Allocate hoada[0] @ 0xe69260
Free hoada[0] @ 0xe69260
SQL text from hgodtab, id=0, len=30 ...
00: 73656C65 6374202A 2066726F 6D20617A [select * from az]
10: 616C6569 612E585F 4E464550 5452 [aleia.X_NFEPTR]
Entered hgopoer at 2015/01/26-15:44:47
hgopoer, line 240: got native error -206 and sqlstate 42S02; message follows...
[Informix][Informix ODBC Driver][Informix]The specified table (azaleia.x_nfeptr) is not in the database. {42S02,NativeErr = -206}
Exiting hgopoer, rc=0 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure azaleia.X_NFEPTR
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
The hoada for table azaleia.X_NFEPTR follows...
hgodtab, line 1079: NO hoada to print
Exiting hgodtab, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoadtab
hostmstr: 0: RPC After Describe Table
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2015/01/26-15:44:47
type:0
SQL text from hgopars, id=1, len=30 ...
00: 53454C45 4354202A 2046524F 4D20617A [SELECT * FROM az]
10: 616C6569 612E585F 4E464550 5452 [aleia.X_NFEPTR]
Entered hgopoer at 2015/01/26-15:44:47
hgopoer, line 240: got native error -206 and sqlstate 42S02; message follows...
[Informix][Informix ODBC Driver][Informix]The specified table (azaleia.x_nfeptr) is not in the database. {42S02,NativeErr = -206}
Exiting hgopoer, rc=0 at 2015/01/26-15:44:47
hgopars, line 465: calling SQLPrepare got sqlstate 42S02
Exiting hgopars, rc=942 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxpars
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2015/01/26-15:44:47
count:2
table: DUAL
table: azaleia.X_NFEPTR
Allocate hoada[0] @ 0xe69260
Free hoada[0] @ 0xe69260
Allocate hoada[1] @ 0xe69260
Free hoada[1] @ 0xe69260
SQL text from hgodtab, id=0, len=18 ...
00: 73656C65 6374202A 2066726F 6D204455 [select * from DU]
10: 414C [AL]
Entered hgodscr_process_sellist_description at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:1(dummy): dtype:1 (CHAR), prc/scl:1/0, nullbl:1, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
SQL text from hgodtab, id=0, len=30 ...
00: 73656C65 6374202A 2066726F 6D20617A [select * from az]
10: 616C6569 612E585F 4E464550 5452 [aleia.X_NFEPTR]
Entered hgopoer at 2015/01/26-15:44:47
hgopoer, line 240: got native error -206 and sqlstate 42S02; message follows...
[Informix][Informix ODBC Driver][Informix]The specified table (azaleia.x_nfeptr) is not in the database. {42S02,NativeErr = -206}
Exiting hgopoer, rc=0 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure azaleia.X_NFEPTR
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
The hoada for table DUAL follows...
hgodtab, line 1079: Printing hoada @ 0xe69260
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR Y 1 1 0/ 0 0 0 200 dummy
The hoada for table azaleia.X_NFEPTR follows...
hgodtab, line 1079: NO hoada to print
Exiting hgodtab, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoadtab
hostmstr: 0: HOA Before hoadafr
Entered hgodafr, cursor id 0 at 2015/01/26-15:44:47
Free hoada @ 0xe69260
Exiting hgodafr, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoadafr
hostmstr: 0: RPC After Describe Table
hostmstr: 0: RPC Before Describe Procedure
hostmstr: 0: HOA Before hoapdsc
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure PUBLIC.X_NFEPTR
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure X_NFEPTR
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoapdsc
hostmstr: 0: RPC After Describe Procedure
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2015/01/26-15:44:47
count:1
table: PUBLIC.X_NFEPTR
Allocate hoada[0] @ 0xe69260
Free hoada[0] @ 0xe69260
SQL text from hgodtab, id=0, len=29 ...
00: 73656C65 6374202A 2066726F 6D205055 [select * from PU]
10: 424C4943 2E585F4E 46455054 52 [BLIC.X_NFEPTR]
Entered hgopoer at 2015/01/26-15:44:47
hgopoer, line 240: got native error -206 and sqlstate 42S02; message follows...
[Informix][Informix ODBC Driver][Informix]The specified table (public.x_nfeptr) is not in the database. {42S02,NativeErr = -206}
Exiting hgopoer, rc=0 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure PUBLIC.X_NFEPTR
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure X_NFEPTR
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
The hoada for table PUBLIC.X_NFEPTR follows...
hgodtab, line 1079: NO hoada to print
Exiting hgodtab, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoadtab
hostmstr: 0: RPC After Describe Table
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2015/01/26-15:44:47
type:0
SQL text from hgopars, id=1, len=22 ...
00: 53454C45 4354202A 2046524F 4D20585F [SELECT * FROM X_]
10: 4E464550 5452 [NFEPTR]
Exiting hgopars, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxpars
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2015/01/26-15:44:47
hgoopen, line 87: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxopen
hostmstr: 0: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2015/01/26-15:44:47
Allocate hoada @ 0xe69208
Entered hgodscr_process_sellist_description at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:1(cod_empresa): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:2(nro_nota_fiscal): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:3(nro_serie): dtype:1 (CHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:4(tipo_movimentacao): dtype:1 (CHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:5(cod_matriz): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:6(data_emissao): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:7(data_geracao): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:8(situacao): dtype:1 (CHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:9(cod_retorno_nf_e): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:1, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:10(descr_retorno_nf_e): dtype:1 (CHAR), prc/scl:100/0, nullbl:1, octet:100, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:11(chave_acesso_nf_e): dtype:1 (CHAR), prc/scl:44/0, nullbl:1, octet:44, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:12(nro_protocolo_nf_e): dtype:3 (DECIMAL), prc/scl:15/0, nullbl:1, octet:44, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:13(nro_recibo_nf_e): dtype:3 (DECIMAL), prc/scl:15/0, nullbl:1, octet:44, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:14(forma_emissao_nf_e): dtype:1 (CHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:15(usuario): dtype:1 (CHAR), prc/scl:15/0, nullbl:0, octet:15, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:16(fila_impressora): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:17(data_impressao): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:1, octet:30, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:18(data_retorno): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:1, octet:30, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:19(nro_lote_nf_e): dtype:1 (CHAR), prc/scl:15/0, nullbl:1, octet:15, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:20(versao_xml_nf_e): dtype:3 (DECIMAL), prc/scl:5/2, nullbl:1, octet:15, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:21(seqnfe): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:15, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
hgodscr, line 481: Printing hoada @ 0xe69208
MAX:21, ACTUAL:21, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
5 SMALLINT N 2 2 0/ 0 0 0 0 cod_empresa
4 INTEGER N 4 4 0/ 0 0 0 0 nro_nota_fiscal
1 CHAR N 4 4 0/ 0 0 0 200 nro_serie
1 CHAR N 1 1 0/ 0 0 0 200 tipo_movimentacao
5 SMALLINT N 2 2 0/ 0 0 0 0 cod_matriz
91 DATE N 16 16 0/ 0 0 0 0 data_emissao
91 DATE N 16 16 0/ 0 0 0 0 data_geracao
1 CHAR N 1 1 0/ 0 0 0 200 situacao
5 SMALLINT Y 2 2 0/ 0 0 0 0 cod_retorno_nf_e
1 CHAR Y 100 100 0/ 0 0 0 200 descr_retorno_nf_e
1 CHAR Y 44 44 0/ 0 0 0 200 chave_acesso_nf_e
3 DECIMAL Y 17 17 15/ 0 0 0 0 nro_protocolo_nf_e
3 DECIMAL Y 17 17 15/ 0 0 0 0 nro_recibo_nf_e
1 CHAR N 1 1 0/ 0 0 0 200 forma_emissao_nf_e
1 CHAR N 15 15 0/ 0 0 0 200 usuario
1 CHAR N 30 30 0/ 0 0 0 200 fila_impressora
91 DATE Y 16 16 0/ 0 0 0 0 data_impressao
91 DATE Y 16 16 0/ 0 0 0 0 data_retorno
1 CHAR Y 15 15 0/ 0 0 0 200 nro_lote_nf_e
3 DECIMAL Y 8 8 5/ 2 0 0 0 versao_xml_nf_e
4 INTEGER N 4 4 0/ 0 0 0 0 seqnfe
Exiting hgodscr, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxdscr
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2015/01/26-15:44:47
Exiting hgoclse, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxclse
hostmstr: 0: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2015/01/26-15:44:47
Free hoada @ 0xe69208
Exiting hgodafr, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoadafr
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2015/01/26-15:44:47
type:0
SQL text from hgopars, id=1, len=385 ...
000: 53454C45 43542041 312E636F 645F656D [SELECT A1.cod_em]
010: 70726573 612C4131 2E6E726F 5F6E6F74 [presa,A1.nro_not]
020: 615F6669 7363616C 2C41312E 6E726F5F [a_fiscal,A1.nro_]
030: 73657269 652C4131 2E746970 6F5F6D6F [serie,A1.tipo_mo]
040: 76696D65 6E746163 616F2C41 312E636F [vimentacao,A1.co]
050: 645F6D61 7472697A 2C41312E 64617461 [d_matriz,A1.data]
060: 5F656D69 7373616F 2C41312E 64617461 [_emissao,A1.data]
070: 5F676572 6163616F 2C41312E 73697475 [_geracao,A1.situ]
080: 6163616F 2C41312E 636F645F 7265746F [acao,A1.cod_reto]
090: 726E6F5F 6E665F65 2C41312E 64657363 [rno_nf_e,A1.desc]
0A0: 725F7265 746F726E 6F5F6E66 5F652C41 [r_retorno_nf_e,A]
0B0: 312E6368 6176655F 61636573 736F5F6E [1.chave_acesso_n]
0C0: 665F652C 41312E6E 726F5F70 726F746F [f_e,A1.nro_proto]
0D0: 636F6C6F 5F6E665F 652C4131 2E6E726F [colo_nf_e,A1.nro]
0E0: 5F726563 69626F5F 6E665F65 2C41312E [_recibo_nf_e,A1.]
0F0: 666F726D 615F656D 69737361 6F5F6E66 [forma_emissao_nf]
100: 5F652C41 312E7573 75617269 6F2C4131 [_e,A1.usuario,A1]
110: 2E66696C 615F696D 70726573 736F7261 [.fila_impressora]
120: 2C41312E 64617461 5F696D70 72657373 [,A1.data_impress]
130: 616F2C41 312E6461 74615F72 65746F72 [ao,A1.data_retor]
140: 6E6F2C41 312E6E72 6F5F6C6F 74655F6E [no,A1.nro_lote_n]
150: 665F652C 41312E76 65727361 6F5F786D [f_e,A1.versao_xm]
160: 6C5F6E66 5F652C41 312E7365 716E6665 [l_nf_e,A1.seqnfe]
170: 2046524F 4D20585F 4E464550 54522041 [ FROM X_NFEPTR A]
180: 31 [1]
Exiting hgopars, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxpars
hostmstr: 0: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2015/01/26-15:44:47
hgoopen, line 87: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxopen
hostmstr: 0: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2015/01/26-15:44:47
Allocate hoada @ 0xe69208
Entered hgodscr_process_sellist_description at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:1(cod_empresa): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:2(nro_nota_fiscal): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:3(nro_serie): dtype:1 (CHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:4(tipo_movimentacao): dtype:1 (CHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:5(cod_matriz): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:6(data_emissao): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:7(data_geracao): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:8(situacao): dtype:1 (CHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:9(cod_retorno_nf_e): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:1, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:10(descr_retorno_nf_e): dtype:1 (CHAR), prc/scl:100/0, nullbl:1, octet:100, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:11(chave_acesso_nf_e): dtype:1 (CHAR), prc/scl:44/0, nullbl:1, octet:44, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:12(nro_protocolo_nf_e): dtype:3 (DECIMAL), prc/scl:15/0, nullbl:1, octet:44, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:13(nro_recibo_nf_e): dtype:3 (DECIMAL), prc/scl:15/0, nullbl:1, octet:44, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:14(forma_emissao_nf_e): dtype:1 (CHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:15(usuario): dtype:1 (CHAR), prc/scl:15/0, nullbl:0, octet:15, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:16(fila_impressora): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:17(data_impressao): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:1, octet:30, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:18(data_retorno): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:1, octet:30, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:19(nro_lote_nf_e): dtype:1 (CHAR), prc/scl:15/0, nullbl:1, octet:15, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:20(versao_xml_nf_e): dtype:3 (DECIMAL), prc/scl:5/2, nullbl:1, octet:15, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:21(seqnfe): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:15, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
hgodscr, line 481: Printing hoada @ 0xe69208
MAX:21, ACTUAL:21, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
5 SMALLINT N 2 2 0/ 0 0 0 0 cod_empresa
4 INTEGER N 4 4 0/ 0 0 0 0 nro_nota_fiscal
1 CHAR N 4 4 0/ 0 0 0 200 nro_serie
1 CHAR N 1 1 0/ 0 0 0 200 tipo_movimentacao
5 SMALLINT N 2 2 0/ 0 0 0 0 cod_matriz
91 DATE N 16 16 0/ 0 0 0 0 data_emissao
91 DATE N 16 16 0/ 0 0 0 0 data_geracao
1 CHAR N 1 1 0/ 0 0 0 200 situacao
5 SMALLINT Y 2 2 0/ 0 0 0 0 cod_retorno_nf_e
1 CHAR Y 100 100 0/ 0 0 0 200 descr_retorno_nf_e
1 CHAR Y 44 44 0/ 0 0 0 200 chave_acesso_nf_e
3 DECIMAL Y 17 17 15/ 0 0 0 0 nro_protocolo_nf_e
3 DECIMAL Y 17 17 15/ 0 0 0 0 nro_recibo_nf_e
1 CHAR N 1 1 0/ 0 0 0 200 forma_emissao_nf_e
1 CHAR N 15 15 0/ 0 0 0 200 usuario
1 CHAR N 30 30 0/ 0 0 0 200 fila_impressora
91 DATE Y 16 16 0/ 0 0 0 0 data_impressao
91 DATE Y 16 16 0/ 0 0 0 0 data_retorno
1 CHAR Y 15 15 0/ 0 0 0 200 nro_lote_nf_e
3 DECIMAL Y 8 8 5/ 2 0 0 0 versao_xml_nf_e
4 INTEGER N 4 4 0/ 0 0 0 0 seqnfe
Exiting hgodscr, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxdscr
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before Describe Procedure
hostmstr: 0: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2015/01/26-15:44:47
Exiting hgoclse, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxclse
hostmstr: 0: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2015/01/26-15:44:47
Free hoada @ 0xe69208
Exiting hgodafr, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoadafr
hostmstr: 0: HOA Before hoapdsc
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure azaleia.x_nfeptr
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoapdsc
hostmstr: 0: RPC After Describe Procedure
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2015/01/26-15:44:47
count:1
table: azaleia.x_nfeptr
Allocate hoada[0] @ 0xe69260
Free hoada[0] @ 0xe69260
SQL text from hgodtab, id=0, len=30 ...
00: 73656C65 6374202A 2066726F 6D20617A [select * from az]
10: 616C6569 612E785F 6E666570 7472 [aleia.x_nfeptr]
Entered hgopoer at 2015/01/26-15:44:47
hgopoer, line 240: got native error -206 and sqlstate 42S02; message follows...
[Informix][Informix ODBC Driver][Informix]The specified table (azaleia.x_nfeptr) is not in the database. {42S02,NativeErr = -206}
Exiting hgopoer, rc=0 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure azaleia.x_nfeptr
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
The hoada for table azaleia.x_nfeptr follows...
hgodtab, line 1079: NO hoada to print
Exiting hgodtab, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoadtab
hostmstr: 0: RPC After Describe Table
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2015/01/26-15:44:47
type:0
SQL text from hgopars, id=1, len=30 ...
00: 53454C45 4354202A 2046524F 4D20617A [SELECT * FROM az]
10: 616C6569 612E785F 6E666570 7472 [aleia.x_nfeptr]
Entered hgopoer at 2015/01/26-15:44:47
hgopoer, line 240: got native error -206 and sqlstate 42S02; message follows...
[Informix][Informix ODBC Driver][Informix]The specified table (azaleia.x_nfeptr) is not in the database. {42S02,NativeErr = -206}
Exiting hgopoer, rc=0 at 2015/01/26-15:44:47
hgopars, line 465: calling SQLPrepare got sqlstate 42S02
Exiting hgopars, rc=942 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxpars
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2015/01/26-15:44:47
count:1
table: azaleia.x_nfeptr
Allocate hoada[0] @ 0xe69230
Free hoada[0] @ 0xe69230
SQL text from hgodtab, id=0, len=30 ...
00: 73656C65 6374202A 2066726F 6D20617A [select * from az]
10: 616C6569 612E785F 6E666570 7472 [aleia.x_nfeptr]
Entered hgopoer at 2015/01/26-15:44:47
hgopoer, line 240: got native error -206 and sqlstate 42S02; message follows...
[Informix][Informix ODBC Driver][Informix]The specified table (azaleia.x_nfeptr) is not in the database. {42S02,NativeErr = -206}
Exiting hgopoer, rc=0 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure azaleia.x_nfeptr
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
The hoada for table azaleia.x_nfeptr follows...
hgodtab, line 1079: NO hoada to print
Exiting hgodtab, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoadtab
hostmstr: 0: RPC After Describe Table
hostmstr: 0: RPC Before Describe Procedure
hostmstr: 0: HOA Before hoapdsc
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure PUBLIC.x_nfeptr
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure x_nfeptr
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoapdsc
hostmstr: 0: RPC After Describe Procedure
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2015/01/26-15:44:47
count:1
table: PUBLIC.x_nfeptr
Allocate hoada[0] @ 0xe69170
Free hoada[0] @ 0xe69170
SQL text from hgodtab, id=0, len=29 ...
00: 73656C65 6374202A 2066726F 6D205055 [select * from PU]
10: 424C4943 2E785F6E 66657074 72 [BLIC.x_nfeptr]
Entered hgopoer at 2015/01/26-15:44:47
hgopoer, line 240: got native error -206 and sqlstate 42S02; message follows...
[Informix][Informix ODBC Driver][Informix]The specified table (public.x_nfeptr) is not in the database. {42S02,NativeErr = -206}
Exiting hgopoer, rc=0 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure PUBLIC.x_nfeptr
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
Entered hgopdsc at 2015/01/26-15:44:47
Describing procedure x_nfeptr
Output hoada
hgopdsc, line 1560: NO hoada to print
Exiting hgopdsc, rc=942 at 2015/01/26-15:44:47
The hoada for table PUBLIC.x_nfeptr follows...
hgodtab, line 1079: NO hoada to print
Exiting hgodtab, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoadtab
hostmstr: 0: RPC After Describe Table
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2015/01/26-15:44:47
type:0
SQL text from hgopars, id=1, len=22 ...
00: 53454C45 4354202A 2046524F 4D20785F [SELECT * FROM x_]
10: 6E666570 7472 [nfeptr]
Exiting hgopars, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxpars
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2015/01/26-15:44:47
hgoopen, line 87: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2015/01/26-15:44:47
hostmstr: 0: HOA After hoxopen
hostmstr: 0: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2015/01/26-15:44:47
Allocate hoada @ 0xe69130
Entered hgodscr_process_sellist_description at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:1(cod_empresa): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:2(nro_nota_fiscal): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:3(nro_serie): dtype:1 (CHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:4(tipo_movimentacao): dtype:1 (CHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:5(cod_matriz): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:6(data_emissao): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:7(data_geracao): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:8(situacao): dtype:1 (CHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
Exiting hgopcda, rc=0 at 2015/01/26-15:44:47
Entered hgopcda at 2015/01/26-15:44:47
Column:9(cod_retorno_nf_e): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:1, octet:1, sign:1, radix:0
Exiting hgopcd -
How do I add multiple family members to eprint capability on my 8600 pro?
I dont know how to add my wife and son to the eprint capability on my 8600 pro, i tried adding them as seperate users under hp connected but it wont let you use the claim code more than once. Anyone have any ideas? I'm sure someone has done this before, any help would be greatly appreciated...Thanks in advance
Hi AV55,
I think you misunderstood banhien's earlier post. Your wife would need to log into her ePrintCenter/HP Connected account and then add each family member as an authorized sender following the steps banhien posted.
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
I am using am Epson Artisan 835 printer, wifi compatible . Is it also capable to print (AirPrint) from my ipad? Where do I get an email address for my printer?
See here for Airprint-capable printers: http://support.apple.com/kb/ht4356
Your printer isn't on the list but you may be able to print with Epson's app or other print apps from the App Store. -
How do I add an e-mail address and capability to send a fill-in pdf file
I have Adobe Acrobat 8.1.2 on my PowerMac G4 running OS 10.4.11. I created some pdf forms which have the fill in capability and posted them on my web site. I want to be able to allow someone to click on a button to automatically send the file to my e-mail address. Is that possible if someone is just using Acrobat Reader on a Windows or Apple machine. I see that one cannot "save" the filled in document but they can "print" the filled in document or print a blank (not filled in version). If they could actually save the filled in document that would be just as good because they could attach it to an e-mail. So, is there a way to create a button to e-mail the filled in form to my e-mail address when someone completes it or a way to save the filled in copy as a file (so they can do that with just Acrobat Reader)? Thanks so much for any info.
Barry>If they could actually save the filled in document that would be just as good because they could attach it to an e-mail
In Acrobat Pro, open the form and go to the Advanced menu and choose enable usage rights for Reader users.
Now, they will be able to fill out the form and save it to send it back to you in an email.
Be aware that there is a 500 use per form limit so this isn't a good answer for high volume use forms. -
Need to find pro tax prep software compatible w/Macs. My software maker, Drake, does not have Mac version. I've checked Pro-Series (no) and maybe 1 other. I don't want to spend Lacert kind of $$ (neither do the majority of longtime Lacert users apparently). Obviously, no Turbo Tax, Tax Cut or any other commercial, deduction & crdit missing commercial software. They would ned to have the ability to 1) convert a few years of Drake to their program, 2) Covert files created on PC to files that 10 OS could use. Also, would like them to have reasonable PPR program, free efile, free unlimited states, capable of 1040, 1065, 1120, & (S), 1041, 990. Built in tax knowledge base. I'd be eternally indebted to you if you found sometghing as intuitive and value oriented as Drake but for OS 10. BEGINNING TO THINK APPLE bends over backwords for artistic tools but not so much business tools. Too bad, I've had a few tax returns that have bordered on art.
I will likely need to add Parallels & Windows 7 OS, preferably 64-bit to this Macbook Air. If so, I do not think I have sufficient memory or storage so would like to download & install onto NFTS (sp?) formatted 1TB HD. I do not know if hard drives, USB hubs, Optical drives etc. that work w/ Windows (as long as you choose correctly btwn SATA & IDE) will work on MacBook Air. Help greatly appreciated. So if you happen to know any pro tax prep software ompatible w/ OS 10 and/or, you could give me some info on what characteristics peripherals would need to have to use on MacBook (I'm hoping that most are inrterchanheable but my hoping ain't gonna make it so. OR if you know any great deals on Parallel-I saw some promos but not from reliable places. If I could find on Bradsdeals or Coupon Cabin I'd feel safe. I've seen an Apple ad for a bundle of software w/ some other decent parts (Snagit) . I'd love to find a promo that applies to the bundle and download all 9programs for $9.99 (right). Too many questions, sorry for any protocol violations. As you might have noticed, a keyboard is high on my agenda- I hate laptop keyboards though Apple's seems better than most. I also hate using scroll pads. Much rather have mouse. Real challenge is to find Bluetooth OS 10 keybrd that has numeric keypad. I wonder if the financial dept. @ apple uses keyboards w/ no numeric keypad, saw one that started at $99. I spent all the $$ I have on a MacBook, none leftover for overpriced peripherals, esp. w/ 2 kidfs going off to college in Sept.
Thanks for allowing me to whine & ramble. Feel free to call me on any breach of protocol as I am 1st time poster.
Thanks for your time and consideration, I HOPE I'M CORRECT IN MY GUT FEELING THAT I've joined the forces for good by switching. Too many PCs ruined by malware.
Bill SBill I've also run into a very similar problem, I own many Macs but I've had a PC for Tax Stuff. My PC broke and I refused to buy another one so I began to search for an alternative. Window's Emulators have given me so much trouble with my Tax Software.
However, I've since found out that Intuit has a cloud based tax solution that works with a MAC because it's all done online. Which means you'll need a reliable internet connection whenever you want to prepare a client's return.
It's suppose to support all of the major returns (1040, 1041, 1065, 1120, 1120S and 990)
I've yet to use this solution, but it's the best thing that I've been able to find so far. This is what I'll be using this upcoming Tax Season.
So I figured that it would be worth mentioning. Good Luck!
http://accountants.intuit.com/tax/online/?s_cid=SEM&s_ev1=SEM_TOE_Brand_Lower-ke yword_proline_tax_online -
I installed Premiere Pro CS 6.0 on a brand new system.
Win 8.1,
i7 3.4 GHz on an Asus Sabertooth
16 Gig memory
AMD Radeon R9 290 Graphics Board with the latest drivers and Bios.
On starting Premiere I get the (as I noticed quite frequent appearing) error message that Premiere cannot find a capable play module and the suggestion to update my video drivers.
I tried everything I found in this forum or on the web:
Installed the latest drivers
Run the program as an administrator
Updated the Graphics board Bios
Updated Premiere CS6
Started Gpusniffer in CMD-mode to find out what board it found and added that to the cuda_supported_cards.txt in the Premiere directory.
All to no avail. The app will simply not start.
The Gpusniffers report states:
Loadlibrary “n” failed
Loadlibrary “n” failed
--- OpenGL Info ---
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon R9 200 series
OpenGL Version: 4.4.13084 Compatability Profile Context 14.301.1001.0
GLSL Version 4.40
Monitors: 1
Monitor 0 properties –
Size: <0, 0, 1920 1080>
Mex texture size: 16384
Support non-power of two: 1
Shaders 444 :1
Shaders 422: 1
Shaders 420: 1
--- GPU Information Info –
Did not find any devices that support GPU computation.
As I invested a lot in the CS6 Master Collection I am not considering an update tot the CC version, also because the same problem occurs in that version too.
I would be much obliged if someone has an answer that truly will work. This problem costed me the best part of two days’ work and fouled up my workflow considerably.==========
I tried to go into display settings and disable the Intel card. (this caused low resolution which is unexceptable)
==========
This makes me think it's using that graphics "card" ( probably built into mobo ? ...called 'onboard graphics ? )
This stuff gets tricky and sometimes the only way to make windows 'recognize' the pci graphics card is to actually take it out and boot, and then put it back in...
Then you get mssg " windows detected new hardware" and you install the drivers...
usually bios gives you choice of using onboard graphics or not ( but this too is wanky sometimes...sorry to say ...)
I recently ( this past year ) had a similar sort of situation but have a desktop, where its easy for me to take off side panel and pull the pci-e graphics card and boot, and get that horrible low res default screen...turn off, install card, reboot etc...
but anyway, it sounds to me like you're notebook is using that mobile graphics driver stuff and not the radeon. Somehow you've got to make it switch to that graphics card is maybe your solution.
sorry I dont have notebook but maybe someone else here does and can help more...
good luck.
ps..its always a weird fact of life...when things aren't working 'right' something has to get done fast....
edit:
I dont know how much you know about windows stuff, but after you disable that intel thing and get your low res screen.. you DID try to update the driver for that card using 'my computer / device manager ' right ?? -
HT5449 speech to text capability on macbook pro
I have a macbook pro with 10.7.5 Is there any way I can get the dictation and speech capability of 10.8?
You can purchase:
http://shop.nuance.com/store/nuanceus/en_US/pd/ThemeID.20545600/productID.255083 500
http://www.amazon.com/Dragon-Dictate-3-0-Mac-Version/dp/B009348X7Q
You want version 3, Version 4 require ML or later
Maybe you are looking for
-
I have created an user defined table for storing city details.When I add record in it,it returns -4002 and the record is not saved.The code is as follows , Private Sub AddCity() Dim objCity As SAPbobsCOM.UserTable Dim intCode As Integ
-
LG monitor not working with iMac
I just bought a LG IPS 226v-PN monitor and am using a mini-dsiplayport to HDMI adapter to connect. The monitor was automatically found and I can see and use it as a dual monitor but I am seen a snow like effect on the screen with pixel randomly activ
-
Getting rid of a "download" icon appearing in Safari browser Flash Player
Please HELP!! I've inserted two screen shots to demonstrate what I'm trying to get rid of. Some months ago I downloaded the Free Video Downloader for Mac from here: http://www.iskysoft.com/free-mac-video-downloader.html I'm stuck with a very annoying
-
Tomcat Solaris 9 distribution will not start
I downloaded SOLARIS 9 and installed it on my SUN BLADE 100. I looked for and found TOMCAT, a version came with the SOLARIS 9 operating environment. I tried to start TOMCAT, startup.sh, I could not get TOMCAT to start. Here is the output from catalin
-
What is "syncdefaultst" ?
"syncdefaultst" want's to use the "login" keychain, what's this all about? Why does it randomly keep asking to get access?