Entering content frame

 Log File 

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
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 entered by the user using the REMARK command.

 

 

Leaving content frame