If u need to get the return values from the Oracle or any other Stored Procedure then u need to declare it in the Local External Functions section of the transaction object.
Then u could call the Stored procedure such as
eg, the transaction object is n_tr of type SQLCA.
Then it would be
Long ll_rc
ll_rc = SQLCA.up_getdata(input, input, output, output)
Here the input and output are the parameters. The input variables act as input parameters
and the output stores the return values from the stored procedure.
Prior to this while declaring the stored procedure in the Local External Functions u need to declare as follows
i.e,
Function long dbo.up_getdata( String ls_1, String ls_2, ref String ls_3, ref String ls_4)
Remember the output parameters are stored in the 3 and 4 parameters and it needs to be preceded by the "ref" keyword.
This tells the object that these are the return values. U could fetch the values by passing variables while call to Stored Procedure.
I hope u should be clear with it.
Else u put forward ur query in a more descriptive manner.