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-24
User Messages—COBOL
The syntax for this procedure follows:
DTLFATALERRCOB
This procedure writes the message to stderr and to stdout (unless stdout is the same
as stderr). It ignores -Q so that the message appears at least on stderr. After the
message has been written, DTLFATALERRCOB calls the TERMINATING user exit,
passing 0 as the argument. Then it closes the error file (the -E file or stderr). Finally, it
stops the process with completion code 3. DTLFATALERRCOB does not return.
The syntax for this procedure follows:
DTLPROMPTUSERCOB
This procedure writes a message to the process’ home terminal, then accepts input
from the user.
Answersize should be specified as the number of bytes available in Answer.
The MsgLen characters in Msg are the message displayed on the process’ home
terminal.
The user response is placed into Answer. The number of characters accepted is
placed into AnswerLen.
DTLWRITEERRCOB
This procedure writes the message to the process’ error file (the file specified by -E or
stderr if -E was not specified).
If this is the first message written to the process’ error file, a message is written to
stderr (and to stdout if it is different from stderr) to announce that errors are occurring.
If the -Q argument was specified, the write to stderr will be skipped, and if stdout is the
same as stderr, the message will not be written anywhere.
This function also increments the error count and, if the error limit specified by the -L
parameter is reached, it terminates the process.
The syntax for this procedure follows:
short DTLCONTINUECOB(char* Question, short* QuestionLen );
void DTLFATALERRCOB( char* Msg, short* MsgLen );
void DTLPROMPTUSERCOB(char* Answer, int* AnswerSize,
int*AnswerLen, char* Msg, int* MsgLen);
void DTLWRITEERRCOB(char* Msg, short* MsgLen );