Also look at using the Safety setting. https://hackfox.github.io/section4/s4g170.html
Rick Q quilhotr@gmail.com
On Mon, May 16, 2022 at 4:14 AM Alan Bourke alanpbourke@fastmail.fm wrote:
On Sun, 15 May 2022, at 2:53 PM, Desmond Lloyd wrote:
if I change the file name after throwing the error the copy executes just fine if I run the copy again it fails???
So at the point of failure if you try to re-execute the COPY TO with the intended filename in the Command Window and it fails also?
Is there a hidden ARINVT01.TXT in the output location ?
Try
erase "output\arinvt01.txt" copy to yada yada
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]