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
Specifying File-Related Options for DataLoader/MP
DataLoader/MP Reference Manual—424148-003
4-3
CSV
CSV[<spec>]
<spec>
can be any combination of the following, separated by commas and enclosed in
angle brackets:
Both input and output files for CSV must be edit files.
For input, the record layout information necessary for the translation must be contained
at the beginning of each input file and must consist of a comma-separated list of
translation specifications, each corresponding to a field in the record.The syntax for
these field translation specifications is as follows:
[alignment:]field-type[length]...
where
alignment
specifies that the start position of this field will be at the integral multiple of
alignment, as specified. The default value is 1. The position of each record starts at
1.
field-type
is CHAR, INT, or DATETIME.
SEPCHAR=charspec changes the separator character from a comma to
another character. charspec can either be the new
separator character itself, or its representation in
decimal. If specified, the new separator character
applies only to the data and not to the translation
specifications.
CONTCHAR=charspec changes the continuation character from an
ampersand (&) to another character. charspec can
either be the new separator character itself, or its
representation in decimal. If specified, the new
separator character applies only to the data and not to
the translation specifications.
MAXRECSIZE=num changes the maximum line length from 239 to num.
Before adding a value to the current line,
DataLoader/MP checks to see whether the value will
make the line longer than the maximum length. If it
would make the line longer, DataLoader/MP writes the
current line and starts a new one before adding the
value to the line. Because a field must fit on a single
line, DataLoader/MP might be forced to create an
output line longer than specified. This option is valid
only for output.