With the option “Write mode”, you can define the procedure to be adopted for the destination file during file transfer. This option can also be defined via FTAC. There are the following options:
to overwrite files, i.e. files are overwritten, provided that the file attribute permit this action, or files that do not exist are created,
to extend files, i.e. existing files are extended at the end of the file, provided that the file attribute permit this action, or files that do not exist are created,
to not overwrite files; in this case, existing files are under no circumstances overwritten; rather, the FT request is aborted with an appropriate message. If the specified destination file does not exist, a new file is created.
In z/OS, the precise effect of the "Write mode" option (WRITE-Mode operand) also depends on the type of receive file (PS data set, member of a PO data set, etc.). This is described in detail in the manual "openFT (z/OS) - Command Interface".