We are converting our forms from 6i to 9iAS. When we are compiling the converted forms in our new schema ( in UNIX environment), wherever there is a code to access DBMS_SQL package, we are getting

internal error [1907]
the declaration of the type of this expression is incomplete or malformed.

Specifically we have given the execute and debug permission for DBMS_SQL package to the new schema. Is there any other permission to be given for this/ anyother changes are required?

Thanks & regards,