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.

Important

{{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} is not required to copy the downloaded tar file to the z/OS Unix TARBALL directory. {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} is just the easiest and most universal method. If you do not have {{display reference="Mainframe.DevX.BMC-Installer-Mainframe-Products-SMPE-Installation.bcimpsi._SvIncludeLibrary._SvIncludePlusContent-_FTP.WebHome"/}} available on the source or target computer, you can use any method you would normally use to copy binary files between computers as long as the file is not altered or converted in any way during the copy.

Copying Tar File to Tarball Folder

worddava5c9992588b9016fe0fb23a6d59852d1.png

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

  1. 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
  2. Change mainframe_ip_address_or_lpar_name to the address of your mainframe.
  3. (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

  1. 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
  2. Change z/OS_UNIX_UID to your userid.
  3. Change pwd to your password.
  4. Change destination_path to the directory you want to store the tar file into.
  5. Change tarfile_name to the name of your tar file.
  6. 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.


 

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