TITLE | VALUE | |
---|---|---|
NAME | MAG KEY VALIDATE | |
DESCRIPTION | This is a an interface to the Database Server (DBS) utility: Key Validator The Key Validator extrinsic function verifies that new values contained in the FDA do not produce an invalid key. All keys in which any field in the FDA participates are checked. If the value for a field in a key being checked is not present in the FDA, the value used to verify the key is obtained from the previously filed data. | |
TAG | KVAL | |
ROUTINE | MAGQBUT4 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | FLAGS | |
DESCRIPTION | (Optional) Flags to control processing. The possible values are: Q Quit when the first problem in the FDA is encountered. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 9 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | FDA | |
DESCRIPTION | The root of the FDA that contains the data to be checked. The array can be a local or global one. See the Database Server Introduction for details of the structure of the FDA. The value of fields in the FDA must be the internal value. Do not pass external (e.g., unresolved pointer values, non-FileMan dates) in the FDA. No action is taken on fields in the referenced FDA if those fields do not participate in a Key defined in the KEY file. | |
PARAMETER TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 99 | |
RETURN VALUE TYPE | SINGLE VALUE | |
RETURN PARAMETER DESCRIPTION | This Boolean function returns a 1 if key integrity is not violated by any value in the FDA and a -1 followed by a carat delimiter and an error message describing the nature of an invalid key that was produced by any of the values. 740 A duplicate key is produced by a field's new value. 742 A value for a field in a key is being deleted. 744 Not all fields in a key have a value. | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ACTIVE | |
CLIENT MANAGER | ||
WORD WRAP ON | ||
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |