Adding CLI User Exit Functions - Teradata Tools and Utilities

Teradata Tools and Utilities for IBM s390x Linux Installation Guide

Product
Teradata Tools and Utilities
Release Number
15.10
Published
July 2017
Language
English (United States)
Last Update
2018-06-05
dita:mapPath
PDF_Installation_Linux_s390x_1600.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-3123
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 /opt/teradata/client/15.10/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. 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

  5. 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.
  6. 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.sols

  7. Move the libtdusr.so file into the cli installation directory, and verify that libcliv2 exists in the same directory.
  8. For more information on CLI User Exit Functions, see Teradata Call-Level Interface Version 2 Reference for Workstation-Attached Systems, B035-2418, Appendix D.