Library /sys$common/syshlp/SQL$HELP72.HLB  —  Errors  SQL_ERRORS, NOPROC
  SQL statements must follow a procedure declaration

  Explanation:  SQL statements must come after a procedure
  statement.  This statement was found before any procedure
  statement.

  User Action:  Put your SQL statements inside a procedure.
Close Help