David Allen - 2024-06-03

When calling BatchMove the error appears : 'Table#####:Cannot perform this operation on an open dataset'
This occurs when using batchmove and am unaware of how to get past the error. It seems to be a bug in that batchmove re-opens the source dataset then tries to create the source dataset file rather than the destination dataset file – which is not allowed of course. The error is caught when Batchmove calls CreateTableEx. The same applies to the procedure CopyFrom as it just calls BatchMove.

Can anyone tell me if this is a bug or if I am doing something wrong, and how to fix.