The current Secure Shell protocol and current clients do not transfer any information about the files to be transferred, only the file contents as a byte stream. This is sufficient for Unix-type files if the sender and receiver use the same CCS.
Tectia Server for IBM z/OS needs more information: which transfer format to use, what code sets are involved, and what the file characteristics are. When Tectia is used at both ends, the information can be relayed by using the site commands of scpg3 and sftpg3, or read from environment variables. When a third-party Secure Shell client is used together with Tectia Server for IBM z/OS, the information can be either encoded in the file name (advice string), read from a file transfer profile, or read from environment variables.
Using the site command is described in File Transfer Advice String / Site Command. Using environment variables is described in File Transfer Environment Variables for the Clients and File Transfer Environment Variables for the Server. For information on using third-party clients, see File Transfer Advice String (FTADV) and File Transfer Profiles.