CHGCNLKEY CHANGE CANCEL KEY TAAJOFO |
The Change Cancel Key command works in conjunction with the RTVCNLKEY
tool command. CHGCNLKEY allows the setting of the Cancel and Exit
key information which may be of value when mixing system and user
functions. The QWCCCJOB API is used.
A typical command would be:
CHGCNLKEY CANCELKEY(*OFF) EXITKEY(*OFF)
At the conclusion of the command, the use of the RTVCNLKEY command
would return both values as *NO.
The Cancel and Exit keys are set by many system functions such as
entering an interactive command, using a system display command, etc.
Using commands within a CL program that do not cause a display does
not change the settings.
CHGCNLKEY escape messages you can monitor for
---------------------------------------------
None. Escape messages from based on functions will be re-sent.
CHGCNLKEY Command parameters *CMD
----------------------------
CANCELKEY The setting for the Cancel key. *OFF is the default
to set the value off. *ON may be specified to set
the value on.
EXITKEY The setting for the Exit key. *OFF is the default
to set the value off. *ON may be specified to set
the value on.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
SNDCOMPMSG Send completion message
SNDESCINF Send escape information
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
CHGCNLKEY *CMD TAAJOFO QATTCMD
TAAJOFOC *PGM CLP TAAJOFOC QATTCL
|
Added to TAA Productivity tools April 15, 2011