Configuring mask subfield properties
-
Select the mask folder in which to place the subfield and click
New
Subfield.
Each new mask contains one subfield as the default.
-
For Data Type, click
the arrow to select from a menu of data types. Define all subfields as
String unless
date conversion is required during translation.
When a date data type is selected, the field length is automatically filled with a default value for that data type. Date subfields are automatically converted from one format to another during translation.For Julian, the format depends on the width of the field:
- A width of 5 represents YYJJJ.
- A width of 7 represents CCYYJJJ.
Most of the date formats depend on the width. Adding 2 characters to the width adds the century, in formats that do not specify the century. For example, YYMMDD is 6 characters by default. If this is changed to 8 characters, then the format becomes CCYYMMDD.Zoned Decimal preserves the decimal.For Numeric, all characters must be numeric. - For Fill Char, click the arrow to select the fill, or pad, character to use when creating or parsing the data in this field. The field justification determines which end of the data is padded with the fill character.
- For Prefix, specify the characters that precede this subfield. This separates it from the previous subfield in the record layout. This attribute is used only for variable-width subfields.
- For Width, specify the maximum width of the subfield, not including any prefix.
- For Justification, select Left Justify or Right Justify for the field. The parser strips all padding characters on the non-justified side. For example, a field is right-justified and "0" is the padding character. The field before parsing is "00123" and the field after parsing is "123."
-
For Validation,
select how to validate the subfield data whenever this record layout is used as
an input or output record.
- No Selections. No validation.
- Existence. Validates the existence of the data, but not its content.
- Contents. Validates the type of data, but not its existence.
- Existence+Contents. Validates both the existence and the content of the data.