Previous Topic: Step 8:  Edit literal fieldsNext Topic: Exit from MAPC


Step 9: Compile the map

When you compile a map, MAPC creates a load module that incorporates all of your specifications. You compile an map by selecting the Compile activity from the action bar on the Main Menu screen.

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.

After you press [Enter] to compile the map, MAPC displays messages to indicate whether the map has been compiled successfully. You will receive a confirming message if the map has compiled successfully.

An error message is displayed when the application cannot be compiled because of an error. In this case, you can display diagnostic information by selecting the View messages option on the Compile activity on the action bar. Based on this information, you can correct the map and then try to compile the application again.