Create a new format in *Standard header/footer file which does not show the normal cmd key line, but inserts a user field of length 78, or 2 field if you need both lines.
At the start of your program, in the intialise user point
*concat the appropriate F3= exit, F27=Burfls or whatever content of the field to LCL context
(you can construct each variant you might need to different ‘holding’ fields
in the *init subfile control, load whichever line is the correct one according to the user profile – howver you decide this.
– you can extend this idea to handle F23 roll a single keys line if needed
– and for the options line ..