We help IT Professionals succeed at work.

iSeries menu - disable function keys

Lynn Harris
Lynn Harris asked
on
iSeries menu question - Can I disable the functions keys? I don't want F3/F12 to exit the menu. I want an option selection to be the only way.

Thanks in advance!
Lynn
Comment
Watch Question

VP Technology / Senior Consultant
Commented:
What kind of menus?  

OS menus? No, no practical way.

STRSDA/CRTMNU menus? No way I know of to actually disable F3/F12, but you can always call the menu from a CL with a loop in it that redisplays the menu if the user drops out with F3/F12:

TOP:
GO USERMENU1
GOTO TOP

UIM menus?  Yes.  Just don't specify KEYI: tags for F3 and F12 in the KEYL: section.

Full-blown programmer-created application menus (CL/RPG/COBOL program plus DSPF)? Yes.  Just don't enable CA03/CA12 / CF03/CF12 keyword in the DSPF DDS.

Third party menu systems?  You'll have to check with the menu vendor or system documentation.

Hope that helps.

- Gary

Author

Commented:
Hi Gary.

You’re awesome! Thank you.  
This answers my question and gives me the direction to address it.

Thank You,
Lynn