Previous Topic: Step 2:  Name the mapNext Topic: Step 4:  Create the map with the autopaint facility


Step 3: Name the records

The Associated Records screen is used to enter the schema or work records to be used by the map, and optionally specifies role names for records.

The auto paint feature is invoked from this screen. The auto paint feature automatically paints the map based on the elements you select.

You access the Associated Records screen from the Main Menu by entering the number 3 next to the Screen prompt and pressing [Enter].

    Add  Modify  Compile  Delete  Display  Switch   _____________________________________________________________________________.                          CA IDMS/DC Online Map Compiler                      CA, Inc.     Map name . . . . . . . .    XXXMAP__     Map version  . . . . . .    1     Dictionary name  . . . .    DEMO____     Dictionary node  . . . .    ________     Screen . . . . . . . . . 3    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

Sample Associated Records Screen

                           Associated Records                  Page  1 of  1  Map name:  XXXMAP    Version:    1               Record name           Version            Role name            Drop                                                                              (/)   1 ________________________________        ________________________________  _   2 ________________________________        ________________________________  _   3 ________________________________        ________________________________  _   4 ________________________________        ________________________________  _   5 ________________________________        ________________________________  _   6 ________________________________        ________________________________  _   7 ________________________________        ________________________________  _  F1=Help  F3=Exit  F4=Prev  F5=Next  F6=Preview  F7=Bkwd  F8=Fwd  F9=Autopaint

Screen Prompts

On the Associated Records screen, you name the records that will be used on the map:

Records Associated with XXXMAP

The following table lists the records you will associate with map XXXMAP.

Record

Purpose

 

DEPARTMENT

 

Version: 1 *

A database record in the demonstration database. DEPARTMENT includes elements for department ID number, department name, and the employee ID of the department head.

 

ADSO-APPLICATION-GLOBAL-

RECORD

 

Version: 1

A special CA ADS record that contains information about the application at runtime. For example, this record includes a record element that at runtime contains the name of the currently executing function.

 

* A different version of the DEPARTMENT record may be provided

for use at your site.

 

Associating Records with XXXMAP

                           Associated Records                  Page  1 of  1  Map name:  XXXMAP    Version:    1               Record name           Version            Role name            Drop                                                                              (/)   1 department______________________ 1      _______ .ct _________________________  _   2 adso-application-global-record__   1    _______ .ct _________________________  _   3 ________________________________        ________________________________  _   4 ________________________________        ________________________________  _   5 ________________________________        ________________________________  _   6 ________________________________        ________________________________  _   7 ________________________________        ________________________________  _  DC366601 Map options processed successfully  F1=Help  F3=Exit  F4=Prev  F5=Next  F6=Preview  F7=Bkwd  F8=Fwd  F9=Autopaint

After you have entered the names of the records on the Associated Records screen, press [PF9] to use the auto paint facility to create the map.