Skip to main content

I'm not sure whether this should be posted here as it's hardware related. Anyway, I've been experimenting with the use of function keys in native COBOL using examples in MF documentation. However the keys are not recognised by the program. When I input one of the defined keys I get the message: "That keystroke has no meaning here".

I'm using a Dell XPS 15 which has dual-function F keys, and choosing whether to use F Keys as function keys (F1 ... F12) or for their alternative use is decided by holding down a special key on the keyboard. Now this has not worked - I've been into the BIOS and tried the alternatives to try and get it working but to no avail. As I say, it's probably a hardware problem but I wondered if MF had come across this problem and, if so, whether a solution was found.

For info the example I have used is shown in https://supportline.microfocus.com/documentation/books/nx30books/ciadis.htm and section 2.6.5.1.

Thanks for any feedback.

I'm not sure whether this should be posted here as it's hardware related. Anyway, I've been experimenting with the use of function keys in native COBOL using examples in MF documentation. However the keys are not recognised by the program. When I input one of the defined keys I get the message: "That keystroke has no meaning here".

I'm using a Dell XPS 15 which has dual-function F keys, and choosing whether to use F Keys as function keys (F1 ... F12) or for their alternative use is decided by holding down a special key on the keyboard. Now this has not worked - I've been into the BIOS and tried the alternatives to try and get it working but to no avail. As I say, it's probably a hardware problem but I wondered if MF had come across this problem and, if so, whether a solution was found.

For info the example I have used is shown in https://supportline.microfocus.com/documentation/books/nx30books/ciadis.htm and section 2.6.5.1.

Thanks for any feedback.

For info, I'm using Windows 10 Pro, Visual COBOL PE 2019 and the program is a Native console program. The document I cited implies use of Net Express but this is what was returned from a Google search for ADIS keys.

For info, I'm using Windows 10 Pro, Visual COBOL PE 2019 and the program is a Native console program. The document I cited implies use of Net Express but this is what was returned from a Google search for ADIS keys.

Be default all function keys are turned off for use with ADIS. (Enhanced ACCEPT/DISPLAY) so you have to turn them on before you can use them. There is a section in the docs link that you referenced that shows you how to do that from within your program. There is also a demo called ADIS Demo in the Samples browser that demonstrates that functionality. Click on Classic in the left hand pane and then ADIS Demo in the right hand pane.

You can also use the tool called adiscf to modify a config file called ADISCTRL where you can turn on various function key handling.

Please see the earlier post here:

And also the product documentation here:


Be default all function keys are turned off for use with ADIS. (Enhanced ACCEPT/DISPLAY) so you have to turn them on before you can use them. There is a section in the docs link that you referenced that shows you how to do that from within your program. There is also a demo called ADIS Demo in the Samples browser that demonstrates that functionality. Click on Classic in the left hand pane and then ADIS Demo in the right hand pane.

You can also use the tool called adiscf to modify a config file called ADISCTRL where you can turn on various function key handling.

Please see the earlier post here:

And also the product documentation here:

Chris
Thanks. I'm still not sure what I was doing wrong as I included all the required parameters, possibly an incorrect function code. Anyway I can review my code using the ADISDemo program.
Thanks again.