SQL$HELP72.HLB  —  Errors  SQL_ERRORS, INVVARREF
  Variable "<str>" is illegal in this context

  Explanation:  It is illegal to create a database object based on
  a variable definition.  Specifically, when using a COMPUTED BY
  clause to define a column using CREATE or ALTER TABLE the
  COMPUTED BY clause cannot reference a previously declared
  variable.

  User Action:  Change the COMPUTED BY clause so that it does not
  reference a declared variable.
Close Help