Previous Topic: SummaryNext Topic: Instructions


Defining a Screen Display Using MAPC

In the previous chapter, you used ADSA to define the structure of the sample Department application. As another step in creating an application, you define screen displays by using the map compiler (MAPC). This chapter provides instructions for defining the XXXMAP screen display for use in the sample Department application.

Note: When creating your map, you can substitute your initials for the XXX in the map name.

This chapter includes:

What is a Map :P A .* * map is a predefined screen display used by dialogs in an application. At runtime, dialogs use maps to interact with users. For example, the sample map XXXMAP that you create in this chapter is used to display existing department records to users for modification or deletion. XXXMAP also allows users to add new department records. The XXXMAP layout is shown in the diagram below. This sample map allows users to input and display a department's ID number and name, and the ID number of the department head.

XXXMAP Layout

   FUNCTION: ________                               DEPARTMENT INFORMATION    DEPARTMENT ID .......: ____               NAME .....: ____________________________________________________               HEAD ID ..: ____    NEXT RESPONSE:  ________   ______________________________________________________________________________

Defining a Map

You define the layout of a map by defining individual fields on the map. You can define two types of fields:

You will use the online mapping facility (MAPC) to define map XXXMAP shown in the map layout.

A typical MAPC screen is shown below:

 ┌─     Add  Modify  Compile  Delete  Display  Switch  │   .______________________________________________________________________.  └─                         CA IDMS/DC Online Map Compiler                    CA, Inc.  ┌─  │      Map name   . . . . . . .    ________  │      Map version  . . . . . .    ____  │      Dictionary name  . . . .    ________  │      Dictionary node  . . . .    ________  └─  ┌─     Screen . . . . . . . . . _    1. General options  │                                    2. Map-Level help text definition  │                                    3. Associated records  │                                    4. Layout  │                                    5. Field definition  └─               Copyright (C) 1999 CA, Inc.     Command ===>     Enter  F1=Help  F3=Exit  F10=Action

This section contains the following topics:

Instructions

Summary