Usage: SFTPPUT fileset, remoteSystem, remoteUser, remoteDir, encrypt, remoteSysType, remSysHasCrypt where: 'fileset' (required) a single file, a wildcarded fileset, or an indirect file (^filename) which can be supplied in MPE or POSIX syntax. The format for indirect files is one fully qualified file name per record with MPE or POSIX style names supported. Eg. F@, ./f#, /ACCT/dir/f2, ^ftplist, ^/ftp/ftplist. 'remotesystem' (required) the name or IP address of the system where the file is being transferred. The remote system can be all flavors of Unix, Windows or MPE, as long as the remote system can decrypt encrypted files via the POSIX crypt utility. The decryption is done automatically for MPE systems; whereas, non-MPE systems will need to run the crypt utility using the key which is transferred in its own file, "FileName.key". For a NETRC file to be used by FTP the machine name must match the 'remotesystem' parm name. 'remoteuser" - (sometimes optional) the user name which FTP will use to connect to the remote system. The syntax is: "username[:password]" or "username[/password]". To suppress password prompting the username should terminate with a ":" or "/", meaning a null password, eg. 'foo:'. For MPE remote systems the username field consists of "user.account". If passwords are embedded in MPE user names the format is: "user/upass.acct/apass" or "user.acct:upass,apass". If all passwords are omitted the user may be prompted for the passwords. The expected user response for MPE passwords is: "userpass,acctpass". NOTE: if a comma is used then the entire name needs to be quoted so that it is treated as a single token. NOTE: this parameter is optional if a NETRC file is present since NETRC provides automatic FTP logins without the need to specify user names and passwords. However, if the remote system is MPE and the file is encrypted, a job will be streamed, named JDECRYPT, to auto- matically decrypt the FTP'd file. This job needs to be able to logon to the remote MPE system and thus may need user and/or account pass- words. This SFTPPUT script has no access to passwords contained in a NETRC file. Therefore, in order for the JDECRYPT job to logon, either :JOBSECURITY must be set to allow the desired users to logon without passwords, or the passwords must be provided to this script. 'remotedir' - (optional) the name of the directory (or group.account) on the remote system where the file will be sent. Syntax: "/dir", "./dir" "../dir", "~user", "group.acct", or "group". If omitted the remote user's home directory is assumed. If can be useful to specify 'remotedir' even when the logon is done via NETRC. This allows the files to be transferred to a location other than the remote user's home directory/group. 'encrypt' - (optional) TRUE (default) means to encrypt text files. FALSE means no encryption. However, even if 'encrypt' is TRUE, only non- empty ASCII files will be encrypted. 'remoteSysT' - (optional) "MPE/iX", default, means the remote system is known to be an MPE system. "Unix" means the remote system is known to be a Unix system. '*' means the remote system type will be determined by this script, which is extra overhead. If the file is encrypted and the remote system is an MPE system then a job will be streamed on the remote system to decrypt the file and do some minor cleanup. 'remSysHasCrypt' - (optional) only applies when the remote system is MPE. TRUE (default) indicates that the remote system already has the crypt utility, and thus it does not need to be FTP'd across the wire. FALSE means the remote MPE system may not have Crypt, in which case, a non-PH version is FTP'd to the remote system, executed, and then removed. If the remote system is not MPE this parameter is ignored.