Entry points > Module Supervisor > Standard script DOSINTEG 

RESTAURE

This entry point is inserted after the restoring of a table. It is used to generate triggers just after table validation.
This entry point is called from the DOSINTEG process at the end of the RESTAURE sub-program. This sub-program includes the backup of the tables, generates the file .srf in the FIL directory for the application from the dictionary of the table then the system command 'valfil' generated the .adx file and validates the table in the database. It should be remembers that the table is deleted (valfil -d) before the restore.

Context and operating mode

The following tables are on line :

Table

Significant content

Table description

ADOSSIER [ADS]

No

Folder table

The arguments passed on to this sub-program are:
- FICHIER Name of the table
- APPLI Name of the 'application 
- TYPDBA Type of database (2-CIsam, 3-Oracle, 5-SQL, 6-DB2)
- REPSVG Backup directory (SVG for example)
- CFG Flag 'Original configuration file'
- SIZ Flag 'original size'
- FORMAT (1-ASCII, 2-Unicode)
- V130 (2-Format table 130) 

The other accessible variables are, among others:
- The variables FINITIAL, FNEXT, FPCTINC are initialized from the .srf of the backup (option) and are used in the valfil option, Storage (Initial FINITIAL Next FNEXT Pctincrease FPCTINC)
- The variables for the ADOSSIER table corresponding to the current folder.

The only open table is ADOSSIER.