7 1 3 Field and File defaults

Visual LANSA Admins

7.1.3 Field and File defaults

Field defaults

Field input attributes are ONLY used in an IBM i RDML environment. All RDMLX and Visual LANSA RDML field attribute settings are set at the Partition Level. Refer to Field Type enabled in Partition for more information.

New Field Attributes Concepts

These field input attributes are ONLY used in an IBM i RDML environment.

Input attributes are optional and define how a field is displayed when it is used as an input field in a function or on a form. Most input attributes, such as color, are used in functions because Visual LANSA forms define how fields are displayed using visual styles. Input attributes such as Hidden Field (for passwords) or Lowercase (allow lower case text to be entered) are used in both.

If no input attribute is selected, it defaults to either the alphanumeric (type A) or numeric (type P or S) system default values.

These are the valid input field attributes by field type:

Attribute

Description / comments

Alpha

Packed

Signed

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.

N

Y

Y

M11

Modulus 11 check required.

N

Y

Y

VN

Valid name check required.

Y

N

N

FE

Field exit key required.

Y

Y

Y

LANSA Client

Lowercase entry allowed. Refer also to Locale upper casing required.

Y

N

N

RB

Right adjust and blank fill.

Y

Y

Y

RZ

Right adjust and zero fill.

Y

Y

Y

RL

Move cursor right to left.

Y

Y

Y

RLTB

Tab cursor right/left top/bottom

Y

Y

Y

 

 

Input attributes (alpha)

Specify the default input attributes to be assigned to a new alpha field.

Input attributes (numeric)

Specify the default input attributes to be assigned to a new numeric field.

Output attributes (alpha)

Specify the default output attributes to be assigned to a new alpha field.

Output attributes (numeric)

Specify the default output attributes to be assigned to a new numeric field.

File defaults

These default are used when LANSA files are initially created.

File SIZE parameter

This default is used when initially creating LANSA files. The initial number of records, the increment number of records and the maximum increments may be specified. The parameter must be a valid OS/400 size parameter.

File LVLCHK parameter

This default level check, LVLCHK, parameter is used when initially creating LANSA files.

File commitment control

This default commitment control value is used when initially creating LANSA files. It specifies whether or not the file is to be placed under commitment control. Refer to Commitment Control for information.

Always Build using SQL (IBM i)

Set this option to Y to indicate that physical files and logical files on IBM i are to be built using SQL as much as possible when in an RDMLX partition. The physical file will be built as an SQL table. Logical files will still be built using DDS, but in such a way that their access path will implicitly share the access path of an SQL index where the i5/OS allows it. Refer to the Always build using SQL option in Field and File Defaults in the LANSA for iSeries User Guide.

Ý 7.1 System Definitions