Field format (options 1 and 2)

All fields in option 1 and 2 output segments are defined as fixed length and fixed position.

The data in the fields can be truncated or omitted by two methods:

  • Inserting a short segment
  • Placing a NULL character (X'3F') in the field

Fields are scanned left to right for a null character. The first null encountered terminates the field. If the first character of a field is a null character, the field is omitted (depending on the fill character used). Positioning of all fields in the segment remains the same regardless of null characters. Fields truncated or omitted are padded as defined to the MFS Language utility.

If ATTR=YES is specified in the MFLD definition, and if X'3F' is the first or second byte of the attribute portion of the field, the field is omitted and the attributes specified on the DFLD statement are used.