One important log function of the Loader is to create and manage a log file.
When you start the Loader, a log file is created or updated. The name of this log file is loader.prt. The file is stored in the directory <independent_data_path>\wrk of the database instance.
The following information is logged in the log file:
· Database instance and user name
· Start and end of a load or unload action
· All executed SQL statements
·
All executed
load commands
– For each load command, the position of the rejected input records in
the medium and the cause of error
- For each load command, the accumulated counts (inserted/modified lines and
rejected lines)
·
All executed
unload commands
For each DATAEXTRACT command, the accumulated counts (number of extracted
lines, and the number of lines extracted with errors)
· A message if the action was terminated
The log file is structured in such a way that parts of it can be easily used to create a command file.
All comments start in a new record with // * or // <letter> and are ignored by the Loader.
Special comment lines:
// M |
Line with
messages |
// E |
Line with
error messages |
// R |
Line with
REMARK comment |