Don't know if this will help as not running Windows 11. I would try opening th e KEYS window, should be the F9 key with the default Display Manager settings, and assign the Clear command to one of the keys. The Keys window doesn't, or at least mine never did, accept pasted text. So you have to type the complete set of commands. The semicolon separates commands.
The full command should look like:
log; clear;
or
output;clear;
or for ODS results
ods results; select all;clear;
This normally behaves as if the command is typed into a command line so assign the window first so the key is clearing what you expect. If nothing else one key is quicker than typing "clear".
I used to have a key set to:
ods results;select all;clear;log;clear;wpgm;
to clear both windows and return to the enhanced editor.
Another Keys command line I found useful is:
vt _last_ openmode=edit;colnames;
Which opens the last created data set in the View Table window. The edit option for openmode makes it possible to things such as change variable properties, values or column order or hide columns. The colnames shows the names of the variables as the colheading.