DataLoader/MX Reference Manual (G06.24+)

Creating a Customized Version of DataLoader/MX
DataLoader/MX Reference Manual525872-002
5-40
Building a Customized Version of DataLoader/MX
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.
build.sh can also SQL compile the customized object file (required if your custom
user exits contain embedded SQL). To use the build.sh routine with
DataLoader/MX, use this syntax:
user_exits
is the name of the user exits source or object file. The file extension must be one
of:
.c (C source)
.cbl or .cob (COBOL source)
.o (object file)
outfile
is the name of the customized DataLoader executable that is generated. By
default, the file is named dtload.
MX|MP
specifies whether SQL compilation is to be performed on the customized
DataLoader executable. By default, no SQL compilation is performed. If the
argument is MX, steps for SQL/MX SQL compilation are performed. If it is MP,
steps for SQL/MP SQL compilation are performed. In case of SQL/MX SQL
void DTLToUpper( char* String );
build.sh user_exits [outfile [MX|MP]]