Toad World® Forums

Unable to identify the base datatype for argument...


#1

Hello,

I am getting this error while trying to build a test case for a function.

a) I do have a package called “pkg_globals” in which I do define a variable “var_a”:

CREATE PACKAGE pkg_globals AS

var_a PLS_INTEGER;
END pkg_globals;

b) I do have a function “fct_test” with a parameter “par_a” which refers to the package variable “var_a”:

CREATE FUNCTION fct_test(par_a pkg_globals.var_a%TYPE) RETURN …

END fct_test;

As I try to define a test case for the function “fct_test” I get the error:

Unable to identify the base datatype for argument “PAR_A” of program “FCT_TEST”

Any ideas?

Thanks for Your help.


#2

I cannot easily reproduce with the example you gave me.

What version of CT are you running?

Please send to me (steven@feuerstein@quest.com) a support bundle, being sure to specify the fct_test program on the program name page.

SF


#3

This is a 1.8.2 bug that will be fixed in 1.8.3.