SQL$HELP72.HLB  —  Errors  SQL_ERRORS, INVHVDECL
  Host variable <str> was invalidly declared.

  Explanation:  Every host variable that is used in an SQL
  statement in a program must be declared in the host language
  using the supported subset of declaration syntax for the
  language.  Not using the supported subset causes this error.
  Another way this message can be generated is to use an indicator
  variable that is not a signed word (for example, in COBOL:  PIC
  S9(4) COMP).

  User Action:  Use host variable declaration syntax for this
  variable that is supported by SQL.
Close Help