Dataloader/MP Reference Manual
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction to DataLoader/MP
- 2 DataLoader/MP Components
- 3 Running DataLoader/MP
- 4 Specifying File-Related Options for DataLoader/MP
- 5 Creating a Customized Version of DataLoader/MP
- User Exits
- User Exit Descriptions
- BUILDKEY
- CHECKARG
- CONVERTIT
- DELETEIT
- DONEWITHTRANSACTION
- EXITSDESCRIPTION
- GETNEXTRECORD
- INITIALIZE1
- INITIALIZE2
- INSERTIT
- INSTRUCTIONS
- MISC1, MISC2, MISC3, and MISC4
- NEWTRANSACTION
- NEXTINDIRECTFILE
- SKIPPING
- STATISTICSTIME
- TERMINATING
- T0330U00_DEFAULTEXITS_C
- T0330U00-DEFAULTEXITS-COBOL
- T7900D41_DEFAULTEXITS_C
- T7900V00-DEFAULTEXITS-COBOL
- UPDATEIT
- Default User Exits
- DataLoader/MP Library
- The MAKE Routine for NM DataLoader/MP
- The MAKE Routine for Nonnative Mode DataLoader/MP
- 6 DataLoader/MP Examples
- 7 Recovery Strategies
- A Error and Warning Messages
- B Processing Flowcharts
- C C-Only Error Functions
- Index

Creating a Customized Version of DataLoader/MP
DataLoader/MP Reference Manual—424148-003
5-41
Example
steps
identifies the steps necessary to create the new object file. Valid codes are:
new
specifies the name of the new object file that is to be created.
oexits
specifies the name of an object file containing custom user exits. If you compiled
exits separately, simply list all the object file names, separated with spaces.
Example
To create your own version of NM DataLoader/MP, follow these steps:
1. Create the source code for the user exits you want to replace.
The best way to do this is to make a copy of the source for the default exits,
remove the code for the exits you do not need to replace, and modify the code for
the ones you want to change. Remember to edit the #include line to refer to the
subvolume in which DataLoader/MP was installed. The source files that contain the
default user exits are included with the DataLoader/MP package: SEXITSC for C
code and SEXITSCB for COBOL85 code.
2. Compile your source file to produce an object file: myobject.
When compiling C code, you must specify the compiler option EXTENSIONS on
the compiler command line.
3. Run the MAKE routine as follows:
$SYSTEM.DLSOURCE.MAKE is the subvolume into which NM DataLoader/MP was
installed.
The letter L indicates that you need only to link the object file and do not need to SQL
compile it.
mydataload is the name of the new object file that is to be created.
L Link the user exits in oexits with the standard DataLoader/MP code
and any default exits needed to create a runnable object file.
LS Perform the link as above, then SQL-compile the new object file.
>RUN $SYSTEM.DLSOURCE.MAKE L mydataload myobject