Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

PCC-02410

Expecting an expression of some Collection type.

Cause

The expression is not a Collection type. A VARRAY or Nested Table object was expected, but the given host variable did not resolve to a valid Collection type.


Action

Check that the OTT-generated header for the Collection type was properly #included in the Pro*C/C++ program and that the typefile was specified in the INTYPE option on the Pro*C/C++ command line.