Previous Topic: COBOL Data TypeNext Topic: Attribute Default Value or Algorithm


Attribute Permitted Values

You can use permitted values to further restrict the domain of certain kinds of attributes. The set of permitted values for an attribute exhaustively describes the potential values of the attribute.

For example, there are seven specified values for Day (of week). If you specify no permitted values for an attribute, CA Gen considers any value consistent with the attribute's primitive domain and length to be a legal value.

You specify permitted values for any attribute that is either basic or designed, and either text or a number. Auto Number and BLOB attributes may not have permitted values, a default value, or an algorithm.

The permitted values for text attributes are restricted to discrete values.

The permitted values for number attributes include ranges and discrete values.

Each permitted value is given its own description in CA Gen.