Site commands

A discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
Alear123
Posts: 3
Joined: Fri Nov 04, 2016 11:13 am

Site commands

Post by Alear123 » Thu Jul 19, 2018 8:14 am

When connecting via ftp to a mainframe you can issue site parameters such as ISPFSTATS.

This means when you do a put to an mvs dataset this created date and user info and other info is populated.

When doing ours to mvs datasets via sftp this information isn’t populated, is there and equivalent site command to populate this information?

dovetail
Site Admin
Posts: 1856
Joined: Thu Jul 29, 2004 12:12 pm

Re: Site commands

Post by dovetail » Fri Jul 20, 2018 11:57 am

There is not "site" command mechanism in the standard SFTP protocol.

In Co:Z SFTP, the remote SFTP client can simulate site-like commands using:

ls /+option

see:
https://dovetail.com/docs/sftp/using.html#using_opts
https://dovetail.com/docs/sftp/options.html

Unfortunately, there is currently no "ISPFSTATS"-like option.

Alear123
Posts: 3
Joined: Fri Nov 04, 2016 11:13 am

Re: Site commands

Post by Alear123 » Wed Jul 25, 2018 6:56 am

Thanks, is there any plan to add this in the future or is there an alternative way to populate the created date etc for mvs datasets?

dovetail
Site Admin
Posts: 1856
Joined: Thu Jul 29, 2004 12:12 pm

Re: Site commands

Post by dovetail » Wed Jul 25, 2018 2:54 pm

Dates for sequential data sets are maintained by the operating system, so this would not be a problem.

As far as ISPF-compatible PDS member statistics, we would like to do that some time in the future but we can't comment on when this might happen.

Post Reply