|
|
|
|
HLogRecreate (Function) In french: HJournalRecrée
 Available only with these kinds of connection
Used to re-create an empty log. This function is used to reset a log to 0 after a backup or a replication for example. The content of the existign log files is lost. Caution: this function is an advanced function. The use of this function is not recommended. We recommend that you use WDLog to manage the log. Remark: The log process is not available when accessing a database via Remote access. Syntax
<Result> = HLogRecreate(<Data file> [, <Creation options>])
<Result>: Boolean - True if the operation was performed,
- False if a problem occurs. HError is used to identify the error.
<Data file>: Character string Name of the logged data file for which the log must be re-created. If this parameter corresponds to "*", the log is re-created for all the data files found in the analysis. <Creation options>: Optional constant (or combination of constants) Configures the log file to re-create: | | hLogIdentification | Re-creates the "JournalIdentification.fic" file. | hLogJNLFile (Default value) | Only <data file>JNL.FIC is recreated. | hLogOperation | Re-creates the "JournalOperation.fic" file. | hLogUser | Recreates the log of users ("UserLog.fic").
|
Remark: we do not advise you to re-create the user file and the identification file only. Indeed, the links between the files could be broken and the re-created files could be inconsistent.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|