Previous Topic: Creating the Text of the Help MessageNext Topic: Testing the Results


Associating the Help Text with a Field

Steps

After you create the help text, you must associate it with the appropriate field using either the online map compiler, MAPC, or the batch compiler, RHDCMAP1. An example using MAPC follows:

  1. Access MAPC
  2. On the main menu, enter the name of the map with which you want to associate the help and select the Layout option.

    Add Modify Compile Delete Display Switch ____________________________________________________________________________ CA IDMS Online Map Compiler CA, Inc. Map name . . . . . . . . CHRMEMP1 Map version . . . . . . 1 Dictionary name . . . . SYSDICT Dictionary node . . . . ________ Screen . . . . . . . . . 4 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

  3. On the Layout screen, identify which field you want to associate the help with by overtyping the field mark with a selection character, in this case %, as shown, or by placing the cursor on the selected field and pressing <PF2>:

    Note: If the field is an OCCURS field, you need only define help once; that message will automatically display when the PF key is placed on any occurrence of the field.

    ;MAP-EMP-ID %____* ;MAP-EMP-FIRST-NAME ;__________* ;MAP-EMP-LAST-NAME ;_______________* ;MAP-EMP-STREET ;____________________* ;MAP-EMP-CITY ;_______________* ;MAP-EMP-STATE ;__* ;MAP-EMP-ZIP-FIRST-FIVE ;_____* ;MAP-EMP-PHONE ;__________* ;MAP-STATUS ;__* ...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.. Enter F1=Help F2=Select F3=Exit F4=Prev F5=Next F6=Preview F8=Bottom F9=SetCursor F10=Deselect F11=AltKeys

  4. From the layout screen, press <PF5> to move to the Field Definition screen, then overtype the page number with 4 to move to the Field-Level Help Text Definition screen.

    On the Field-level Help Text Definition screen shown:

  5. Compile the map using the Compile option on the main menu:

    Add Modify Compile Delete Display Switch ____________________________________________________________________________ | 1. Compile | | 2. View Messages |line Map Compiler |______________________| | F3=Exit | |______________________| Map name . . . . . . . . CHRMEMP1 Map version . . . . . . 1 Dictionary name . . . . SYSDICT Dictionary node . . . . ________ Screen . . . . . . . . . 5 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