Oracle7 Server Utilities
Inclusions for Compatibility
The IBM DB2 Load Utility contains certain elements that SQL*Loader does not use. In DB2, sorted indexes are created using external files, and specifications for these external files may be included in the load statement. For compatibility with the DB2 loader, SQL*Loader parses these options, but ignores them if they have no meaning for Oracle.
The syntactical elements described below are allowed, but ignored,
by SQL*Loader.
LOG Statement
This statement is included for compatibility with DB2. It is parsed but ignored by SQL*Loader. (This LOG option has nothing to do with the log file that SQL*Loader writes.) DB2 uses the log file for error recovery, and it may or may not be written.
SQL*Loader relies on Oracle's automatic logging, which may or may not be enabled as a warm start option.
[ LOG { YES | NO } ]
WORKDDN Statement
This statement is included for compatibility with DB2. It is parsed but ignored by SQL*Loader. In DB2, this statement specifies a temporary file for sorting.
[ WORKDDN filename ]
SORTDEVT and SORTNUM Statements
SORTDEVT and SORTNUM are included for compatibility with
DB2. These statements are parsed but ignored by SQL*Loader. In DB2, these statements specify the number and type of temporary data sets for sorting.
[ SORTDEVT device_type ]
[ SORTNUM n ]
DISCARD Specification
Multiple file handling requires that the DISCARD clauses (DISCARDDN and DISCARDS) be in a different place in the control
file -- next to the datafile specification. However, when loading a single DB2 compatible file, these clauses can be in their old position -- between the RESUME and RECLEN clauses. Note that while DB2
Load Utility DISCARDS option zero (0) means no maximum
number of discards, for SQL*Loader, option zero means to stop on the first discard.