3722 Only a COMMIT WORK or null statement is legal after a DDL Statement.
Explanation:
A DDL statement was issued previously. By our current rules, the only time that a DDL statement can be issued inside is when it is the last statement in that transaction. The only statements allowed after a DDL statement are a COMMIT WORK, an unconditional ROLLBACK WORK, or a NULL statement.
Generated By:
RES modules.
For Whom:
End User.
Remedy:
Commit the transaction immediately after the DDL statement.