FTP to IBM

When you want to send files to IBM® using FTP, use the following process:

  1. All files must be sequential. If the file is a PDS(E) or a single member, use XMIT to convert it to a sequential file. Example:
    XMIT DUMMY.DUMMY DS('data.set.name(member)') outdsn(userid.PMR#.XMIT')
  2. Bigger files must be tersed. Example:
    //TERSE    EXEC PGM=AMATERSE,PARM=PACK
    //*TERSE    EXEC PGM=TRSMAIN,PARM=PACK
    //*STEPLIB  DD DISP=SHR,DSN=SYS1.MIGLIB
    //SYSPRINT DD SYSOUT=*
    //INFILE   DD DISP=SHR,DSN=data.set.name
    //OUTFILE  DD DISP=(NEW,CATLG),SPACE=(CYL,(250,250),RLSE),
    //            UNIT=SYSALLDA,DSN=data.set.name.TRS
  3. Enter these commands from the TSO Ready prompt:
    1. ftp ftp.emea.ibm.com
    2. user ID: anonymous
    3. password: you@email.com (Use your e-mail address for the password.)
    4. cd toibm/mvs
    5. binary
    6. put 'userid.<name>.trs' pmr#.branch#.country#.<name>.trs
    7. quit