In this session, you will give names to the user-defined fields in a map and save and catalog a map.
To name fields and save/catalog a map
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.
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 |
Press ENTER twice.
The Edit Map menu appears with the
Name field set to MAP001
.
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.