X"AF" function 1

Sets various configurable features of Adis, including enabling or disabling individual user function, Adis or data keys, or a series of consecutive keys at run-time.

Syntax:

call x"AF" using function-code
                 parameter-block

Parameters:

function-code
Call prototype: cblt-x1-compx
Picture: pic x comp-x.
parameter-block
Group containing:
01 parameter-block
  03 key-setting    cblt-x1-compx   *> pic x comp-x. 
  03 sub-fn-code    cblt-x1-compx   *> pic x comp-x. 
  03 first-key-id   cblt-x1-compx   *> pic x comp-x. 
  03 number-of-keys cblt-x1-compx   *> pic x comp-x. 

On Entry:

function-code
Value 1.
sub-fn-code
One of:
1 Enable/disable user function keys and compatibility keys
2 Enable/disable Adis control keys and other configurables
3 Enable/disable data keys