EXITONKEY

The EXITONKEY screens are valid on screens with OPTIONSKEY or KEYSTROKE instructions. When you press a key that triggers an OPTIONSKEY or KEYSTROKE instruction to execute, the EXITONKEY instruction causes the current screen to exit after the OPTIONSKEY or KEYSTROKE instruction completes.