DataLoader/MX Reference Manual (H06.03+, J06.03+)
Creating a Customized Version of DataLoader/MX
DataLoader/MX Reference Manual—543544-001
5-30
Generating Test Data
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
Non alphanumeric characters in the odometer value are not incremented:
(000)000-0000
(000)000-0001
(000)000-0002
...
(999)999-9999
(000)000-0000
DTLIncOdometer
This procedure increments the odometer pointed to by Odometer.
The syntax is:
This Odometer must be a null-terminated character string.
long DTLIncOdometer( char* Odometer );










