

Operations on Entities › VALIDATE Operations
VALIDATE Operations
VALIDATE operations cause the schema or subschema compiler to verify the relationships among all components of the schema or subschema that is current for update. Based on this verification, the compiler sets the status to:
- IN ERROR, if it detects errors
or
- VALID, if it detects no errors
If an error is detected, messages indicate the nature of the error.
Schema and Subschema Status Conditions
The schema or subschema definition in the dictionary carries a status of either IN ERROR or VALID:
- A status of IN ERROR indicates that the definition was not processed by an error-free VALIDATE statement. IN ERROR prevents other CA IDMS/DB software components (for example, a language precompiler) from using the schema or subschema. The schema compiler sets the status to IN ERROR following a successful execution of an ADD or MODIFY SCHEMA statement. Likewise, the subschema compiler does so following ADD or MODIFY SUBSCHEMA.
- A status of VALID indicates that the schema or subschema is usable by other CA IDMS/DB software components. The schema compiler sets the schema's status to VALID after the error-free execution of the VALIDATE statement. Likewise, the subschema compiler does so following the VALIDATE statement or the GENERATE statement.
Use VALIDATE at Any Time During Definition
You can use VALIDATE at any time to verify the relationships of schema or subschema components. For example, you can use VALIDATE when you have not yet defined schema sets, but want to verify the schema's record structures. However, expect a warning for any records whose location mode is VIA an undefined set.
Copyright © 2014 CA.
All rights reserved.
 
|
|