HLPDOC (Help Document) Keyword for Display Files--Example

Figure 177 shows how to specify the HLPDOC keyword.

Figure 177. Specifying the HLPDOC Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A                                      HELP
A                                      HLPDOC(START GENERAL.HLP HELP.F1)
A          R REC1                      OVERLAY
A          H                           HLPDOC(LBL1 HELP#1 HELP.F1)
A                                      HLPARA(10 3 12 50)
A          H                           HLPARA(15 9 17 61)
A  90                                  HLPDOC(LBL2 HELP#2 HELP/FLD)
A          H                           HLPARA(15 9 17 61)
A N90                                  HLPDOC(LBL3 HELP#3 HELP.F1/FLD)
A

The HELP keyword enables the Help key.

The HLPDOC keyword at the file level specifies that the GENERAL.HLP document in the HELP.F1 folder will be displayed starting at the START help label if the Help key is pressed and the cursor is not in a help area defined by a HLPARA keyword at the H specification level.

At the H specification level: