Originally posted by: Kepa_Screen
Hi, i'm having some trouble calling a pl-sql procedure from a WTX Map.
This was working ok at mercator 6.7.1, but does not work well when migrated to 8.1.0.3
This the log:
code<81978-001>: Validating the adapter command...
<81978-001>: Database type is Oracle
<81978-515>: Connecting...
<81978-515>: Host string: PGREDFAC
<81978-515>: UserID : APPS
<81978-515>: Password : *****
<81978-515>: DBLOOKUP Function, Transaction scope: Map
<81978-515>: TRACE command specified, file: /home/itf/exec/mercator/mmc/traza_2001.txt
<81978-515>: Connection to Oracle has been established.
<81978-515>: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
<81978-515>: Returned status: (0) Success
<81978-515>: Interface library version 8.1(37)
<81978-515>: Map: /home/itf/exec/mercator/mmc/itf_159_2001_60.mmc, Timestamp: Thu Oct 9 15:38:47 2008.
<81978-515>: Data being retrieved for DBLOOKUP function.
<81978-515>: Database adapter: Oracle9i Version 8.1(37)
<81978-515>: Starting a database unload...
<81978-515>: Query : CALL APPS.PK_ITF_159_GXXX.P_ACTUALIZAR_2001([[]],0,[[]],0,[[
563|
563|
563|
564|
564|
564]],1
,C016_2008100710191119974,?,?)
<81978-515>: DBLOOKUP Function, Transaction scope: Map
<81978-515>: TRACE command specified, file: /home/itf/exec/mercator/mmc/traza_2001.txt
<81978-515>: The columns are of the following types:
<81978-515>: Column 1 (P_T_FPROVR_ACT) type is ADT.
<81978-515>: The columns are of the following types:
<81978-515>: Column P_T_FPROVR_ACT - 1 (FAC_T_T_FPRO) type is ADT.
<81978-515>: The columns are of the following types:
<81978-515>: Column FAC_T_T_FPRO - 1 (COD_DOC_COT) type is NUMBER(10).
<81978-515>: Column 2 (P_FLG_HAY_FACT) type is VARCHAR(4000).
<81978-515>: Column 3 (P_T_CORREC_ACT) type is ADT.
<81978-515>: The columns are of the following types:
<81978-515>: Column P_T_CORREC_ACT - 1 (FAC_T_T_CORR) type is ADT.
<81978-515>: The columns are of the following types:
<81978-515>: Column FAC_T_T_CORR - 1 (COD_DOC_COT) type is NUMBER(10).
<81978-515>: Column 4 (P_FLG_HAY_CORREC) type is VARCHAR(4000).
<81978-515>: Column 5 (P_T_PROVCOM_ACT) type is ADT.
<81978-515>: The columns are of the following types:
<81978-515>: Column P_T_PROVCOM_ACT - 1 (FAC_T_T_PROV) type is ADT.
<81978-515>: The columns are of the following types:
<81978-515>: Column FAC_T_T_PROV - 1 (COD_DOC_PROVIS) type is NUMBER(10).
<81978-515>: Column 6 (P_FLG_HAY_PROVCOM) type is VARCHAR(4000).
<81978-515>: Column 7 (P_COD_FICHERO_INT) type is VARCHAR(4000).
<81978-515>: Column 8 (P_COD_ERROR) type is NUMBER(5).
<81978-515>: Column 9 (P_MSG_ERROR) type is VARCHAR(32000).
<81978-515>: Number of buffers in fetch array = 1
<81978-515>: The procedure statement to be executed is:
<81978-515>: begin APPS.PK_ITF_159_GXXX.P_ACTUALIZAR_2001(:a00,:a01,:a02,:a03,:a04,:a05,:a06,:a07,:a08); end;
<81978-515>: Error (-1) returned by OCINumberFromText, errcode=22061
OCI-22061: invalid format text [
999 <81978-515>: *ERR: in CAdp::_OraStreamToField (-2)
<81978-515>: *ERR: in CAdp::_ReadStream (-2)
<81978-515>: *ERR: in CAdp::_ReadStream (-2)
<81978-515>: *ERR: in CAdp::ProcessStream (-2)
<81978-515>: *ERR: in adpProcessStream (-2)
<81978-515>: Returned status: (-1097) Failed_to_create_an_object
<81978-515>: Cleaning up and closing the transaction...
<81978-515>: The transaction was successfully committed.
<81978-515>: Returned status: (0) Success
[/code]
There is some kind of error with a number that can not be converted from text....
But i'm not sure what of them it's causing that trouble.
Any kind of info is welcomed.
Thanks
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange