The following table describes the general transfer options. The usage columns describe when the option (if active) will apply during transfer. Usage Read means using Co:Z SFTP (server or client) to read a z/OS file. Usage Write means using Co:Z SFTP (server or client) to write a z/OS file.
![]() | Note |
|---|---|
Options that have a blank value column are
on/off options. They are activated by supplying the option name by itself (no values
allowed) and deactivated by prefixing the option name with the prefix |
clientcpSpecifies the name of the client codepage used when performing text mode transfers. Data will be converted between the server codepage (servercp) and this code page. The codepage must either be a single byte codepage or any multi-byte codepage that has single-byte line terminators (e.g. UTF-8). The z/OS Unix command iconv -l lists the available codepages. The default, if not specified, is
ISO8859-1.lineruleThe values
cr,crlf,crnl,lf,nlspecify that, for text mode transfers, lines will be terminated with the given characters in the client codepage.flexiblemay be used when writing to files or datasets to indicate that any combination of cr, lf, or newline will be recognized as a line terminator.rdwspecifies that IBM-style RDWs are used as prefixes.mfrdwindicates that Micro-focus file and records headers are used.0xbb[bb..]may be used to specify a sequence of one or more bytes in the source codepage. The default isflexiblefor writing and lf for reading.modeSpecifies whether transfers are as-is (binary) or subject to codepage/linerule/overflow/pad processing (text). The default is
binary.overflowFor text-mode dataset write processing, controls the treatment of lines longer than the maximum dataset record length.
padFor text-mode dataset write processing, specifies the character to use when padding lines into fixed-length dataset records. If given as
0xbb, it specifies (in hex) a single-byte character in the source codepage. If not specified, the default is a space character in the server codepage.replaceThis setting allows for existing datasets or files to be replaced. The default, if not specified, is
replace, which allows for replacement.noreplacecan be set to prevent an existing dataset or file from being replaced. Note: ifnoreplaceis set, you may not create PDS members, regardless of whether the member exists, and you may also not write to GDG datasets using a positive (+n) relative reference.servercpSpecifies the name of the server codepage used when performing text mode transfers. Data will be converted between the client codepage (clientcp) and this code page. The default, if not specified, is default codepage for the server's process.
techniqueSpecifies the Codepage conversion technique string. Used to override the default Unicode Services value of
LMREC. For more information, see IBM's Unicode Services User's Guide and Reference (SA22-7649).trimFor text-mode dataset read transfers, enabling this options will cause pad characters to be trimmed from the dataset records as they are read.
The following table describes the miscellaneous options. These options do not apply to transfer operations, but affect the behavior of Co:Z SFTP.
|
Table A.2. Miscellaneous options
|
The following table describes options that apply when transferring MVS datasets. The z/OS BPXWDYN service is used for dataset allocation and these options correspond to keywords available with BPXWDYN with similar syntax except that:
keyword=valueis used rather thankeyword(value)periods are used in place of commas
other minor differences as described below
The usage columns below describe when the option (if active) will apply during dataset transfer
(none of these options, with the exception of conddisp, apply during
POSIX file transfers). For more information on BPXWDYN, see
Using REXX and z/OS UNIX System Services - SA22-7806
![]() | Note |
|---|---|
The |
|
Table A.3. BPXWDYN options
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![[Note]](images/note.gif)