Prerequisites

Authorizations

The following options can be activated or deactivated for each user :

  Deletion

Miscellaneous prerequisite

It is necessary to have first launched the operation that will create the log; normally, the execution of the operation is followed by the automatic display of the log if it is not empty. Also this function is only used to look again at a log file.

Display of the log files

The display of the log files is made using the principle of a font with fixed characters, which facilitates the viewing of the columns in text of this type. A LOG FILEstyle is used, which can be personalised by the user.

Technical setting up of log files

The developer manages a log file by the following functions:

Call OPEN_LOG("COMMENT") From LECFIC

: # Opening of a log file

Call ECR_LOG("TEXT",ERROR) From LECFIC

: # Write a text in the log
: # If ERROR=0 : Information
: # If ERROR>0 : Error displayed in red
:# if ERROR<0 : Information in a specific colour

Call CLOSE_LOC From LECFIC

: # Closure of the log

Call READ_LOG From LECFIC

: # Read the log

Tables used

No table is used by this function.