The TAR Script Command - Teradata Tools and Utilities

Teradata Tools and Utilities for HP-UX Installation Guide

Product
Teradata Tools and Utilities
Release Number
16.20
Published
April 2018
Language
English (United States)
Last Update
2018-04-26
dita:mapPath
mcz1512703202277.ditamap
dita:ditavalPath
hpux_No_ie.ditaval.ditaval
dita:id
B035-3124
Product Category
Teradata Tools and Utilities

To launch the TAR script, run tar_teradata_client_packages.sh.

For the commands in the following table, the package-version identifier is not required. For example, the package names bteq and bteqxxxx (where xxxx is the version number) are equivalent.
Command Description
tar_teradata_client_packages help Displays the available commands
tar_teradata_client_packages

or

tar_teradata_client_packages list

Displays the platforms and packages that are available on the installation media.

tar_teradata_client_packages list platform

Lists the products for a specific platform that are available on the installation media
  • Run the script with platform as the first parameter to create a tar file in the default target path. The resulting archive contains all Teradata client packages on the media for that platform.
    The value of the platform parameter can be one of the following:
    • aix
    • i386
    • ia64
    • opteron
    • s390x
    • sparc
    • ubuntu

    The path for the output can be changed. The output filename is in the following format:

    teradata-client-platform-media-name.tar. If the archive is compressed with gzip.exe, the script appends .gz to the filename.

  • Run the script with platform as the second parameter after the list parameter to list the packages available for the specified platform.

tar_teradata_client_packages platform package

Creates a tar file for a specific platform and one package

Add the name of a package after the platform parameter. For example, to archive the bteq package for the aix platform, type:

tar_teradata_client_packages platform bteq

The value of the platform parameter can be one of the following:
  • aix
  • i386
  • ia64
  • opteron
  • sparc
If you specify a package other than a dependent package, all of the following dependent packages are included in the archive:
  • cliv2
  • piom
  • tdicu

If you specify package names after the platform parameter, the script includes the dependent packages if they are available on the media.

If you specify individual packages, all of the dependent packages are included in the archive.

tar_teradata_client_packages platform package1 package2 etc.

Creates a tar file for a specific platform and specific packages.

Add the name of packages after the platform parameter. For example, to archive the bteq and FastLoad packages for the aix platform, type:

tar_teradata_client_packages <aix|i386|opteron|s390x|sparc> bteq fastld

If you specify packages other than the dependent packages, all of the dependent packages are included in the archive:
  • cliv2
  • piom
  • tdicu

If you specify package names after the platform parameter, the script includes the dependent packages if they are available on the media.

If you specify individual packages, all of the dependent packages are included in the archive.