Previous Topic: Step 4:  Optionally Display the Map LayoutNext Topic: Updating Modified Maps In Dialogs Using ADSC


Step 5: Recompile the Map

By using MAPC screens, you modified map XXXMAP by adding new map fields and changing existing fields. You now need to create an updated load module for the map. You compile the XXXMAP map as shown:

Compiling the Map

    Add  Modify  Compile  Delete  Display  Switch  ._____________________________________________________________________________.               │                       │               │  1  1. Compile        │  Map Compiler               │     2. View messages  │               │-----------------------│   International, Inc.               │ F3=Exit               │               │_______________________│     Map name  . . . . . . . .   XXXMAP     Map version . . . . . . .      1     Dictionary name . . . . .   DEMO     Dictionary node . . . . .   ________     Screen . . . . . . . . . _    1. General options                                   2. Map-Level help text definition                                   3. Associated records                                   4. Layout                                   5. Field definition  Command ===>  Enter  F1=Help  F3=Exit  F10=Action

To compile the application, position the cursor on the Compile item on the action bar and press [Enter]. You can position the cursor on Compile by:

Once you have displayed the Compile action item, press [Enter] to compile the map.

When you press [Enter] to recompile the map, MAPC displays messages to indicate whether the map load module recompiled successfully.

Exit from MAPC

After you successfully compile your map, you can exit from MAPC by using the Switch activity on the Main Menu screen. In this example, you use Switch to transfer directly to ADSC to associate modified map XXXMAP with dialogs that use the map:

Selecting the Switch Activity

    Add  Modify  Compile  Delete  Display  Switch  ._____________________________________________________________________________.                                         │                       │                      CA IDMS/DC Online  │ Task code   adsct___  │                                         │-----------------------│                 CA Int │ F3=Exit               │                                         │_______________________│     Map name  . . . . . . . .   XXXMAP     Map version . . . . . . .      1     Dictionary name . . . . .   DEMO     Dictionary node . . . . .   ________     Screen . . . . . . . . . _    1. General options                                   2. Map-Level help text definition                                   3. Associated records                                   4. Layout                                   5. Field definition  Command ===>  Enter  F1=Help  F3=Exit  F10=Action

In this example, ADSCT is the sample task code for ADSC.

Note: You cannot use the switch action unless you entered MAPC using the transfer control facility task code (MAPCT).