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-33
Generating Test Data
The syntax for this procedure follows:
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 may be placed in Coln.
Specify a Col and Len pair for each column in the result. DataLoader/MP moves a
maximum of Lenn bytes to its corresponding Coln column.
If DTLCartGenerateField returns 0, it has started to return duplicate combinations. A
nonzero value indicates that the result is not a repeat of any prior combination.
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. There can be at most five columns added to
one field by using COBOL.
The syntax for these procedures follows:
short DTLCartGenerateField( short Field, char* Coln,
short Lenn, ... );
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);