Wrong date using WinSCP

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
hareball
Posts: 3
Joined: Mon Nov 15, 2010 8:35 am

Wrong date using WinSCP

Post by hareball »

We are using CoZ 1.7.2 on z/OS interfacing with WinSCP SSH client.

The CHANGED date field in WinSCP lists the date for all datasets as 12/31/1899.

I'm not sure if the programming is not understanding or getting a value for the date?

Any help would be appreciated?
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

See this post which describes the issue that you are seeing:

http://dovetail.com/forum/viewtopic.php?t=1043

z/OS datasets don't have a last changed date, which is why we don't send back that field. Some clients will display bogus dates if the last changed date is missing.

We are considering setting the last changed date for a dataset to the z/OS Last Referred date, which is not technically correct, but might be more practical.

Your opinion?
hareball
Posts: 3
Joined: Mon Nov 15, 2010 8:35 am

Displaying it

Post by hareball »

Thanks for the response but how do I tell the server to display differently to the client.

I cannot change the commands that WinSCP issues to get a dir listing from CoZ.

Thanks!
Post Reply