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).
This mailing list archive is Copyright 1997-2015 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact