The unzipped SCLM Attachment contains four XMIT files. Upload all files from the ‘host’ folder, in binary format, to sequential datasets with a record length of 80 and a block size of 3120, using the following procedure:
Firstly, on z/OS, allocate the datasets to use as the upload target files. To do this, create a dataset with the same characteristics as the sample job below (or by submitting the job below). If you choose to submit the following job, note the following:
//ALLOC1 EXEC PGM=IEFBR14 //* //FTPALLOC DD DSN=hlq.SCLM.EXEC.XMIT, // DISP=NEW,CATLG,DELETE), // DSORG=PS, // RECFM=FB, // LRECL=80, // BLKSIZE=3120, //* VOL=SER=vvvvvv, // UNIT=SYSALLDA, // SPACE=(TRK,(45,15))
To upload the files, you can use FTP from a command prompt. In the sample dialog shown below, commands or other information entered by a user are displayed in bold, and the values in the following table 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:\host\hlq.SCLM.EXEC.XMIT 200 Port request OK. 125 Storing data set hlq.SCLM.EXEC.XMIT 250 Transfer completed successfully.
Executing this procedure, transfers the following files to your mainframe: