CPY_MODE - UCOPY configuration option

Description

The CPY_MODE option sets the copy mode for reading and writing files.

Usage

Method

Syntax

IBM i

UNIX

Windows

z/OS

Command Line, Short Form

n/a





Command Line, Long Form

n/a





STRUCP Parameter

CPYMODE(*mode)

(tick)




Values

mode is the copy mode for reading and writing files.

Valid values for mode are:

  • binary
    Copy the data as binary data. The data is not translated in any manner.
  • text
    Copy the data as text data. All trailing blank characters in a record are ignored. A new-line character is inserted after the last non-blank character. The data is subjected to code page conversions.
  • savf
    Copy the data as a save file. This is required when working with save files. The data is not translated in any manner.

Default is text.