DataLoader/MX Reference Manual (H06.03+, J06.03+)
Creating a Customized Version of DataLoader/MX
DataLoader/MX Reference Manual—543544-001
5-40
Building a Customized Version of DataLoader/MX
DTLStrndup
This procedure creates a duplicate of the first Len bytes of String, which is a
standard, null-terminated C string. It is the caller’s responsibility to free this duplicate
string when it is no longer needed.
The syntax is:
DTLTrimTrailingBlanks
This procedure changes the value of Len from its initial value, which is the length of
String, to a value that excludes trailing blanks in String. It is specifically designed to
aid in the creation of SQL VARCHAR columns.
The syntax is:
DTLToLower
This procedure changes a standard, null-terminated C string to lowercase letters.
The syntax is:
DTLToUpper
This procedure changes a standard, null-terminated C string to uppercase letters.
The syntax is:
Building a Customized Version of
DataLoader/MX
After you have decided on default or customer user exits and the routines to use, you
need to create a version of DataLoader/MX that includes them. A shell script,
build.sh, simplifies this task. It links standard DataLoader/MX code with an object
file created from your source file. Your source file should contain the user exits you
want to customize to create your customized executable object file.
char* DTLStrndup( char* String, long Len );
void DTLTrimTrailingBlanks( char* String, long* Len );
void DTLToLower( char* String );
void DTLToUpper( char* String );










