Previous Topic: UsageNext Topic: SECURITY CLASS


Examples

The following examples illustrate the use of PREAUTHORIZATION commands.

Example 1

ADD PREAUTHORIZATION
    ENTITY NAME IS "EMPSCHM" TYPE SCHEMA VERSION 100
    TO USER DATABASE-ADMIN
    ESTIMATED COMPLETION DATE 06/30/03
    COMMENT "BETA RELEASE".

CA Endevor/DB will add this preauthorization to the CCDB for the identified entity. This command allows user DATABASE-ADMIN to perform Schema compiler updates against the EMPSCHM Version 100 schema.

Example 2

MODIFY PREAUTHORIZATION
    ENTITY * TYPE RECORD VERSION 100
    TO CCID DBADMIN.

This command modifies all preauthorizations defined for record entity types with version 100, regardless of the name, to the DBADMIN CCID and to allow that CCID to be available as a derived CCID.

Example 3

DELETE PREAUTHORIZATION
    TO CCID DEVREVIEW.

This command removes all preauthorizations associated with the CCID "DEVREVIEW" from the CCDB.