Specifying escape codes
Use the -ec option to specify escape characters for file transfers.
Syntax
–ec cc:cc:cc:cc: . . .- cc:cc:cc:cc: . . .
- Specifies a list of characters to escape during conversion of
characters between ASCII and EBCDIC code pages. Use this parameter
to enable successful "round-trip" transfer of characters that do not
transfer successfully from ASCII to EBCDIC and back again. Only numeric
characters, 0-9, and the uppercase alphabet characters, A-F, can be
used. No lowercase characters can be used. If you specify the following
in your rccbuild command, for example, the EBCDIC characters 0x00,
0x0D, 0x15 and 0x25 are escaped:
-ec 00:0D:15:25
- 0x15
- 0x0D
- The character that is converted to 0x00 in the code page specified in the client_codepage (-k) option
- The character that is converted to 0x0D in the code page specified in the client_codepage (-k) option
- The character that is converted to 0x1A in the code page specified in the client_codepage (-k) option
IBM-1047 | IBM-850 |
---|---|
0x00 | 0x00 |
0x0D | 0x0D |
0x1C | 0x1A |
Platforms
z/OS® MVS™, z/OS UNIX® System Services