MAINFRAME TO UNIX WITHOUT CONTROL CHAR

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
CMILLER944
Posts: 1
Joined: Fri Jan 27, 2012 8:15 am

MAINFRAME TO UNIX WITHOUT CONTROL CHAR

Post by CMILLER944 »

Based upon what I see in the manual( detailed below), is there that option listed that will write to the UNIX site without any ending characters at the end of each record. It does not seem to clear to me.

Can we go back to Dovetail for some additional clarification on this?

Our code does look like: 000015 lzopts mode=text,servercp=$servercp,notrim,linerule=crnl

Table A.1. General transfer options
Keyword Usage
Name Value Datasets POSIX Read Write
clientcp <codepage> X X X X
linerule cr | crlf | crnl | lf | nl | rdw | mfrdw | flexible | 0xbb[bb..] | none X X X X
mode binary | text X X X X
overflow error | flow | trunc | wrap X X
pad <pad_char> | 0xbb X X
replace X X X
servercp <codepage> X X X X
trim X X


linerule
The values cr, crlf, crnl, lf, nl specify that, for text mode transfers, lines will be terminated with the given characters in the client codepage. flexible may 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. rdw specifies that IBM-style RDWs are used as prefixes. mfrdw indicates 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 is flexible for writing and lf for reading.
coz
Posts: 392
Joined: Fri Jul 30, 2004 5:29 pm

Re: MAINFRAME TO UNIX WITHOUT CONTROL CHAR

Post by coz »

If you are doing a text mode transfer from z/OS to unix and don't want any line terminators, specify the "linerule=none" option.
Post Reply