DB2 Error Code – -626 the alter statement is not executable because the pageset is not stopped

In this post, you’ll learn about the error message -626 the alter statement is not executable because the pageset is not stopped in the IBM DB2 database , the reason why it occurs along with the solution to fix it

IBM DB2 Error Message

-626 the alter statement is not executable because the pageset is not stopped

Reason for the Error

An ALTER statement specifies a USING, PRIQTY, SECQTY, or ERASE clause, but the pageset is not stopped.

Solution

Stop the pageset before resubmitting the statement.