Page History
...
Specifies the length of the field being defined. If the value *REFFLD is specified then the length to be used is the same as the field specified on the REFFLD parameter. For specific information on allowable field, lengths see Field Types
Type | Notes for Length parameter |
|---|---|
*REFFLD | *REFFLD, or any value that is valid for the underlying field type of the reference field. |
*DEC or synonym *PACKED | LENGTH(*REFFLD) may only be specified if the parameter REFFLD is specified. If the REFFLD Parameter is specified, and it is an RDML field, changing the length to 31 or higher will make the working field an RDMLX field. |
*CHAR | LENGTH(*REFFLD) may only be specified if the parameter REFFLD is specified. |
*STRING | If LENGTH(*REFFLD) REFFLD(*NONE) is specified, the length will default to 256. |
*SIGNED | LENGTH(*REFFLD) may only be specified if the parameter REFFLD is specified. If the REFFLD Parameter is specified, and it is an RDML field, changing the length to 31 or higher will make the working field an RDMLX field. |
*BIN | LENGTH(*REFFLD) may only be specified if the parameter REFFLD is specified. |
*DATE | Dates are fixed size (always 10) incr/decr must be *NONE # to incr/decr must be *NONE |
*TIME | Times are fixed size (always 8) incr/decr must be *NONE # to incr/decr must be *NONE |
*DATETIME | 19, 21-29. The various lengths influence the number of fractional seconds. This must be made clear. A length of 19 means no fractional seconds, 21 - 29 means 1 - 9 fractional seconds. The DECIMALS parameter has no impact. If LENGTH(*REFFLD) REFFLD(*NONE) is specified, the length will default to the ISO standard of 26: YYYY-MM-DD HH:MM:SS.ffffff incr/decr must be *NONE # to incr/decr must be *NONE |
...
Edit codes supported by LANSA are shown in Standard Field Edit Codes.
| EDIT_WORD |
|---|
Specifies the edit word (if any) which is to be assigned to the field being defined. If no edit word is specified then the value *DEFAULT is assumed.
...
For information on allowable attributes for RDMLX fields see Field Types
Valid input attributes for types A (alphanumeric), P (packed), and S (signed) are:
Attribute | Description / Comments | A | P | S |
|---|---|---|---|---|
AB | Allow to be blank. | Y | Y | Y |
ME | Mandatory entry check required. | Y | Y | Y |
MF | Mandatory fill check required. | Y | Y | Y |
M10 | Modulus 10 check required. | Y | Y | |
M11 | Modulus 11 check required. | Y | Y | |
VN | Valid name check required. | Y | ||
FE | Field exit key required. | Y | Y | Y |
LC | Lowercase entry allowed. If you do NOT set this attribute, refer to PC Locale uppercasing requested in Review or Change a Partition's Multilingual Attributes in the LANSA for i User Guide. | Y | ||
RB | Right adjust and blank fill. | Y | Y | |
RZ | Right adjust and zero fill. | Y | Y | |
RL | Move cursor right to left. | Y | Y | Y |
RLTB | Tab cursor right/left top/bottom. Valid in SAA/CUA partitions only. Affects all screen panels | Y | Y | Y |
GRN | Display with color green. | Y | Y | Y |
WHT | Display with color white. | Y | Y | Y |
RED | Display with color red. | Y | Y | Y |
TRQ | Display with color turquoise. | Y | Y | Y |
YLW | Display with color yellow. | Y | Y | Y |
PNK | Display with color pink. | Y | Y | Y |
BLU | Display with color blue. | Y | Y | Y |
BL | Display blinking. | Y | Y | Y |
CS | Display with column separators. | Y | Y | Y |
HI | Display in high intensity. | Y | Y | Y |
ND | Non-display (hidden field). | Y | Y | Y |
RA | Auto record advance field | Y | Y | Y |
SREV | Store in reversed format. This special attribute is provided for bi-directional languages & is not applicable in this context. | Y | N | N |
SBIN | Store in binary format. This special attribute is provided for repository fields & is not applicable in this context. | Y | N | N |
HIND | HINDI Numerics. Display using HINDI numerals. Refer to Hindi Numerics in the LANSA for i User Guide. | N | Y | Y |
CBOX * | Check Box | Y | N | N |
RBnn * | Radio Button | Y | N | N |
PBnn * | Push Button | Y | N | N |
DDXX * | Drop Down. | Y | N | N |
Attributes marked with * represent the field with the corresponding GUI WIMP construct. Refer to GUI WIMP Constructs in the LANSA for i User Guide for more information.
...
For information on allowable attributes for RDMLX fields see Field Types
Valid output attributes for types Alpha (A), Packed (P), and Signed (S) are:
Attribute | Description / Comments | A | P | S |
|---|---|---|---|---|
GRN | Display with color green. | Y | Y | Y |
WHT | Display with color white. | Y | Y | Y |
RED | Display with color red. | Y | Y | Y |
TRQ | Display with color turquoise. | Y | Y | Y |
YLW | Display with color yellow. | Y | Y | Y |
PNK | Display with color pink. | Y | Y | Y |
BLU | Display with color blue. | Y | Y | Y |
BL | Display blinking. | Y | Y | Y |
CS | Display with column separators. | Y | Y | Y |
HI | Display in high intensity. | Y | Y | Y |
ND | Non-display (hidden field). | Y | Y | Y |
SREV | Store in reversed format. This special attribute is provided for bi-directional languages and is not applicable in this context. | Y | N | N |
SBIN | Store in binary format. This special attribute is provided for repository fields & is not applicable in this context. | Y | N | N |
Urxx | User Defined Reporting Attribute. Provides access to IBM i DDS statements for printer files. Refer to User Defined Reporting Attributes in the LANSA for i User Guide. | Y | Y | Y |
HIND | HINDI Numerics. Display using HINDI numerals. Refer to Hindi Numerics in the LANSA for i User Guide. | N | Y | Y |
CBOX * | Check Box | Y | N | N |
RBnn * | Radio Button | Y | N | N |
PBnn * | Push Button | Y | N | N |
DDxx * | Drop Down. | Y | N | N |
Attributes marked with an * represent the field with the corresponding GUI WIMP construct. Refer to GUI WIMP Constructsin the LANSA for i User Guide for more information
...
For information on what DEFAULT(*DEFAULT) means for RDMLX fields see Field Types
If no default value is specified then *DEFAULT is assumed. This means that if the REFFLD parameter has been specified the default value of the REFFLD field will be used. If the REFFLD parameter has not been used then a default value of *BLANKS will be used for alphanumeric fields and a default value of *ZERO for numeric fields will be used.
...
For information on what values of SHIFT, apart from *DEFAULT, are valid for each working field type see Field Types.
For working fields of type Boolean, SHIFT must be *DEFAULT.
...