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

Recovery Strategies
DataLoader/MP Reference Manual—424148-003
7-2
Design Time Considerations
Design Time Considerations
You should consider how you will load your database at the time you design it, along 
with other considerations, such as query performance and online transaction 
processing performance. Along with those considerations, consider how you will 
recover if the load process fails. You must ensure that DataLoader/MP will be able to 
read the data again, possibly in the same order as it read it on its first run.
The database design process is a trade-off between a design that can be loaded 
quickly and recover from failures during loads and a design that is optimized for other 
functions. For example, putting all of the new data in a new partition or at the end of an 
existing partition is good for load performance and recovery but can result in poor 
application performance because placing all of the new data on a single disk eliminates 
the possibility of using parallelism in the normal use of the database. No fixed set of 
priorities exist, because different types of applications have different considerations.
Tools
The tools used to implement loading are:
•
DataLoader/MP: This tool uses single threaded or parallel processing to load 
databases. 
•
SQLCI LOAD: This tool replaces all of the data in a partition of a SQL/MP table.
•
SQLCI APPEND: This tool appends data to the end of a partition of a SQL/MP 
table.
Some Basic Rules
In every case where it is necessary to perform recovery of the load process, recovery 
will require that the DataLoader/MP process read the input data again, and in some 
cases it must be in the exact same order, so you must determine if this is possible. 
Whatever the data’s source, you must make sure that the data, or a copy of it, remains 
unmodified until the load is successfully finished. If necessary, you must add steps to 
your load scenario to make this occur.
For example, data in a disk file can easily be read again. However, if the data is being 
received by FTP from another system, when you rerun the load after a failure, the data 
might no longer be available, or might not be available in the same order. In that case, 
you may need to add a step to the normal loading scenario to FTP the data to a disk 
from which you can load, rather than loading it directly from the FTP process.
If you cannot reread the input data stream that was being processed when the failure 
occurred, then you may not be able to craft a reliable failure recovery scenario. 
Your goal should be to construct a failure recovery plan that will enable you to run the 
failed loading batch job again. The loading batch job should contain logic, if necessary, 
to recognize and recover from the failure. In some cases, you may have to do some 
simple operations, such as setting a parameter, purging data, or copying a table to 










