Upload the software to the mainframe

Upload the endevor\install.xmit in binary format to a sequential data set with a record length of 80 and a block size of 3120.

Firstly, on z/OS, allocate the data sets to use as the upload target files. To do this, create a data set with the same characteristics as the sample job below (or by submitting the job below). If you choose to submit the job, note the following:

//ALLOC1 EXEC PGM=IEFBR14 
//* 
//FTPALLOC DD DSN=hlq.INSTALL.XMIT, 
// DISP=(NEW,CATLG,DELETE), 
// DSORG=PS, 
// RECFM=FB, 
// LRECL=80, 
// BLKSIZE=3120, 
//* VOL=SER=vvvvvv, 
// UNIT=SYSALLDA, 
// SPACE=(CYL,(5,5))

To upload the files, you can use FTP from a command prompt. In the sample dialog shown below, commands or other information entered by the user are in bold, and the following values are assumed:

User input Description
mvsaddr TCP/IP address or hostname of the z/OS system
tsouid Your TSO user ID
tsopw Your TSO password
hlq High-level qualifier used for the data set you allocated in the job above
C:\>ftp mvsaddr 
Connected to mvsaddr. 
220-FTPD1 IBM FTP CS V1R10 at custom.com, 12:03:32 on 2011-08-02. 
220 Connection will close if idle for more than 5 minutes. 
User (mvsaddr:(none)): tsouid 
331 Send password please. 
Password: tsopw 
230 tsouid is logged on. Working directory is "tsouid.". 
ftp> cd .. 
250 " " is the working directory name prefix. 
ftp> cd hlq 
250 "hlq." is the working directory name prefix. 
ftp> binary 
200 Representation type is Image 
ftp> put d:\endevor\install.xmit 
200 Port request OK. 
125 Storing dataset hlq.INSTALL.XMIT 
250 Transfer completed successfully. 
FTP: 2675840 bytes sent in 7,91 seconds 70,59 KB/sec