TYPRUL Data Dictionary File
Field |
Description |
Type |
Comments |
TYPDEF_ID |
Typedef Name |
C(16) |
|
RULE_ID |
Name if this Rule |
C(16) |
|
ERRMSG |
Error Message |
C(30*) |
Text to be displayed if the field fails this rule test. |
ERRPROC |
Error Procedure |
C(30*) |
Procedure to be executed if the field fails this rule test. |
SUCCPROC |
Success Procedure |
C(30*) |
Procedure to be executed if the field passes this rule test. |
TYPE |
Rule Type |
U(1) |
Defines the specific rule type of this record: 0 Display Rule |
|
|
|
1 Input Rule. |
|
|
|
2 Input Validation Rule. |
|
|
|
3 Search Rule. |
|
|
|
9 Protect Rule (future). |
SEQ |
Rule Counter |
U(2) |
Sequential counter ($0000$ .. $FFFF$), allowing for multiple-rule records. |
KNUM |
Index Name |
Field(s) |
0 |
INDEX00 |
TYPDEF_ID+TYPE+SEQ |
1 |
RULE_ID |
RULE_ID |
2 |
INDEX02 |
TYPE+TYPDEF_ID |
3 |
TYPDEF_ID |
TYPDEF_ID |