One important log function of the Loader is to create and manage a log file. The name of this log file is loader.prt.
When you start the Loader the log file loader.prt is created or updated.
Amongst other things, the following information is stored in the log file:
· Database instance and user name
· Start and end of a export or import
· All executed SQL statements
·
All executed EXPORT
commands
For each EXPORT command, specification of the accumulated counts (number of
extracted lines, and the number of lines extracted with errors)
·
All executed IMPORT
commands
– For each IMPORT command, specification of the position of the rejected
input records in the medium and the cause of error
- For each IMPORT command, specification of the accumulated counts
(inserted/modified lines and rejected lines)
· Sequence of Loader commands, that were processed in transport mode (marked with the key words START PACKAGE and END PACKAGE)
· A message if the action was terminated
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 |
The log file is structured in such a way that parts of it can be easily used to create a command file.
You can use this Loader command to write comments in the log file.
<remark_command> ::= REMARK ″<valREMARK>″
valREMARK |
Remark |
See also:
Concepts of the Database System, Directories, Log Files