Library /sys$common/syshlp/SQL$HELP72.HLB  —  Errors  SQL_ERRORS, DCLDATBEF
  DECLARE ALIAS must be before other DECLARE statements

  Explanation:  All DECLARE ALIAS statements must come before any
  DECLARE CURSOR, DECLARE TRANSACTION, or DECLARE TABLE statements
  in a program.

  User Action:  Move all DECLARE ALIAS statements before other
  DECLARE statements.
Close Help