The available F-keys can be compiled into the DSPF as file-level keywords, yet coded with option indicators, thus enabling the program to determine\control each CFnn that will be available with each format; i.e. they can be compiled in the DDS *and* the RPG can set which are active. And those same indicators could control what would be the corresponding text and help for those keys in any record format. Although given the probable difficulty in arranging text for all desired function keys into distinct locations, the program might instead formulate the text for the function keys [e.g. from messages] along with setting its choice of available keys for the presented format(s).