Using Dataset Listing on the z/OS sftp2 Client
The sftp2 file transfer client included with SSH Tectia Server for IBM z/OS does not
natively support dataset listing functionality for local datasets. Dataset
listing functionality is implemented only in the server module.
Dataset listing functionality can be enabled on the sftp2 client by
opening a localhost connection to the local file transfer server using the
lopen command. After the localhost connection is established, local
SFTP commands, for example, lls for listing local datasets and
lcd for changing the local DSN prefix, can be used in the same way
as described in Sections Dataset Lists
and Dataset Hierarchy.
For example:
mainframe_host> sftp2 userid@unix_host
sftp> lopen localhost
sftp> lcd /__USERID.
sftp> lls
sftp> sput MY.DATASET /tmp/unix_file
|