Client Applications Built with Ecosystem Manager 15.11 Header Files and Calling Ecosystem Manager 15.11 API - Teradata Ecosystem Manager

Teradata Ecosystem Manager Event System API Reference

Product
Teradata Ecosystem Manager
Release Number
15.11
Published
May 2016
Language
English (United States)
Last Update
2018-05-03
dita:mapPath
nxw1467305977314.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-3204
lifecycle
previous
Product Category
Analytical Ecosystem
  • LD_LIBRARY_PATH/SHLIB_PATH/LIBPATH must have the following library search path entries in the beginning, in the order listed: /usr/lib:/opt/teradata/client/tmsm/lib:/opt/teradata/client/tmsm/32/lib

    For Ecosystem Manager 15.11, this is:

    /usr/lib:/opt/teradata/client/em/lib:/opt/teradata/client/em/32/lib.
  • To use new API functions added in Teradata MSM 13.11 and 14.00, 32-bit client applications must link to libtmsmapistub.so/libtmsmapistub.sl., which is in /opt/teradata/client/tmsm/32/lib. For 15.11, use /opt/teradata/client/em/32/lib.
    gcc $(LDLAGS) -o SendStart32 SendStart.o $(LIB) -lc -ldl -lnsl -luuid -ltmsmapistub -L/opt/teradata/client/tmsm/32/lib

    To use new API functions added in Teradata MSM 13.11 and 14.00, 64-bit client applications must link to libtmsmapistub.so/libtmsmapistub.sl, which is in /opt/teradata/client/tmsm/lib. For 15.11, this is /opt/teradata/client/em/32/lib.

    gcc $(LDLAGS) -o SendStart64 SendStart.o $(LIB) -lc -ldl -lnsl -luuid -ltmsmapistub -L/opt/teradata/client/tmsm/lib

    These are not required for applications using Teradata MSM API functions in Teradata MSM 13.11 or earlier.

On AIX platforms, client applications must provide either of two macros:

  • OS_AIX64 to invoke the 64-bit system Ecosystem Manager 15.11

    Edit the client application makefile as follows:

    sample64.o: sample.c

    $(CC) -c $(CFLAGS) –DOS_AIX64 $(INCLUDE) sample.c
  • OS_AIX32 to invoke the 32-bit Ecosystem Manager 15.11

    sample32.o: sample.c

    $(CC) -c $(CFLAGS) –DOS_AIX32 $(INCLUDE) sample.c