Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Compiling the SSL

The option is available to compile a new SSL using the SSL compiler once the Schema DDL has been compiled.

If no SSL compilation is carried out, default values for the storage structure are used. If the previously defined storage structure is to be retained, it is necessary to recompile the original SSL clauses.

The compilation procedure is the same as that used for database creation (see section "Compiling the SSL" of chapter “Database creation (BCREATE, BFORMAT, DDL- and SSLCompiler, BGSIA, BGSSIA, BCALLSI)”).

Command sequence for compiling the SSL

It is assumed for the command sequence described here that UDS/SQL was installed with IMON (see section "START commands for the UDS/SQL programs". The aliases for calling the utility routines are also listed in this section).
The commands listed here are described in detail in section "Compiling the SSL" of chapter “Database creation (BCREATE, BFORMAT, DDL- and SSLCompiler, BGSIA, BGSSIA, BCALLSI)”.

01 /ADD-FILE-LINK LINK-NAME=DATABASE,FILE-NAME=dbname.DBDIR

02 /SELECT-PRODUCT-VERSION PRODUCT-NAME=UDS-SQL,VERSION=version,SCOPE=*TASK

03 /START-UDS-SSL

04 SOURCE IS 'ssl-file'

05 END

06 /ASSIGN-SYSDTA TO=*SYSCMD

It is essential that the SSL compiler should terminate compilation with ’NORMAL END’. If compilation ends with ’ABNORMAL END’, the following action should be taken:
  • for errors in the SSL clauses:

    the faulty SSL clauses should be corrected and the SSL compilation should be repeated;

  • for errors in the DDL clauses:

    • the faulty DDL clauses should be corrected

    • the faulty schema should be deleted in a DDL run by means of the statement DELETE SCHEMA schemaname

    • and the restructuring process should be repeated from ’Compiling the Schema DDL’ onwards.