Effect of ADD on Schema
ADD creates a new schema description in the dictionary. Default values established through the SET OPTIONS statement can be used to supplement the user-supplied description.
ADD also sets the schema's status to IN ERROR. A VALIDATE statement must set the status to VALID before a subschema or CA IDMS/DB utility can reference the schema.
Effect of MODIFY on Schema
MODIFY modifies an existing schema description in the data dictionary. This verb also sets the schema's status to IN ERROR. A VALIDATE statement must set the status to VALID before a subschema or CA IDMS/DB utility can reference the schema.
Effect of DELETE on Schema
DELETE deletes an existing schema description and its associated subschema descriptions from the dictionary.
If the SET OPTIONS statement specifies DELETE IS ON, the schema compiler also:
SCHEMA statement defaults
The schema compiler defaults to supply this information about the schema:
ADD interpreted as MODIFY
If, on an ADD operation, a schema of the same name and version already exists in the dictionary, the action taken by the schema compiler varies depending on the session option for DEFAULT:
Security enforcement
If either authority for SCHEMA is on or the schema being operated on is secured in the dictionary, the user issuing the schema statement must hold the necessary authority to perform the operation. The user issuing the statement is established by:
If SIGNON OVERRIDE is not allowed, the user is always the one known to the runtime environment.
USER DEFINED COMMENTS clause
To associate a user-defined comment with a schema:
If a COMMENTS clause appears in a MODIFY statement, the compiler edits or removes existing comment text.
To remove user-defined comments:
Use DISPLAY ALL to list all schema names
To list the names of all schemas, issue a DISPLAY ALL statement.
|
Copyright © 2014 CA.
All rights reserved.
|
|