Version 4.2.6 for Mainframes (Update)
 —  Editors  —

Naming Fields and Saving/Cataloging a Map

In this session, you will give names to the user-defined fields in a map and save and catalog a map.

Start of instruction setTo name fields and save/catalog a map

  1. On the map editing screen of MAP001, press PF3.

    The Field and Variable Definitions - Summary screen appears:

    16:10:49           Field and Variable Definitions - Summary          2007-12-14
                                                                                   
    Cmd Name (truncated)                             Mod Format       Ar Ru Lin Col
    ___ *DATX_______________________________________ S   D                    2   2
    ___ *TIMX_______________________________________ S   T                    3   2
    ___ #001________________________________________     A40              2   5  20
    ___ #002________________________________________     A20                  6  20
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help  Mset  Exit              --                Parm  Local       Let

    The fields contained in the map are listed in the order in which they appear on the map. The two user-defined fields are assigned dummy names, which are preceded by a number sign (#). These dummy names must be replaced to catalog the map.

  2. Replace the dummy names as shown below:

    16:10:49           Field and Variable Definitions - Summary          2007-12-14
                                                                                   
    Cmd Name (truncated)                             Mod Format       Ar Ru Lin Col
    ___ *DATX_______________________________________ S   D                    2   2
    ___ *TIMX_______________________________________ S   T                    3   2
    ___ #NAME_______________________________________     A40              2   5  20
    ___ #CITY_______________________________________     A20                  6  20
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help  Mset  Exit              --                Parm  Local       Let
  3. Press ENTER twice.

    The Edit Map menu appears with the Name field set to MAP001.

  4. In the Code field, enter a W (for Stow Map) and press ENTER.

    The Stow Map function executes the STOW command, which checks the syntax of MAP001 and stores the map definition as a source object and a cataloged object in the current Natural library in the current system file.

You can now proceed with Defining Field Properties.

Top of page