SET CHECKSETS
Documentation | Blog | Demos | Support
SET CHECKSETS
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Controls consistency checking of result sets.
Syntax
SET CHECKSETS ON|OFF
Comments
The CHECKSETS option is set ON by default.
When CHECKSETS is ON, the software checks certain aspects of the component structure of result sets for consistency. This consistency checking is performed when a command creates a result set (using the -> (Result set) subcommand), if the set has already been defined as a result set, either in a previous set-producing command, or as a NamedSet object in the Object Dictionary. Normally, you should always leave CHECKSETS set ON.
The SET CHECKSETS command is not affected by the SET RESET and SET RESTORE commands.
Example
find Employees -> Set1
find Departments -> Set1
With CHECKSETS set ON, the second command in the preceding sequence produces an error (the component structure of the set is not consistent from one command to the next).
set checksets off
find Employees -> Set1
find Departments -> Set1
By setting CHECKSETS OFF, the command sequence produces no error.
See Also
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
2 Responses
Updated Descriptions.
The example commands are overlapping in the example description. It is not a problem anymore but the look is not good.