"XCOMU0403E Cannot open output file: File exists" & user has write permission
search cancel

"XCOMU0403E Cannot open output file: File exists" & user has write permission

book

Article ID: 223678

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Linux PC XCOM Data Transport - Windows XCOM Data Transport - z/OS

Issue/Introduction

Receive this message when receiving a file via XCOM transfer: XCOMU0403E Cannot open output file: File exists
The user has the correct write permissions.
During the sending of files by a remote XCOM server, at the business level it is necessary that the file keep the same name in the path and that XCOM has the capacity to overwrite the file. Can any parameter be adjusted? Should the procedure be performed on the local server or on the remote server?

Environment

  • XCOM™ Data Transport® for Linux PC
  • XCOM™ Data Transport® for z/OS
  • XCOM™ Data Transport® for Windows

Resolution

As all transfers are different and it may not be desirable to execute "REPLACE file" functionality 100% of the time, it is the remote XCOM server that needs to decide/set whether the file will be replaced if it already exists. Therefore the remote/partner XCOM server that is initiating the transfer needs to set a parameter to force the file to be replaced on the receiving XCOM server.
For example :