Previous Topic: Edit Field Type Panel

Next Topic: Specifying Mapping Functions

Specifying Basic Attribute Values

This panel shows the attributes of the field type (DTX, as used for the first example) and highlights the two main columns where you can change its values.

The first column, Allow user entry, indicates how the field type attributes will be displayed when a field of this type is shown for editing on the Edit Field Details panel; the second column, Initial values, is for specifying the initial default values allowed for that field type.

For example, you would select and change the values for the Internal data type of the DTX attribute as follows:

Attribute

Internal data type

Allowed user entry

O (I,O,H)

Initial value

P

For Allow user entry, O means the Internal data type attribute is to be displayed with a fixed value; I means it can be modified; and H means it is to be hidden altogether.

For Initial value, P means you want Internal data type to have the value of Packed numeric.

The following description of the attributes and default values shown for a field type on the Edit Field Type panel will explain further how you define a new field type.

A:

Alphanumeric

P:

Packed numeric

S:

Signed numeric (zoned)

B:

Binary (does not get generated)

F:

Floating (does not get generated)

A:

Alphanumeric

S:

Signed numeric (zoned)

Blank

no keyboard shift

X, A, N, W, I, D, or M:

alphanumeric fields

N, S, Y, I, or D:

numeric fields

O, J, E, W, G, or A:

ideographic fields

For more information on keyboard shift values, refer to the IBM DDS Reference manual.

Y:

lowercase allowed

Blank:

lowercase not allowed

Y:

mandatory fill

Blank:

no mandatory fill

10:

apply modulus 10 check

11:

apply modulus 11 check

Blank:

do not apply modulus check

This can have one of these values:

Y:

field is to be value mapped

Blank:

field is not to be value mapped

 

 

I:

use internal length. This will force the External length value to equal the Internal length value on the Edit Field Type screen.

C:

invoke user program. The calculation will be performed by a field length calculation program named YxxxLENR1C where "xxx" is the 3-character name of the data type. You must supply this program yourself.

V:

if the field is valued mapped, allow user entry of the external length. If it is not value mapped, use internal length.

Blank:

allow user entry of the external length.