FLDRUL Data Dictionary File

Field

Description

Type

Comments

FILE_ID

File ID (alias)

C(16)

FIELD_ID

Field Name

C(16)

RULE_ID

Name of 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

Rules Type

U(1)

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

FILE_ID+FIELD_ID+TYPE+SEQ

1

RULE_ID

RULE_ID

2

INDEX02

TYPE+FILE_ID+FIELD_ID

3

FILE_ID

FILE_ID

4

INDEX04

FILE_ID+FIELD_ID