Adding CLI User Exit Functions - Teradata Tools and Utilities

Teradata® Tools and Utilities for Linux Installation Guide Amazon Linux 2, CentOS, OEL, RedHat, SLES, Ubuntu

Product
Teradata Tools and Utilities
Release Number
17.00
Published
November 30, 2020
Language
English (United States)
Last Update
2020-11-18
dita:mapPath
qqn1544831938746.ditamap
dita:ditavalPath
bbv1473194095470.ditaval
dita:id
B035-3160
lifecycle
previous
Product Category
Teradata Tools and Utilities
CLI User Exit functions are general purpose facilities that can be added to the CLI workstation architecture on the selected operating system. These functions allow user-defined processing to take place.
  1. Change directories to the sample directory:

    cd <prefix>/teradata/client/17.00/sample

  2. Modify the CliLgnEx.c or CliPPS.c file in the sample directory.
  3. Compile and link using either the 32-bit or 64-bit version of the makefile to create a new shared object, libtdusr.so.
    The Native compiler on IA64 is not supported.
    To compile the 32-bit version, type:

    make -f maketdusr.lx

    On 64-bit Red Hat Linux, the compiler always generates 64-bit binaries. The 32-bit makefile is not supported on 64-bit Red Hat Linux platforms.
  4. Move the libtdusr.so file into the cli installation directory, and verify that libcliv2 exists in the same directory.
  5. For more information on CLI user exit functions, see "CLI User Exit Functions" in the Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems, B035-2418.