HPE NonStop SQL/MX Error – 21060 A user-defined transaction has been started. FASTCOPY cannot be performed.

In this blog post, let’s learn about the error message “21060 A user-defined transaction has been started. FASTCOPY cannot be performed.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

21060 A user-defined transaction has been started. FASTCOPY cannot be performed.

Reason for the Error

A user-defined transaction is active when a FASTCOPY command is executed.

Solution

Commit the user-defined transaction and retry the FASTCOPY command