In Figure 1, the USERID control statement has the format user@hostname, where hostname is the name of the TCP/IP system to transfer files to, and user is the user name on the hostname system. The PASSWORD control statement has format proxyuser@proxypass, where proxyuser is the user name on the proxy server and proxypass is the user password on the proxy server. TARGET_SYS is the name of the TCP/IP proxy server.
//FTP EXEC PGM=AMAPDUPL
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=H44IPCS.WESSAMP.TRKS055K
//SYSIN DD *
USERID=anonymous@testcase.boulder.ibm.com
PASSWORD=proxyuser@proxypass
TARGET_SYS=your.proxy.server.name
TARGET_DSN=wessamp.bigfile
WORK_DSN=wes.ftpout
CC_FTP=03
WORK_DSN_SIZE=500
DIRECTORY=/toibm/mvs/
PMR=12345.123.123
//