Loading ...
Loading ...
Loading ...
T24 Application Development
Field Length
The 'N' array is a dimensioned array that defines the maximum and minimum length of each field.
The corresponding variable for the record id is ID.N. The element is assigned with three sub-fields
separated by a “.”:
Sub-field 1
This parameter defines the maximum length that will be allowed on input for the field or for each multi-
value or sub-value if applicable, e.g.
N(Z)=“35” This field can have a maximum of 35 characters
If the number is prefixed by 0 (e.g. 035) then leading zeroes will not be removed. If it is prefixed by a
leading space then spaces will not be trimmed; if it is not prefixed by a leading space, all leading,
trailing and multiple spaces removed.
Sub-field 2
This parameter defines the minimum length that will be allowed on input for the field or for each multi-
value or sub-value if applicable. Null, space or zero defines that the field is optional. If the field is
mandatory, this should be set to a value of 1 (as some languages assign significant meaning to one
character, and putting an arbitrary length is pointless)
Sub-field 3
Although this field is no longer used, the definition is included here for completeness. Older versions of
the template defined a CHECK.FIELDS extension to do field level validation. However, with the move
to a stateless architecture, this feature is irrelevant. Where this parameter is set to 'C' special editing
as coded in the CHECK.FIELDS routine will be performed.
Examples:
'10' Up to 10 characters allowed, no special editing will be done. Optional.
'10.1' Between 1 and 10 characters allowed, no special editing will be done.
'006.6.C' Input must be 6 characters. Leading zeros will not be removed and the field will be
subject to processing by the CHECK.FIELDS routine.
‘35..C' Up to 35 characters of input will be accepted, leading spaces, trailing spaces and
duplicated embedded spaces will be removed. For example, the keyed input 'LLOYDS
BANK PLC' will be edited to 'LLOYDS BANK PLC.' Null will be accepted and the
input will be subject to FIELD.CHECKS.
TEMENOS T24 User Guide Page 10 of 34
Loading ...
Loading ...
Loading ...