104 GENDB - Generate Data Base with MML Command File

The AMO GENDB is used to generate the system databases (DBs) in batch operation. Before first-time generation, a database must be initialised for configuration data (CFIGDA) and customer data (CUSTDA). Databases which have been thus initialized can be loaded with the aid of the AMO LDB, if present on the hard disk.
AMO GENDB can only be started, if the APS numbers entered into the directory files are identical to those in the MML command file. The numbers in the MML command file can be changed on the hard disk with the aid of the AMO ASPIK. The current APS numbers in the system can be interrogated via the DISPLAY action of the AMO VEGAS, parameter FLIST=LONG.
If the AMO-TEXT-APS-NO in the MML command file are not the same as those in the system, the GENDB will close with an error message, the status ’FREE’ will remain in the VEGAS file. If the RES-CODE-APS-NO or the AMO-CODE-APS-NO are different the status will be set to ’ABORTED’.
If an interrupted generation is to be continued via the CONT parameter of the AMO GENDB, the partially generated database must correspond to the MML command file. The AMO checks that the system number entered in the database is identical to that in the MML command file. Continue GENDB is only possible, if the status in the VEGAS file is set to ’INTRUPTD’ or ’SYBRO’(system crash).
Generating (or regenerating) runs on the system are coordinated by the AMO VEGAS. The system access status for each HW module is entered in the VEGAS file (control file). The AMO GENDB can only be started if all the modules to be generated are entered in the file as ’FREE’, or have been reserved for the AMO GENDB by the user (status=’RESERVED’).
With the DELETE action of the AMO VEGAS, the operator can set all module operating state entries in the VEGAS file to ’FREE’, thus enabling a successful start of the AMO GENDB. After a correct run of GENDB the status is set to ’FINISHED’. The operator can interrogate the state of the generating (or regenerating) run on the system by calling up the DISPLAY action of the AMO VEGAS.
ADD-ANSU:TYPE=SYSNO,SYSNO="NO-ENTRY-IN-DBASE";
NOTE:  If SWU is cleared with the AMO DBC parameter RESSWUDB, also CODEW is lost and must be re-added via license activation or a previously saved REG-CODEW.