DataLoader/MX Reference Manual (G06.24+)
Creating a Customized Version of DataLoader/MX
DataLoader/MX Reference Manual—525872-002
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/MX 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 is:
Odometers
Another useful type of test data is modeled after an automobile’s odometer. Consider
this sequence of numbers:
00000
00001
00002
...
99999
00000
For situations where you desire such test data, DataLoader/MX 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, these sequences are supported by DTLIncOdometer:
AAAA
AAAB
AAAC
...
ZZZZ
AAAA
aaaa
aaab
aaac
...
zzzz
aaaa
Odometer values can also be mixed, as shown:
aAA0
aAA1
aAA2
...
zZZ9
aAA0
void DTLRandUnsignedLong2Init ( unsigned long Seed );