Example 15: Simple HTTPS connection to Ecurep

The JCL example in Figure 1 invokes the AMAPDUPL program to transfer file HLQ.DSN.DOC to the testcase.boulder.ibm.com system as a set of work files. These will be sent to ecurep and directed to the MVS directories with the shared prefix TS012345678.wessamp.bigfile. Each of the three work files will be 100 MB. This connection uses the RACF keyring for user TSOUSER named 'pduu'. Start of changeThe CEEOPTS statement includes what the override of the HEAP settings would look like, plus the recommended CIPHER and TLS parameters for improved transport encryption.End of change

PDS entry TSOUSER.FTPINFO(TESTCASE) contains the USERID and PASSWORD in a RACF protected and encrypted PDS with contents described in Figure 2.

Figure 1. Simple HTTPS connection to Ecurep

///FTP     EXEC PGM=AMAPDUPL
//SYSUDUMP DD  SYSOUT=*
//SYSPRINT DD  SYSOUT=*
//DEBUG    DD  SYSOUT=*
//SYSUT1   DD  DISP=SHR,DSN=HLQ.DSN.DOC
//CEEOPTS  DD  * 
      HEAP(32768,32768,ANYWHERE,FREE,8192,4096),
      ENVAR(GGSK_V3_CIPHER_SPECS=9D3D9C3C,
            GSK_PROTOCOL_TLSV1_2=ON)
//SYSIN    DD  DISP=SHR,DSN=TSOUSER.FTPINFO(ECUREP)
//         DD  *
TARGET_SYS=www.secure.ecurep.ibm.com
TARGET_DSN=wessamp.bigfile
CC_FTP=03
WORK_SIZE=100
DIRECTORY=mvs
CASE=TS012345678
USE_HTTPS=Y
HTTPS_KEYRING=TSOUSER/pduu
Figure 2. Simple HTTPS connection contents of TSOUSER.FTPINFO(ECUREP)

USERID=user@domain.com
PASSWORD=userpassword