The defaults for RHS text are based on field attribute type and a number of CUA design considerations such as role, entry type, field validation, and usage. The defaults are automatic for new fields.
If the role of the field is to position information such as that of some fields on Display File (DSPFIL), Edit File (EDTFIL), and SELRCD functions, a special value of Starting Characters is used for the RHS text. If the field is a foreign key field, then F4 for list is appended when YCUAPMT is set to *YES.
If a check condition is defined for the field, the RHS text is built from the allowed values according to the condition type, the value length, and the number of values allowed.
For example, for a Status (STS) field with a List (LST) check condition with the two Value (VAL) conditions Male and Female, the RHS text default is M = Male, F = Female.
The panel RHS flag defaults for a field according to the field‘s usage, as described in the following table:
|
Type |
RHS Text Style |
Substitution Values |
|---|---|---|
|
CMP |
&1 &2 Example: *GT 5 |
&1 = *Relational operator &2 = Value |
|
RNG |
&1 - &2 Example: 1001-4005 |
&1 = From value &2 = To value |
|
LST (1) |
&1 = &2, &3 = &4 Example: M = Male F = Female |
&1 = Value1 &2 = Condition1 &3 = Value2 &4 = Condition2 |
|
LST (2) |
Value, F4 for list |
- |
|
LST (3) |
&1, &2, &3, &4... Example: *ADD, *CHG, *DLT |
&1 = Value 1, &2 = Value 2, &3 = Value 3, &4 = Value 4, |
RHS text aligns two spaces after the longest field. CA 2E aligns RHS text when you create a new panel and when you request field realignment at Edit Device Design. A field on the Edit Device Design panel allows you to override the number of default spaces between a field and the right-hand side text.
The CA 2E field defaults for RHS text are based on field attribute types, as described below. The defaulting is automatic for new fields.
|
CA 2E Field Attribute |
Right-Hand side text Default |
|
|---|---|---|
|
CDE |
Alphanumeric code value |
Code |
|
DT# |
ISO Date |
Date |
|
DTE |
Date in system date format |
Date |
|
NBR |
Pure numeric value |
Number |
|
PCT |
Percentage or market index |
Percent |
|
NAR |
Narrative text |
Text |
|
QTY |
Quantity |
Quantity |
|
STS |
Status |
Value |
|
TM# |
ISO Time |
Time |
|
TME |
Time in HHMMSS format |
HH:MM:SS |
|
TS# |
ISO Timestamp |
Timestamp |
|
TXT |
Object text |
Text |
|
VAL |
Monetary value |
Monetary value |
|
VNM |
Valid System name |
Name |
|
PRC |
Price or tariff |
Price |
|
IGC |
Ideographic text |
IGC Text |
|
|
|
|
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |