PSMCTLKY

Specifies the key to be recognized as the control key for window functions.

Type

Presentation Space Manager function

Format

PSMCTLKY(['string'])
string
A string expression that specifies the new control key for window functions. The allowable mnemonics are:
F1-F24
Program function keys 1 through 24
PA1-3
Program Attention keys 1 through 3
ATTN
ATTN key (SNA terminals only)

Usage Notes®

  1. PSMCTLKY always returns a string value, which is a variable length string (maximum of 4 characters) containing the mnemonic for the control key that is in effect following completion of the function call.
  2. The control key is associated with the session between the physical terminal and CL/SuperSession. It can be modified on a per-user basis.
  3. If PSMCTLKY is issued without a parameter or with the null string as a parameter, the function simply returns a string containing the mnemonic for the control key that is currently in effect.
  4. If string is specified, the function first verifies that it is a mnemonic for one of the allowable control keys. If the specified key name is invalid, the current control key setting is not changed and the function simply returns a string containing the mnemonic for the control key that is currently in effect.

Example

PSMCTLKY changes the control key to program function key 24. This only affects the user on whose behalf this function is executed.
psmctlky('F24')