When I press the enter key in a screen program data is returned to the program. But when I press a command key,...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
data does not seem to be returned to the program. How can I make data return to the program using a command key, while retaining use of the enter key to also return data to the program? If you have defined your command keys as CA (command attention) in the DDS, the key will return control to your program without reading the screen. Redefine these command keys as CF (command function) and they will read the screen prior to returning to your program. They can be defined at the file or the record format level, but not both. When you change a single CA, such as CA05, if it is defined anywhere else in the DDS, you must also change that definition to CF.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.