Limited supportBMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see High-speed Apply Engine 13.1.

File transfer examples


The following figure shows sample JCL for running FTP in batch mode on the mainframe:

Figure 1. JCL for running FTP in batch mode

//FTP EXEC PGM=FTP,REGION=0M
//OUTPUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
yourServerName
yourLoginID
yourPassword
cd yourdirectory
quote site trail
quote site sbsendeol=lf
put 'your.mainframe.migr.sql.dataset' yourlocalfile.sql
quit
/*

The following figure shows an example FTP session on a Windows or UNIX platform. In the example, bold text indicates user entries.

Figure 2. FTP session

 C:/ftptest>ftp themainframe
Connected to themainframe.xyz.com.
220-FTPDN1 IBM FTP CS V1R9 at themainframe.xyz.com, 22:08:29 on 2009-01-16.
220 Connection will close if idle for more than 30 minutes.
User (themainframe.xyz.com:(none)): mylogin
331 Send password please.
Password:
230 MYLOGIN is logged on. Working directory is 'MYLOGIN.'.
ftp> quote site trail
200 SITE command was accepted
ftp> quote site sbsendeol=lf
200 SITE command was accepted
ftp> get
Remote file 'MYLOGIN.MIGRATE.SQL'
Local file mylocalfile.sql
200 Port request OK.
125 Sending data set MYLOGIN.MIGRATE.SQL
250 Transfer completed successfully.
ftp: 15911243 bytes received in 1.90Seconds 8392.01Kbytes/sec.
ftp>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*