SQL$HELP_OLD72.HLB  —  Errors  SQL_ERRORS, ALIASATTOP
  The ON ALIAS clause must appear in the outermost compound

  Explanation:  You have used the ON ALIAS clause in a compound
  statement that is nested within one or more other compound
  statements.

  User Action:  Move the ON ALIAS clause to the outermost compound
  statement in the procedure.
Close Help