Execution
This application uses library files that are present in /opt/teradata/client/<version>/tbuild/lib, /opt/teradata/client/<version>/tbuild/lib64,
and opt/teradata/client/<version>/tbuild/msg
.
Before executing this application, export the environment variables LD_LIBRARY_PATH and NLSPATH as follows:
export LD_LIBRARY_PATH=/opt/teradata/client/<version>/tbuild/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/teradata/client/<version>/tbuild/lib64:$LD_LIBRARY_PATH
export NLSPATH=opt/teradata/client/<version>/tbuild/msg/%N:$NLSPATH
This application takes three runtime arguments: tdpip, userid, and password of a Teradata Database.
To run this application, issue one of the following commands from the terminal/command prompt:
./runsamp_<platform>_32 <tdpid> <userid> <password>
./runsamp_<platform>_64 <tdpid> <userid> <password>