HLPID (Help Identifier) keyword for display files

You use this constant field-level keyword to specify an identifier for the constant in the field-level help. The identifier you specify can be used on the HLPARA keyword to link help text to this constant field.

The format of the keyword is:
HLPID(help-identifier)

The help-identifier parameter is required and can be only a numeric value from 1 to 999. The value you specify must be unique within the record you are defining.

Option indicators are not valid for this keyword.

Example

The following example shows how to specify the HLPID keyword:

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
     A          R RECORD                    HELP
     A          H                           HLPARA(*CNST 1)
     A                                      HLPRCD(HLPCNST1 LIB1/FILE1)
     A          H                           HLPARA(*CNST 2)
     A                                      HLPRCD(HLPCNST2 LIB1/FILE1)
     A                                  2  4'Constant field 1' HLPID(1)
     A                                  4  4'Constant field 2' HLPID(2)
     A

In this example, if the cursor is located on the text 'Constant field 1' on the display and the Help key is pressed, record HLPCNST1 in file FILE1, library LIB1, is displayed as help text. If the cursor is located on the text 'Constant field 2' on the display and the Help key is pressed, record HLPCNST2 in file FILE1, library LIB1 is displayed as help text.