To display or modify the additional information of a data type, click the More button of the Create/Modify a data type dialog box.
Radio buttons
Keyboard options
A keyboard option is used to control certain functions at the keyboard level.
The following options (defined by IBM) are available:
KS codes: keyboard attributes:
KSA |
alphanumeric plus lowercases, |
KSD |
numeric from 0 to 9 without decimal positions, |
KSE |
non-combined DBCS, |
KSG |
grahical DBCS, |
KSI |
inhibit keyboard entry, |
KSJ |
double-byte only DBCS, |
KSM |
numeric from 0 to 9 with sign, point, comma, blank, |
KSN |
numeric, |
KSO |
combined DBCS, |
KSS |
numeric with sign on the right, |
KSW |
Katakana code page, |
KSX |
from A to Z with comma, point and dash (uppercases only), |
KSY |
numeric with edit code or word, |
None |
no keyboard attribute. |
- Other codes:
AB |
blanks allowed, |
LC |
lowercases allowed, |
VN |
valid field name, |
VNE |
valid extended field name, |
RAB |
right-adjust with blank fill, |
RAZ |
right-adjust with zero fill, |
None |
no other keyboard option. |
The VN and VNE options are mutually exclusive.
The RAB and RAZ options are mutually exclusive.
The KSE, KSG, KSJ and KSO options are incompatible with the VN, VNE and RAZ options.
The KSG and KSJ options are incompatible with the LC option.
One option maximum can be selected among:
KSA, KSD, KSE, KSG, KSI, KSJ, KSM, KSN, KSO, KSS, KSW, KSX and KSY.
For an alphanumeric property, only the following options are available:
KSA, KSD, KSE, KSG, KSI, KSJ, KSM, KSN, KSO, KSX, KSW, AB, RAB, RAZ, LC, VN and VNE.
For a numeric property, only the following options are available:
KSD, KSI, KSN, KSS, KSY, RAB and RAZ.
For more details on keyboard options, see the "Data Description Specification Reference" IBM manual.
Data entry
Edit word
To define an edit word, click the corresponding radio button.
This field cannot be informed if an "Edit code" was selected.
The edit word is forbidden for an alphanumeric type and optional for a numeric type.
Length: 60 characters maximum.
Restrictions relative to the edit word:
the length of the edit word must be equal to that of the type;
this length is computed by counting the possible spaces, asterisk and zero;
only one zero is allowed;
only one asterisk is allowed;
single quotes are not allowed;
any other character is accepted but ignored.
Click here for more details on edit words.
Help
Name of the document which contains the property's on-line help.
Depending on the documentation tool, the help field complies with one of the following syntax format:
DSPF field-level help |
: |
DSPF Name / Format Name, or Format Name. |
OFFICE/400 field-level help |
: |
Label Document Folder. |
UIM field-level help |
: |
Help_Name Panel_Group_Name. |
Optional entry.
Important note: Field-level help is only valid for programs generated on the AS/400.
Lists
Edit code
To define an edit code, click the corresponding radio button.
This field cannot be informed if an "Edit word" was specified.
Edit codes displayed in the list:
A, B, C, D, J, K, L, M, N, O, P, Q, Y, Z, 1, 2, 3, 4.
The "Y" edit code is only valid for a type whose length ranges from 3 to 7 (included).
Click here for more details on edit codes.
Buttons
Enter/Modify (validation)
The Enter button (in display mode) closes the dialog box.
The Modify button (in modification mode) validates the dialog box. However, data is only updated in the database when the Create/Modify a data type dialog box is validated.
Cancel
This button closes the dialog box without validating the modifications made.
Keyboard shortcut: Esc.