Adding CLI User Exit Functions - Adding CLI User Exit Functions - Teradata Tools and Utilities

Teradata® Tools and Utilities for IBM AIX Installation Guide - 20.00

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Tools and Utilities
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2024-11-15
dita:mapPath
ykm1691660447529.ditamap
dita:ditavalPath
wft1465132352442.ditaval
dita:id
uji1464394385671
lifecycle
latest
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/20.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.
    To compile the 32-bit version, type:

    make -f maketdusr.aix

  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.