But when we remove the old file from target server and rerun it runs fine. The target windows server's settings have all been checked and it allows overwriting. There doesnot seem to be any issue with the settings.
Is there something on the MVS batch side that we might need to check? This is the card we are using
put 'file1.file1.file1' file1.file1.txt
Joined: 06 Jun 2008 Posts: 8339 Location: Dubuque, Iowa, USA
There is nothing to check on the MVS side -- the message is coming from the SERVER, not the MVS client. And you may THINK the settings are okay, but the server is not allowing you write access to either the directory or the file -- period. If the server supports the (REPLACE option you could try adding it to your PUT command.