HLPRCD (Help Record) Keyword for Display Files--Example

Figure 182 shows how to specify the HLPRCD keyword.

Figure 182. Specifying the HLPRCD Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A                                      HELP
A                                      HLPRCD(DFTHELP HELPFILE)
A          R RECORD1
A          H                           HLPARA(1 1 24 80)
A  99                                  HLPRCD(ERRHELP)
A          H                           HLPARA(1 1 1 80)
A                                      HLPRCD(HELPRCD1 HELPFILE)
A            FIELD1        10A     1 10
A

When indicator 99 is set on, the online help information in the record ERRHELP (which must exist in this display file) displays when the Help key is pressed. If indicator 99 is set off and the cursor is located on the first line when the Help key is pressed, the record HELPRCD1 in file HELPFILE will display. Otherwise, the online help information from the record specified on the file-level HLPRCD keyword will display when the Help key is pressed.