DataLoader/MX Reference Manual (H06.03+, J06.03+)
Creating a Customized Version of DataLoader/MX
DataLoader/MX Reference Manual—543544-001
5-34
Generating Test Data
If DTLCartGenerateField returns 0, it has started to return duplicate combinations. A
nonzero value indicates that the result is not a repeat of prior combinations.
DTLCARTGENERATE[1-5]COLFIELDCOB
These procedures are COBOL-callable routines for generating Cartesian fields.
Because COBOL does not accept variable numbers of parameters, there are five
routines, for one to five columns in a field. You can add at most five columns to one
field by using COBOL.
The syntax is:
Field
is a value from 1 through 10 that specifies the field to which the column is to be
added.
Coln
is the variable that holds the result.
Lenn
is the maximum number of characters that can be placed in Coln.
short DTLCARTGENERATE1COLFIELDCOB ( short field,
char* Col1, short Len1);
short DTLCARTGENERATE2COLFIELDCOB ( short field,
char* Col1, short Len1,
char* Col2, short Len2);
short DTLCARTGENERATE3COLFIELDCOB ( short field,
char* Col1, short Len1,
char* Col2, short Len2,
char* Col3, short Len3);
short DTLCARTGENERATE4COLFIELDCOB ( short field,
char* Col1, short Len1,
char* Col2, short Len2,
char* Col3, short Len3,
char* Col4, short Len4);
short DTLCARTGENERATE5COLFIELDCOB ( short field,
char* Col1, short Len1,
char* Col2, short Len2,
char* Col3, short Len3,
char* Col4, short Len4,
char* Col5, short Len5);










