Extra display characters on Zos display when DSNAME = 44

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
LeonBylsma
Posts: 22
Joined: Thu Apr 16, 2009 8:26 am

Extra display characters on Zos display when DSNAME = 44

Post by LeonBylsma »

Thanks for all the replies so far, we are realy getting a lot of help from you. My latest question is : When we connect to Zos via SFTP (OpenSSH) and switch out of OMVS into Zos using the 'cd //...' command and when we then do a display command 'ls -l' or 'ls' then any Zos dataset name that is 44 characters long, displays extra unknown characters as part of the display (see display below in RED). We try to strip the name from the display to automate the fetching of the file and these extra characters causes the script to try to fetch incorrect filenames ....

C:\Documents and Settings\f2058146.FNBJNB01>sftp ftp99999@10.33.255.17
Connecting to 10.33.255.17...
sftp> cd //ftp99999
sftp> ls -l
---------- 0 0 0 0 Jan 1 1970 .zos_catalog
-rw-rw-rw- 0 0 0 0 Jan 1 1970 IFER.A571100.B09034.C220509.AFP
-rw-rw-rw- 0 0 0 0 Jan 1 1970 IFER.BOTSWANA.C2205.START
-rw-rw-rw- 0 0 0 55840 Jan 1 1970 TEST.A571100.B09034.C220509.AFP0123Ü&ü&-
-rw-rw-rw- 0 0 0 55840 Jan 1 1970 TEST2
-rw-rw-rw- 0 0 0 49152 Jan 1 1970 TEXTTEST.TXT
sftp> ls
.zos_catalog
coz
Posts: 391
Joined: Fri Jul 30, 2004 5:29 pm

Post by coz »

Thanks for reporting this. We've found the problem and will include a fix in the next release.
Post Reply