Load Function Operations
- Parse
- Load
- Verify
The parse operation processes the load function input files and tests the syntax of all of the statements. No changes are made to the data cache, and RODM does not need to be running when you use the parse operation. This operation returns error messages for any statements in the load function input files that contain syntax errors. However, it cannot generate errors for problems such as assigning a value to a field that does not exist.
The load operation parses the load function input files and updates the contents of the RODM data cache. The load function input files can contain both high-level load function statements and load function primitive statements.
The RODM load function returns error messages for any statements in the load function input files that contain syntax errors. The load function also returns error messages for any request that does not complete successfully, even if the syntax was correct. For example, if you try to assign a value to a field which does not exist, the load function returns an error. Because the load function converts each high-level load function statement into several load function primitive statements as part of its processing, you might receive error messages which describe problems with load function primitives when you code a high-level load function statement.
Before you run the load operation, run the parse operation and correct any syntax errors. Then, use the load operation to create or update the contents of the data cache. You can update the data cache using the load function any time RODM is running.
The verify operation parses the load function input files and compares the statements with the contents of the data cache. No changes are made to the data cache, but RODM must be running to use the verify operation. The verify operation enables you to determine if specified classes, objects, and fields exist in the data cache. You can also determine if a field has a specified value. See Understanding the Verify Operation for a more detailed description of the verify operation.