Step 4. Copy the tar file to z/OS UNIX tarball directory


Use an FTP client such as WS_FTP or FileZilla to copy the downloaded .tar file to your mainframe z/OS UNIX tarball subdirectory 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 FTP client, to drag- and-drop the .tar file into the tarball folder.

Warning

Important

FTP is not required to copy the downloaded tar file to the z/OS Unix TARBALL directory. FTP is just the easiest and most universal method. If you do not have FTP 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 FTP 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 script.bat initiates the FTP transfer to the mainframe. File data.txt contains the control statements to perform the FTP upload.

script.bat

  1. Create the 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 FTP output before the output display closes.

data.txt

  1. Create file 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 script.bat file to execute it.

 

 

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

BMC Installer Mainframe Products SMP/E Installation