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-29
Generating Test Data
DTLRandUnsignedLong2Init
This procedure optionally can be used to initialize DTLRandUnsignedLong2 to cause it
to start at a different point in its sequence of random values. By default,
DataLoader/MP initializes DTLRandUnsignedLong2 with the seed value 1305.
If you want to receive different sets of random numbers in different runs, you can use
DTLRandUnsignedLong2Init to give a different seed in each of your runs. The syntax
for this procedure follows:
Odometers
Another useful type of test data is modeled after an automobile’s odometer. Consider
the following sequence of numbers:
00000
00001
00002
...
99999
00000
For situations where you desire such test data, DataLoader/MP provides a utility
procedure, DTLIncOdometer, to create it. DTLIncOdometer, however, generalizes on
the odometer concept by letting the values be alphabetic as well as numeric. For
example, the following sequences are supported by DTLIncOdometer:
AAAA
AAAB
AAAC
...
ZZZZ
AAAA
aaaa
aaab
aaac
...
zzzz
aaaa
Odometer values can also be mixed, as follows:
aAA0
aAA1
aAA2
...
zZZ9
aAA0
void DTLRandUnsignedLong2Init ( unsigned long Seed );