You can use the consoleLib.getKeyCode() system function to find the code point (numeric representation) corresponding to a specified EGL key name, based on the local character set where the function runs. In ASCII environments, the function returns the ASCII code for the name; in EBCDIC environments, it returns the EBCDIC code. For a complete list of key names, see Names for keyboard keys in EGL.
For an example using consoleLib.getKeyCode(), see getKey().
consoleLib.getKeyCode(keyName STRING in)
returns (result INT)