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:
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
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
On the Field-level Help Text Definition screen shown:
Important: Only one help load module exists per map.
Important: If a value is not entered in the Help key field, the default is the SYSGEN OLM statement value, which defaults to <PF1>. The PF key value assigned for help supersedes that defined for any other purpose. For example, if <PF1> is defined to a dialog as invoking a response, and <PF1> is also defined as the help key, the help system will get control.
Field-Level Help Text Definition Page 4 of 7 Map name: CHRMEMP1 Version: 1 Help name: CHRMHLP1 Help key: PF01 Drop Help (/) _ Element name MAP-EMP-ID Subscript In record MAP-EMPLOYEE Version 1 Window format . . . . . 1 1. Half 2. Full Origin of help text . . 2 1. No text 2. Module FIELD-HELP-EXAMPLE Version 1 DC366303 Help text options processed successfully Enter F1=Help F3=Exit F4=Prev F5=Next F6=Preview F7=Bkwd F8=Fwd
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
Copyright © 2013 CA.
All rights reserved.
|
|