In this blog post, let’s learn about the error message “20238 A user-defined transaction has been started. The MODIFY utility cannot perform the partition management operation.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20238 A user-defined transaction has been started. The MODIFY utility cannot perform the partition management operation.
Reason for the Error
You started a user-defined transaction (using the BEGIN WORK command) before starting the MODIFY command. The MODIFY utility manages its own transactions.
Solution
You can commit or roll back the transaction (using the COMMIT WORK or ROLLBACK WORK command) and then resubmit