Skip to main content
Version: 8.0

REPLACE - UCOPY configuration option

Description​

The REPLACE option specifies whether or not the file specified by the OUTPUT option is replaced (if it already exists).

Usage​

Method

Syntax

IBM i

UNIX

Windows

z/OS

Command Line, Short Form

-r option

Command Line, Long Form

-replace option

STRUCP Parameter

REPLACE(*option)

Values​

option is the specification for whether or not to replace the file.

Valid values for option are:

  • yes
    File is replaced.
  • no
    File is not replaced.

Default is yes.