SSH.COM is one of the most trusted brands in cyber security. We help enterprises and agencies solve the security challenges of digital transformation with innovative access management solutions.
When using a third-party Secure Shell client for transferring files to and from Tectia Server for IBM z/OS, it is necessary to relay information about the transfer format, code sets and file characteristics. Since the SFTP server decodes the name for the data set, the file name in the request can be used to convey this information.
Instructions for using file transfer advice string, as well as a complete description of the available advice string names, are provided in File Transfer Advice String / Site Command.
The following examples demonstrate file transfer advice string usage in various situations.
Below is an example of a file name that requests the transfer of a PDS member with the line transfer format and code set conversion from EBCDIC to an ASCII code set.
The following example requests the transfer of a data set with the line transfer format
and code set conversion using the translate table
USR1.SFTP.TCPXLBIN, if it
TCPIP.SFTP.TCPXLBIN. Different combinations of underscore and
//") in front of the file name indicate that the file is an MVS data
The example below names an HFS file to be transferred without changes. Transfer mode is
set to binary (
X=bin) to avoid conversion and to override any defaults set
in the matching file transfer profiles or environment files.
The next example uses the named file transfer profile
advice string also sets the data set code set to
ISO8859-15. This value
overwrites the value specified in the profile.
Advice strings can also be used with directory names in file transfer GUIs. With
advice strings, file transfer can be controlled in the GUI. For example in the Windows
GUI, if you use the directory
Advice string parameters are case-insensitive, with the exception of file transfer
profile names. For example,
This example uses the
LIKE attribute when creating an MVS PS data set
with the name "
userid.TEST.CPY1". The server copies
BLKSIZE from the PDS
This example uses the
LIKE attribute when creating a PDSE,
COMP.CODE". The record characteristics are copied from a PDS,
COMP.SOURCE". The PDSE is created when adding the first member,
PRG1. The new PDS is estimated to need 15 MB space.