Encoding conversion issue on dblink (Oracle - Postgresql)
I have sucessfully setup a dblink from Oracle to Postgresql.
The Postgresql database use UTF-8 encoding for all its data.
When I try this request SELECT * FROM "table"@Postgres , I receive this error :
ORA-00942: Table ou vue inexistante
[Generic Connectivity Using ODBC]DRV_DescribeTable: DB_ODBC_RECORD (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
ORA-02063: précédant 2 lines de RECORD
00942. 00000 - "table or view does not exist"
*Cause:
*Action:
Erreur à la ligne 2, colonne 5How can I get rid off of this error ?
Do you get the same problem for all tables or if you run the select as -The problem is raised only on some tables not all.
select * from "owner"."tablename"@hsodbc ;On a failing select, adding the "owner" doesn't solve the problem.
Are there any error sin the trace file and if so could you post them here ?I perform this query : select * from "owner"."table"@POSTGRE
Here are the traces :
Oracle Corporation --- MONDAY FEB 27 2012 16:21:54.959
Version 10.2.0.1.0
hoagprd (2): ; hoagprd Entered.
HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.6.2.0.0070
HOACONN.C (295): ; Class version: 200
hoagprd (2): ; hoagprd Exited with retcode = 0.
hoainit (3): ; hoainit Entered.
(0): ; connect string is: defTdpName=Postgre;SYNTAX=(ORACLE8_HOA,
BASED_ON=ORACLE8, IDENTIFIER_QUOTE_CHAR="",
CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj><binding><datasources><da-
tasource name='Postgre' type='GENERIC_ODBC_FOR_HS'
connect='Postgre'><driverProperties/></datasource></datasources><remoteMachines-
/><environment><optimizer noFlattener='true'/><misc year2000Policy='-1'
consumerApi='1' sessionBehavior='4'/><queryProcessor parserDepth='2000'
tokenSize='1000' noInsertParameterization='true'
noThreadedReadAhead='true'
noCommandReuse='true'/><debug
generalTrace='true'/></environment></binding></navobj>
ORACLE GENERIC GATEWAY Log File Started at 2012-02-27T16:21:54
hoainit (3): ; hoainit Exited with retcode = 0.
hoalgon (7): ; hoalgon Entered. name = rec_lct.
Created new ODBC connection (136751296)
hoalgon (7): ; hoalgon Exited with retcode = 0.
hoaulcp (4): ; hoaulcp Entered.
hoaulcp (4): ; hoaulcp Exited with retcode = 0.
hoauldt (5): ; hoauldt Entered.
hoauldt (5): ; hoauldt Exited with retcode = 0.
hoabegn (9): ; hoabegn Entered. formatID = 306206, hoagttln = 29, hoagttid =
PDELTAA.286b8407.4.69.1747760, hoagtbln = 10, hoagtbid = ^D, tflag = 0, initial
= 1
hoabegn (9): ; hoabegn Exited with retcode = 0.
hoadtab (26): ; hoadtab Entered. count = 1
hoadtab (26): ; schema_name = owner, table_name = table
odbc_owner: select * from "owner"."table"
DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a
pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du
codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
Code: 1)
nvRETURN (drv_priv.c 948): -2202
hoadtab (26): ; hoadtab Exited with retcode = 0.
hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
nvOUT (qp_sqtxt.c 55): SELECT * FROM "owner"."table"
nvRETURN (qpsynon.c 1140): -1
odbc_owner: select * from "owner"."table"
DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a
pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du
codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
Code: 1)
nvRETURN (drv_priv.c 948): -2202
[A00D] Failed to open table Postgre:owner.table
nvRETURN (qpbldbtn.c 502): -2202
nvRETURN (qpbldbtn.c 382): -2202
nvRETURN (qp_seman.c 3153): -2202
nvRETURN (qp_yacc.c 1930): -2202
nvRETURN (qp_compl.c 515): -2202
nvRETURN (qp_compl.c 232): -2202
nvRETURN (qp_compl.c 200): -2202
hoapars (15): ; hoapars Exited with retcode = 942.
hoadtab (26): ; hoadtab Entered. count = 1
hoadtab (26): ; schema_name = owner, table_name = table
odbc_owner: select * from "owner"."table"
DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a
pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du
codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
Code: 1)
nvRETURN (drv_priv.c 948): -2202
hoadtab (26): ; hoadtab Exited with retcode = 0.
hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
nvOUT (qp_sqtxt.c 55): SELECT * FROM "owner"."table"
odbc_rec: select * from "owner"."table"
DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a
pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du
codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
Code: 1)
nvRETURN (drv_priv.c 948): -2202
[A00D] Failed to open table Postgre:owner.table
nvRETURN (qpbldbtn.c 502): -2202
nvRETURN (qpbldbtn.c 382): -2202
nvRETURN (qp_seman.c 3153): -2202
nvRETURN (qp_yacc.c 1930): -2202
nvRETURN (qp_compl.c 515): -2202
nvRETURN (qp_compl.c 232): -2202
nvRETURN (qp_compl.c 200): -2202
hoapars (15): ; hoapars Exited with retcode = 942.
Similar Messages
-
Hello,
any ideas on this type of error?
ERROR at line 1:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oradb3)(
PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=UMAPLINK)))
ORA-02063: preceding line from UMAPLINK
Process ID: 870
Session ID: 272 Serial number: 27677
is there any thing else you like me to add?sorry again it took some time to response
here is the current situation
when I do
SQL> select * from [email protected];
select * from [email protected]
ERROR at line 1:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oradb3)(
PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=UMAPLINK)))
ORA-02063: preceding line from UMAPLINK
Process ID: 31918
Session ID: 93 Serial number: 83
here is the trace file
Oracle Corporation --- FRIDAY JAN 27 2012 09:16:34.880
Heterogeneous Agent Release
11.2.0.2.0
Oracle Corporation --- FRIDAY JAN 27 2012 09:16:34.848
Version 11.2.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"
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 "UMAPLINK"
Product-Info:
Port Rls/Upd:2/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:UMAPLINK
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HS_LANGUAGE not specified
LANG=en_US.UTF-8
HOCXU_SEM_VER=112000
Entered hgolofn at 2012/01/27-09:16:35
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xef0083c0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xef008450
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xef008c10
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xef009e80
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xef0118f0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xef011d90
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xef014590
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xef015a40
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xef016240
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xef017c60
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xef017c80
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xef019380
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xef01c520
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xef01c8c0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xef01e360
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xef01efb0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xef01f2b0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xef0210e0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xef0214b0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xef022ff0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xef022e40
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLColAttribute
symbol_peflctx=0xef00a4a0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLColumns
symbol_peflctx=0xef00bc40
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLConnect
symbol_peflctx=0xef00f550
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLDescribeCol
symbol_peflctx=0xef0111b0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLDriverConnect
symbol_peflctx=0xef012920
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLExecDirect
symbol_peflctx=0xef0154d0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLForeignKeys
symbol_peflctx=0xef016b60
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetConnectAttr
symbol_peflctx=0xef017fd0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetDescField
symbol_peflctx=0xef0199e0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetDescRec
symbol_peflctx=0xef019ea0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagField
symbol_peflctx=0xef01b080
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagRec
symbol_peflctx=0xef01bcc0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetInfo
symbol_peflctx=0xef01cb00
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetStmtAttr
symbol_peflctx=0xef01d500
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetTypeInfo
symbol_peflctx=0xef01dfc0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLPrepare
symbol_peflctx=0xef01f9e0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLPrimaryKeys
symbol_peflctx=0xef01fef0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLProcedureColumns
symbol_peflctx=0xef0204a0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLProcedures
symbol_peflctx=0xef020b30
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetConnectAttr
symbol_peflctx=0xef0217a0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetStmtAttr
symbol_peflctx=0xef024350
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetDescField
symbol_peflctx=0xef022b60
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLStatistics
symbol_peflctx=0xef0258f0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLTables
symbol_peflctx=0xef026580
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Exiting hgolofn, rc=0 at 2012/01/27-09:16:35
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 2012/01/27-09:16:35
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2012/01/27-09:16:35
reco:0, name:content_ro_user, tflag:0
Entered hgosuec at 2012/01/27-09:16:35
Exiting hgosuec, rc=0 at 2012/01/27-09:16:35
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 content_ro_user as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/01/27-09:16:35
HS_FDS_CONNECT_INFO = "UMAPLINK"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/01/27-09:16:35
dsn:UMAPLINK, name:content_ro_user
optn:
Entered hgocip at 2012/01/27-09:16:35
dsn:UMAPLINK
Exiting hgocip, rc=0 at 2012/01/27-09:16:35
##>Connect Parameters (len=47)<##
## DSN=UMAPLINK;
#! UID=content_ro_user;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2012/01/27-09:16:35
Entered hgopoer at 2012/01/27-09:16:35
hgopoer, line 231: got native error 0 and sqlstate 01000; message follows...
[unixODBC][Driver Manager]Driver does not support the requested version {01000}
Exiting hgopoer, rc=0 at 2012/01/27-09:16:35
hgocont, line 2687: calling SqlDriverConnect got sqlstate 01000
Entered hgolosf at 2012/01/27-09:16:35
ODBC Function-Available-Array 0xFFFE 0x00FF 0xFF00 0xFA7F 0x03B2 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 0xA400 0x114C
Exiting hgolosf, rc=0 at 2012/01/27-09:16:35
DriverName:libpsqlodbc.so, DriverVer:07.01.0003
DBMS Name:PostgreSQL, DBMS Version:07.01.0003 PostgreSQL 9.1.2 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6), 64-bit
Exiting hgocont, rc=0 at 2012/01/27-09:16:35 with error ptr FILE:hgocont.c LINE:2687 FUNCTION:hgocont() ID:SQLDriverConnect
Entered hgopoer at 2012/01/27-09:16:35
hgopoer, line 231: got native error 209 and sqlstate HYC00; message follows...
[unixODBC]Unrecognized key passed to SQLGetInfo. {HYC00,NativeErr = 209}
Exiting hgopoer, rc=0 at 2012/01/27-09:16:35
hgolgon, line 804: calling SQLGetInfo got sqlstate HYC00
SQLGetInfo returns N for SQL_CATALOG_NAME
Exiting hgolgon, rc=0 at 2012/01/27-09:16:35 with error ptr FILE:hgolgon.c LINE:804 FUNCTION:hgolgon() ID:GetInfo: Support catalogs
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 2012/01/27-09:16:35
Entered hgowlst at 2012/01/27-09:16:35
Exiting hgowlst, rc=0 at 2012/01/27-09:16:35
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0x2
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 32 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns N 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:0x00000000, add-info: 0
capno:1992, context:0x0001ffff, add-info: 0
Exiting hgoulcp, rc=0 at 2012/01/27-09:16:35
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 2012/01/27-09:16:35
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2012/01/27-09:16:35
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 2012/01/27-09:16:35
tflag:0 , initial:1
hoi:0x9c9098a8, ttid (len 39) is ...
00: 55494343 44422E46 494E4445 58412E4E [UICCDB.COM.N]
10: 45542E35 33656336 6562392E 31312E32 [ET.53ec6eb9.11.2]
20: 342E3132 343832 [4.12482]
tbid (len 36) is ...
00: 55494343 44422E46 494E4445 58412E4E [UICCDB.COM.N]
10: 45545B31 312E3234 2E313234 38325D5B [ET[11.24.12482][]
20: 312E345D [1.4]]
Exiting hgobegn, rc=0 at 2012/01/27-09:16:35
hostmstr: 0: HOA After hoabegn
hostmstr: 0: RPC After Begin Trans
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2012/01/27-09:16:35
count:1
table: COMPAZ_CONTENT_VW
Allocate hoada[0] @ 0x143d290
Free hoada[0] @ 0x143d290
SQL text from hgodtab, id=0, len=33 ...
00: 73656C65 6374202A 2066726F 6D202243 [select * from "C]
10: 4F4D5041 5A5F434F 4E54454E 545F5657 [OMPAZ_CONTENT_VW]
20: 22 ["]
Entered hgodscr_process_sellist_description at 2012/01/27-09:16:35 -
Conversion issue in encoding in PI
Hi,
I am having a problem in conversion issue for encoding. Let's have a detailed look into the scenario first.
Scenario: SNC->PI (through Proxy)->MQ (through Receiver JMS adapter)->SeeBeyond (It's a middleware system).
Here from SNC, data are coming into PI as in UTF-8 encoding, whereas all the systems shown in the above flow are of ISO 8859_1 format. Hence UTF-8 needs to be converted into ISO 8859_1. PI does this conversion in Receiver JMS adapter. CCSID has been set to 00819 which is for ISO 8859_1 encoding. But the beginning of the xml, it remains still UTF-8, like below:-
<?xml version="1.0" encoding="utf-8" ?>
Whereas the content of the xml has already been converted into ISO 8859_1 by Receiver JMS adapter. Now let's see the problem now.
Problem: After the data been passed in SeeBeyond, the mapping fails in SeeBeyond, since SeeBeyond tries to look at the XML tag from the beginning and it found it's in UTF-8 as per he tag above. Then it tries to map it in UTF-8 format whereas the content is in ISO 8859_1, so mapping fails in SeeBeyond. Please note, here allthe systems except SeeBeyond are just bypassing the data, no mapping been introduced in anywhere in the systems except SeeBeyond.
Workaround: Is there any other chance where we can change the tag header from UTF-8 to ISO 8859_1 in Receiver JMS adapter itself in PI like this:-
<?xml version="1.0" encoding="iso 8859_1" ?>
This might resolve our problem I think. Any suggestions would be appreciated.
Thanks and Regards
SoumyaHi Stefan,
Thanks for your reply. I have gone through the link you have specified. Ya, that's the other way to resolve that issue in that case. But here we have asked the receiver system (SeeBeyond) to change the encoding part in their mapping. Because changing the coding part in SeeBeyond is less time consuming than adding a new Bean in JMS adapter. Our problem got resolved by changing the mapping in Receiver end. Thanks anyway for your valuable reply.
Thanks
Soumya -
Language conversion issue in PI7.1
Hi,
My sceanrio is file to Idoc. Am facing language conversion issues.
For example one of the field in the source file is having the value "Différence sur net". And in the IDOC field the value is appearing as "Différence sur net".
With the same data I have done file to file scenario with and without content conversion and the output is coming correctly as "Différence sur net".
I have enabled Unicode check box in RFC destination also in XI server. But still its coming "Différence sur net" . Please advice how can I get the target field value same as that of the source field vale.
Can anyone help me to sort out this issue?
Thanks.
DineshHi,
In Channel try with using the File type: text and encoding : UTF-8.
I think this will solve your issue.
Thank you,
Siva -
IRecruitment conversion issue for internal applicants
Hi,
We are doing conversion from legacy to oracle irecruitment. When converting external applicants, things have gone fine. I used Create_user and registered_user_application API's.
Now for internal applicants conversion, its giving me lot of problems. If i use registered_user application API, its end dating his existing person and assignment record and creating a new applicant record.
But i need to update his person record with person_type status to EMP_APL. Is there any way to do this?
Thanks in advance
kumarHi,
Thank you for your reply.
Actually i tried with hr_applicant_api.apply_for_job_anytime. This API takes person_id and vacancy_id as parameters and updates the person record with person_type status to 'EMP_APL' and creates one more assigment record with user_status 'Active Application'
Now my issue is resolved.
Thanks
Kumar -
Issue in Configuring Oracle WebCenter Content: Records
HI,
I have an issue in Configuring Oracle WebCenter Content: Records
In "Records Management Setup Checklist"
Checked-in Audit Entries Default Metadata
Checked-in Screening Reports Default Metadata
Checked-in Reservation Default Metadata
Am not able to select the category/folder in the default check-in form for the above, and i don't see anything in the drop down also
When i click on the Browse button of above 3..
see Retention Schedule & favorite Schedule
But am not able to select any of those.
AnyOne faced this issue, pls help..
Thanks!!!!The Oracle webcenter content: Records system will enable the retention schedule but it won't create any default retention category. If you want apply retention to a content then first you have to create the retention category and the disposition rule. Once you create the retention category then it will be listed under Retention Schedule. In your case complete the default configuration without applying retention, once you create retention you can apply that to those contents.
Browse Content --> Retention Schedules --> Create Retention Category
HTH..
Regards,
Manoj -
An issue while installing oracle 10g express edition on Ubuntu 10.04-64bit
Hi,
I'm running into an issue while installing oracle 10g express edition on my Ubuntu 10.04-64 bit installed machine using oracle-xe-universal_10.2.0.1-1.0_i386.deb package. The issue actually came up when I was trying to reinstall the package after uninstalling it due to some problem I had with my login credentials. To elaborate further on it, the /etc/init.d/oracle-xe script does not get created when I execute the debian package and thus i'm unable to configure the required credentials and stuff after the installation. I doubt whether this has something to do with the procedure I followed when uninstalling the previous package it. But what I did was just what's mentioned in the following [http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm] user guide published by oracle.
Another important clue would be, the platform of my machine is amd64bit although I'm dealing with an installation package preferred for i386. But I believe it's the only thing available in the oracle software download section. Hence I had to use the --force-architecture option to install it. But after reading some post published on this forum, I've figured out that it does not affect the usual execution of the software. Anyway, I would greatly appreciate some help on this matter.
[1] http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm
Thanks and Regards,
Prabath Abeysekara
Edited by: 829281 on Jan 18, 2011 7:52 PMHi,
Finally I've managed to find a solution for this issue. Thanks a lot for all the replies.
Here's how I got rid of it.
Addressing all the facts one by one,
1.The problem of not getting the /etc/init.d/oracle-xe script generated was avoided
by removing all the configuration files that were previously created while installing
the product. The following command can be used to accomplish that task.
*$ dpkg --purge oracle-xe*
2.Next, Initially the password I used during the configuration process was "admin".
Although I tried a couple of times installing the product providing the aforementioned
password, the web UI kept prompting "Invalid Credentials" message not allowing me
to login. But, this particular issue could be avoided by giving some other simple
password.
Finally, got it working and once again thanks a bunch for taking the burden of
replying this thread.
Cheers,
Prabath -
Issue with Installing Oracle 10g R2 on a Windows 2008 Domain Controller
I'm assigned a evaluation task for my company. The task invoke to install oracle in my Domain Controller Server.
I got "ORA-12560: TNS:protocol adapter error" when I installed ORACLE 10g R2 for Win2K8 on my Windows 2008 (a Domain Controller Server). It happened in the create predefined database period.
I tried to google and noted that there are some RUMOS say "We cannot deploy ORACLE on a Domain Controller, It's impossible"
Is this true? Please, Please advise!
Thansk,This is a link to a same issue
Creating instance oracle 10.2.0.4 on Windows 2008 32bit -
Umlaut Conversion issue in Sender communication channel SAP PI
Hi Gurus,
We are facing issue while conversion.
umlaut Conversion issue in Sender communication channel that is reason channel not able to pic the file from the path.
Sender CC error:
Value of incoming field is too large. Segment:'IMD', Field:'7008', MaxLength:'35', value:'Plssvvkbecher Lübzer 0,4 (1280Stk p' DESCRIPTION: The length of the field value is too big !
Actually field contains 35 Chars only the value is : 'Plssvvkbecher Lübzer 0,4 (1280Stk p'
We tried with “ISO-8859-1” if the field value is less than 35 characters it is able to converting.
Please help me out from this issue.
Thank you.
Regards,
Jittu.Hi Jittu,
Have you tried using the codepageconversion bean in the modules under the sender? It would be like:
AF_Modules/TextCodepageConversionBean with a parameter of Conversion.charset and a value of utf-8.
Regards,
Ryan Crosby -
Character encoding conversion for marshall/unmarshall?
Hello, Java Web Services gurus,
I am wondering if there is an easy/plugin-able way to do character encoding conversion transparently in the process of marshall/unmarshall.
Basically, my input/output will always be these UTF-8 XMLs. As the backend database is ISO encoded, I hope the result of unmarshall will give me ISO strings. And when it comes to marshall, the ISO strings can be transparently turned to UTF-8 XML response. Right now I'm using JAXB's annotations to parse XML into objects.
I understand there will be chars in the input file not able to get converted, if so, I'd be be expecting an error/exception that flags the failure
Hope I sound clear. This has been a headache for a while. Really hope someone may help out a bit. Thanks a million in advance[Duplicate Post|http://forums.sun.com/thread.jspa?messageID=10971554&tstart=0#10971554]
-
Issue in installing oracle apps 11.5.5
Hello all,
i have an issue while installing oracle apps single node(vis demo).
if some one can help to sort out my issue or suggest some link where i can get the solution, i will be very thankful to him.
problem
1. i installed the j2sdk-1_4_2_06-windows-i586-p. also set the path
C:\j2sdk1.4.2_06\bin (this is the folder created while installing jdk).
also there is C:\Program Files\Java\j2re1.4.2_06\bin in window pragram folder.
i am sure which path has to set.
2. then install ms tool kit.
3. when i started apps installation then following erro is shown:
i/o exception in execprog:java.io.ioexception:createprocess: e:\dump\11.5.5\11istart001\rapidwiz\oui\nt\install\wiz32\setup.exe -responcefile c:\document~1\dhiren~1\locals~1\temp\rapidinstall\epd\vis8i.rsp error=2
"i know it is not apps forum but i get help then it will be great"
thanks n Regards
Yashalso there is C:\Program Files\Java\j2re1.4.2_06\bin in window pragram folder.
i am sure which path has to set.Do not use directories with space it the name (i.e. Program Files), so make sure you have it installed in another directory (i.e. C:\Java).
3. when i started apps installation then following erro is shown:
i/o exception in execprog:java.io.ioexception:createprocess: e:\dump\11.5.5\11istart001\rapidwiz\oui\nt\install\wiz32\setup.exe -responcefile c:\document~1\dhiren~1\locals~1\temp\rapidinstall\epd\vis8i.rsp error=2This is a generic error so please check the installation log file for details about the error.
Thanks,
Hussein -
Currently we are using SPM 2.0 version and we have been facing currency conversion issues.
Please help me in following aspects.
1) Where actually currency conversion happens in SPM. Is it the global program which does the conversion or other way.
2) We have conversion issue for one of the currency where conversion function is giving incorrect results when converting from one of the document currency to USD. here The respective document currency is considering the 1:1 ratio with Dollar which is actually incorrect.
3) We have verified in both BI side(currency tables) and even ECC side.
Please help me in understanding this issue and let me know if you need more information on this.
Its an production issue and appreciated your immediate inputs.
Thanks
KiranHi Arun,
The following information may be helpful to you.The SSA_HELPER_PROGRAM has options regarding currency settings.
EXCH_RATE_TYPE: This flag governs the exchange rate type which will be used for currency conversion in data management. For example if RSXAADMIN contains an entry EXCH_RATE_TYPE = „ZSPM‟ then the conversion type used for currency conversion is ZSPM. The default value for the exchange rate type is „M‟. More details can be found in the note 1278988.
CURRENCYCONVERSION: By default data management converts all the measures in transaction currency to reporting currency and copies over to the corresponding measure in reporting currency. If the measure in reporting currency is already available in source it might be desirable to disable the currency conversion. To disable the conversion you can make an entry CURRENCYCONVERSION = „ „ in the table RSXAADMIN. This can also be achieved by running the program SSA_HELPER_PROGRAM with the option DEACTIVATE_CURRENCYCONVERSION. The conversion can be reactivated by running the same program with option ACTIVATE_CURRENCYCONVERSION.
UNITCONVERSION: Similar to above. To deactivate unit conversion you can use the program with option and DEACTIVATE_UNITCONVERSION and to reactivate ACTIVATE_UNITCONVERSION. By default both the conversions are switched on
EXTERNAL_CURRENCIES: Normally most of the international currencies are stored with two decimal places however certain currencies do have 0 and 1 decimal place too. For example JPY has 0 decimal places. SAP internal format stores even these currencies with 2 decimal places and at the time of display it changes the value to right decimal places. In case a file from external source is loaded to SPM it might have the format with 0 decimal places in the file. To convert it to SAP standard format post processing needs to be done on this value. If that is the case you can set the flat EXTERNAL_CURRENCIES = „X‟ in the table which will enable the post processing for these values. This flag can also be set and reset using the helper program using the option TURNON_EXT_CURRENCY_FORMAT and TURNOFF_EXT_CURRENCY_FORMAT.
Kind Regards,
John Harris
Senior Support Engineer, SAP Active Global Support -
Oracle Database : Date conversion issue between timezones
Hi All,
We are trying to convert date from Eurpoer/Amsterdam timezone to Australia/Sydnet timezone and extracting time out of it.
We are facing issue related to incorrect timing after conversion.
Please find below issue details,
Environment
Database: Oracle 10.2.0.4
Machine: Linux RHEL 4
Location: Amsterdam, Netherlands
Issue: After converting date from Eurpoer/Amsterdam timezone to Australia/Sydnet timezone
SELECT TO_CHAR (FROM_TZ (TO_TIMESTAMP ('201110201416', 'YYYYMMDDHH24MI'),
DBTIMEZONE
) AT TIME ZONE 'Australia/Sydney', 'HH24:MI')
FROM DUAL
Output of above SQL is 22:16.
Expected output is 23:16
Database Timezone (DBTIMEZONE) is set to +02:00 (i.e. GMT + 2) (Europe/Amsterdam)
If we convert date to Australia/Tasmania timezone then we get expected output i.e. 23:16.
Question: Expected time for Australia/sydney is 23:16, but why Oracle database provides 22:16 as output.
Please note that, Sydney and Tasmania comes under same timezone. Still we get different output for both the timezone.
Oracle database considers GMT + 10 for Australia/sydney and GMT + 11 for Australia/Tasmania.
If we want to use Australia/sydney then how should we get correct sydney time?
Regards
ShailendraI made a test and it showed when I omit TO_CHAR, both queries have the same result 11:15 PM. So it's TO_CHAR which is the 'culprit'. Since this is a globalization issue, you may repeat your question in this forum:
Globalization Support
(So one of the moderators moves the thread to this forum).
Werner
By the way my local timezone is Europe/Berlin, there should be no difference to Amsterdam. -
Data type conversion issues between Oracle and SQL Server
Hi there, I am using Heterogeneous Services to insert into a SQL Server database. I am running into an issue between data types regarding Oracle's VARCHAR2 and trying to insert that into a SQL Server MONEY data type. I tried using the TO_NUMBER() function to convert my VARCHAR2 to a number, but that didn't seem to help.
Does anyone have any advice on how to work around this??
Thanks for any help,
ivalum21ORA-02047: cannot join the distributed transaction in progress
ORA-06512: at "MY_PACKAGE_NAME", line 263
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_Execute: DB_ODBC_ENGINE (1645): ;
[Microsoft][ODBC SQL Server Driver][SQL Server]Disallowed implicit conversion
from data type varchar to data type money, table 'tableA',
column 'total_amount'. Use the CONVERT function to run this query. (SQL
State: 37000; SQL Code: 260)
ORA-02063: preceding 2 lines from SQLSERVER_LINK
ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 875
ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 791
ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 1156
ORA-06512: at line 1
That is what I get when I take out the TO_NUMBER()
Message was edited by:
ivalum21 -
MSSQL 2005 to Oracle Database Conversion Issue
Hi Experts,
We have a requirement where we need to fetch data from MSSQL2005 and store it in Oracle DataBase.
Could you all please let me know which KM module i need to import to achieve it.
Cheers,
AndyAndy
There are a number of options. You should select based on the volume of data and platform, and flexibility of your architecture etc
- At the simplest level, you could use the LKM SQL to Oracle, which will issue a SELECT on the source and do INSERTS on the target (using prepared statements etc, so not horrendous)
- You could use the a bulk loading methodology - by using SQLUNLOAD (or bcp) and then load into Oracle using External Tables or SQLLOADER, which will probably be the fastest solution. (I created a KM which generates all the right code to load the data that way, but without a staging area, you can find it here
If you want a staging area table etc, then you could modify the code in that KM to be an LKM rather than an IKM.
Maybe you are looking for
-
Translation of Balance Sheet accounts at Period End Rate and Income Stateme
Hi All, I have a requirement of Transalation of Balance Sheet accounts at Period End Rate and Income Statement Accounts at Average Rate. How can we achieve this in oracle r 12.1.3 Regards, Chirag
-
I have a 60 GB ipod 5th gen and. I have tried charging overnight with both an AC wall adapter and the computer via USB and they both say the ipod is charging but when i take it off charge after well over 12 hours it only plays one song and the batter
-
My macbook's sound won't work - no output devices found in settings?
I've been having a lot of issues with my Macbook. It has a 2.4 GHz Intel Core 2 Duo processor and is running on version 10.6.8 Mac OS X. It asks for certification whenever surfing the web or loading websites, and always redirects to a different pag
-
Microphone sound stays on even at lowest level, how do I turn it off comple
The microphone level is up pretty high even at the lowest level. How does one turn off the microphone completely so there is absolutely no feedback? Thanks!
-
Need help with flashplayer update
I tried to download flashplayer. Told to close all kinds of things. The one I cannot identify is gplayer.