Adding CLI User Exit Functions - 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
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/16.20/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.sl. To compile the 32-bit version, type:

    make -f maketdusr.hpux

    The Native compiler on IA64 is not supported.
  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 Teradata Call-Level Interface Version 2 Reference for Workstation-Attached Systems (B035-2418), Appendix D.