COZ SFTP get dataset size

A discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
cagatayucuzal
Posts: 40
Joined: Thu Jun 01, 2017 9:15 am

COZ SFTP get dataset size

Post by cagatayucuzal » Fri Aug 04, 2017 6:11 am

we get some files mainframe from windows

for example, file like this, (record lengh 8

1234 78
1234 78
1234 78

for example we allocate dateset wiht 7 record lengh

after get with ftp it seems on dataset

1234 7
1234 7
1234 7
1234 7


after we get with cozsftp it seems on dataset

1234 7
8
1234 7
8
1234 7
8
1234 7
8


as you can see ftp cut the file on line on dataset but cozsftp going on new line.

is there any settings COZ , cutting line like ftp?
Regards

cagatayucuzal
Posts: 40
Joined: Thu Jun 01, 2017 9:15 am

Re: COZ SFTP get dataset size

Post by cagatayucuzal » Thu Aug 10, 2017 2:55 am

I found the settings
it works like this

lzopts overflow=trunc


overflow error | flow | trunc
| wrap

cagatayucuzal
Posts: 40
Joined: Thu Jun 01, 2017 9:15 am

Re: COZ SFTP get dataset size

Post by cagatayucuzal » Mon Aug 14, 2017 2:12 am

We added this setting
it has solved get problem which I described
but it has cauesed problems at "put"
this settings effect put?

Regards
Cagatay

Post Reply