-140 ISAM error: operation illegal on a DR secondary.
A DR secondary server is meant for read-only operations. Any kind of write operation to a nontemporary dbspace is not allowed. For example, you cannot create a table in a regular dbspace, and you cannot do an insert, update, or delete operation on a table in a regular dbspace.
Review your application logic and rewrite it to remove any operations that would write to a nontemporary dbspace.
A DR secondary server is updatable. Only DML statements (insert/update/delete) are supported on an updatable secondary server.