Have a procedure that i want to invoke from a strategy.When i directly run the query from the strategy that i have used in my procedure ,it works fine with configured DAP and DB server .So there may not be any issue with DAP ,DB svr ,URS and DB connectivity and set up. When i use the same query inside a procedure and try to invoke the procedure from a SQL editor tool ,it works fine but when invoking the same procedure from strategy get following error -
09:14:50.990 Dbg 10741 'App (DV_URS_P,Host name here ,0)' has put request id='31' into queue
09:14:50.990 Dbg 10737 Forwarding request '31' from 'App (DV_URS_P,Host name here ,0)' to 'Oracle: 530215.1'
09:14:50.990 Dbg 10743 'Oracle: 530215.1' is spare
09:14:51.102 Dbg 10739 Oracle: id='530215.1' req='31' execute sp: GETEMPLOYEEID Login='85469',EmployeeID='',Switch='',Workgroup=''
+0111 ocierror: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "CONFIG_USER.GETEMPLOYEEID", line 13
ORA-06512: at line 2
+0111 MSG_ERROR status='3' msg='ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "CONFIG_USER.GETEMPLOYEEID", line 13
ORA-06512: at line 2
The parameters are defined with '%type ' so there can't be any size issue . Plus it works fine from SQL tools. What could be the issue ?