Library /sys$common/syshlp/SQL$HELP72.HLB  —  Errors  SQL_ERRORS, HOLDATTOP
  The WITH HOLD clause must appear in the outermost compound

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

  User Action:  Move the WITH HOLD clause to the outermost
  compound statement in the procedure.
Close Help