Site commands

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 »

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: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Site commands

Post by dovetail »

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 »

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: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Site commands

Post by dovetail »

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