HLPCMDKEY (Help Command Key) Keyword for Display Files--Example

Figure 176 shows how to specify the HLPCMDKEY keyword. The first record is the application record format and the second record is the application help record format.

Figure 176. Specifying the HLPCMDKEY Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R APPRCD                    CA01
00020A                                      CA03
00030A                                      CF12(12)
00040A                                      CA04
00050A                                      HELP
00060A          H                           HLPRCD(HELPRCD)
00070A                                      HLPARA(1 1 24 80)
00080A                                  8  2'THIS IS THE APPLICATION'
00090A                                  9  2'RECORD FORMAT'
00100A            INPUT1        10   B 12 10
00110A            INPUT2        10   B 13 10
00120A            INPUT3        10   B 14 20
00130A*
00140A          R HELPRCD                   HLPCMDKEY
00150A                                      CA01(11)
00160A                                      CF03
00170A                                      CF05
00180A                                      CF12
00190A                                  5  8'SPECIFY COMPANY NAME'
00200A                                  6  9'SPECIFY STREET'
00210A                                  7 10'SPECIFY CITY, STATE, ZIP'
     A

If the user is on the application help screen, the following occurs: