Step 4. Copy the tar file to z/OS UNIX tarball directory
Use an {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} client such as WS_{{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} or FileZilla to copy the downloaded .tar file to your mainframe z/OS UNIX tarball sub-directory created by the JCL in Step-3-Create-z-OS-UNIX-directory-and-file-structure. The example in the following figure uses FileZilla, a free {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} client, to drag- and-drop the .tar file into the tarball folder.
Copying Tar File to Tarball Folder
Alternate transfer method
As an alternative to using an {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} client to transfer the .tar file to z/OS UNIX Storage, you can create and update the following two files and execute them from Windows. File {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP_small.WebHome"/}}script.bat initiates the {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} transfer to the mainframe. File {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP_small.WebHome"/}}data.txt contains the control statements to perform the {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} upload.
{{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP_small.WebHome"/}}script.bat
Create the {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP_small.WebHome"/}}script.bat file in the same directory where the tar file has been downloaded. Copy and paste the following command into the file:
ftp -s:ftpdata.txt mainframe_ip_address_or_lpar_name- Change mainframe_ip_address_or_lpar_name to the address of your mainframe.
- (Optional) Add a second line with command PAUSE so you can review the {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} output before the output display closes.
{{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP_small.WebHome"/}}data.txt
Create file {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP_small.WebHome"/}}data.txt in the same directory where the tar file has been downloaded. Copy and paste the following into the file:
z/OS_UNIX_UID
pwd
cd ..
cd destination_path
quote type i
quote mode s
put tarfile_name
quit- Change z/OS_UNIX_UID to your userid.
- Change pwd to your password.
- Change destination_path to the directory you want to store the tar file into.
- Change tarfile_name to the name of your tar file.
- Once both files have been created and updated, double-click the {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP_small.WebHome"/}}script.bat file to execute it.