Entering content frame

Object documentation Log File Locate the document in the library structure

Definition

One important log function of the Loader is to create and manage a log file. The name of this log file is loader.prt.

Use

When you start the Loader the log file loader.prt is created or updated.

Structure

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
These are informative system messages, such as the number of lines inserted and rejected, last completed transaction, and so on.

// E

Line with error messages
This is used to introduce the two lines with the table and position values as well as the error number or error text for rejected lines.

// R

Line with REMARK comment
These are comments that the user specified using the REMARK command.

Integration

The log file is structured in such a way that parts of it can be easily used to create a command file.

REMARK Command

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

 

Leaving content frame