COPY

The COPY command copies the specified local file to a new file.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

RENAME

FROM

value

Mandatory. Old file name.

TO

value

Mandatory. New file name.

REPLACE

*YES

Optional. Replace file.

*NO

Do not replace file.
The default value of the REPLACE keyword is *NO.
If the TO filename exists, then the rename process is stopped, unless the REPLACE keyword is *YES.