Use this file- or record-level keyword to specify that the OS/400 program is to set on the specified response indicator when any valid command key other than the Enter key is pressed by the work station user. One use of this function is to perform a simple test to determine if the work station user has requested a function you want to watch for in your program.
Refer to Appendix F, System/36 Environment Considerations Using DDS, for information on how to specify the VLDCMDKEY keyword in files that are used in the System/36 environment.
The format of the keyword is:
VLDCMDKEY(response-indicator ['text'])
The response-indicator parameter is required.
The optional text is included on the computer printout created at program compilation to explain the intended use of the indicator. This text's only function in the file or the program is a comment. The apostrophes are required. If you specify more than 50 characters between the apostrophes, the text is truncated to 50 characters on the program computer printout.
For a command key to be considered valid, you must have activated the key by specifying it with one of the following keywords:
Option indicators are not valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.