To use the cxntest utility
Use cxntest to test connections to a target database and to issue commands when connected.
1.
From a command prompt on the Campaign server, run the cxntest utility.
2.
a.
Library files are located in the same directory as the cxntest utility. For example: libdb24d.so (for DB2® on Linux) or db24d.dll (for DB2® on Windows).
b.
For example, the Oracle SID.
c.
d.
The utility does not prompt for confirmation of your selections.
3.
*
bprint[pattern]
Does an array fetch on a list of tables, 500 at a time.Optionally, specify a search pattern, where the pattern matches SQL standards, such as % for zero or more characters. For example, bprint UA_% finds all Campaign tables that start with "UA_".
*
Describes the specified table. Returns each column name and its corresponding data type, storage length, precision, and scale.
*
Terminates the database connection and exits.
*
Displays a list of supported commands.
*
print [pattern]
Returns a list of tables. Optionally, specify a search pattern, where the pattern matches SQL standards, such as % for zero or more characters.
*
Terminates the database connection and exits.
*
Executes any valid SQL command or series of SQL commands.