Previous Topic: Specify Record Offset Value Using MAP CommandNext Topic: MF


Set Layout Start Using MAP Command

Using the MAP command, you can indicate the field in a layout that the editor considers the start of the data record's description.

Follow these steps:

  1. Type MAP at the command line from an edit or browse session where you have specified a custom layout or a copybook with multiple layouts.

    The results of the MAP command vary based on the type of layout used in the current session.

    Copybook containing multiple layouts

    The MAP command displays the Layout Selection screen.

    Custom layout member

    The MAP command displays the Custom Record Layout Member Update screen.

  2. Type S on any layout member.
  3. Press Enter.

    The Layout Entry Field Update screen opens.

  4. Type LS in any field.
  5. Press Enter.

    The selected field is identified as the layout start, and the editor recognizes this field as the start of the data record's description.

The following rules and restrictions apply when using the layout start command (LS):