Function keys not working in mainframe

Function keys not working in mainframe DEFAULT

Symptoms

When you press a function key on a Microsoft keyboard, the function key does not work as expected. Alternatively, certain keys do not work when you press them. These keys may include the following:

  • The NUM LOCK key

  • The INSERT key

  • The PRINT SCREEN key

  • The SCROLL LOCK key

  • The BREAK key

  • The F1 key through the F12 FUNCTION keys

Note This article only described and resoved the issue on a Microsoft keyboard which equipped with an F LOCK toggle key, issue with other types of keyborad may not applied to this article.

F Lock

Cause

This behavior may occur if the keyboard is equipped with an F LOCK toggle key, and the F LOCK key has been turned on.

Depending on the keyboard model, the following keys may be alternate function keys:

  • NUM LOCK

  • INSERT

  • PRINT SCREEN

  • SCROLL LOCK

  • BREAK

  • F1 through F12 FUNCTION

The F LOCK key toggles the alternate function keys. An alternate function key is a key that has two possible commands depending on the F LOCK toggle key state.

Workaround

To work around this behavior, press the F LOCK key. The F LOCK key switches between the standard function key commands and the Microsoft keyboard enhanced command.

More Information

Alternate command keys give the keyboard additional functionality by providing two command modes for the top row of standard F LOCK keys.

The F LOCK key and the alternate command keys are available on certain keyboard models only, and the types of alternate commands that are available vary depending on the keyboard model.

The F LOCK key switches between the standard commands that are labeled on the front of the keys, such as F1 or INSERT, and the alternate commands that may or may not be labeled on the keys. When the F LOCK light is on, the F LOCK key is on and these keys perform their standard commands. When the F LOCK light is off, the alternate commands are enabled. You can choose the mode that you prefer to work in, or you can switch the F LOCK key on and off to access the commands that you use most frequently.

The F1 through F12 FUNCTION keys have special alternate commands. These keys are called enhanced function keys. Enhanced function keys provide quick access to frequently used commands that can increase your productivity. These commands are typically printed above or on the keys.

The following table specifies the default enhanced-function key assignments that are available for Microsoft keyboards. However, you can reassign many of the keys by using the Microsoft IntelliType Pro keyboard software. Keyboards differ in what additional keys they provide. For example some keyboards provide keys for such things as Calculator, Volume control, Internet Home page, Internet Search page, Mail, and so on.

Enhanced function key

What it does

Close

F6: Closes the document or the file in the active window.

Forward

F8: Forwards the e-mail in the active window.

Function Lock (F LOCK)

Switches between the standard function key commands (F LOCK light on) and the Microsoft keyboard enhanced commands (F LOCK light off). Leave it on or off, or alternate between modes for increased key press functionality.

Help

F1: Opens the Help system for the active window.

New

F4: Creates a new document in programs that support this command.

Office Home

Starts the Web browser and goes to the Microsoft Office Web site. (This is not available on all keyboards.)

Open

F5: Opens a document in programs that support this command.

Print

F12: Prints the file in the active window.

Redo

F3: Cancels the previous undo action.

Reply

F7: Replies to the e-mail in the active window.

Save

F11: Saves the file in the active window.

Send

F9: Sends the e-mail in the active window.

Spell

F10: Starts the spell checking program in the active document, if the document's program has this feature.

Task Pane

Shows or hides the Office task pane that was previously displayed. (This is not available on all keyboards.)

Undo

F2: Cancels the previous action.


To download the latest software for the keyboard, visit the following Microsoft Web site:

https://www.microsoft.com/accessories/en-us/downloads

Sours: https://support.microsoft.com/en-us/topic/resolve-unexpected-function-f1-f12-or-other-special-key-behavior-on-a-microsoft-keyboard-68d68eed-b65e-09ab-1601-e6b59092dbda

Function Keys not working

View previous topic :: View next topic  AuthorMessageLearncoholic

New User


Joined: 20 Sep 2007
Posts: 97
Location: India
Reply with quote

Hi,

I am fairly new to REXX & have written the following program:

Code:
ADDRESS ISPEXEC "DISPLAY PANEL(AAAAAAAA)"
ADDRESS ISPEXEC "VGET (ZPFKEY) ASIS"     

SELECT                     
  WHEN ZPFKEY = 'PF03' THEN
     SAY 'F3 PRESSED'     
  WHEN ZPFKEY = 'PF08' THEN
     SAY 'F8 PRESSED'     
  WHEN ZPFKEY = 'PF07' THEN
     SAY 'F7 PRESSED'     
  OTHERWISE               
     EXIT                 
END                       



On executing the above code, only PF3 is working fine but neither PF7 or PF8 is working as desired.

Kindly let me know what shall I do to make it work.

Thanks
Back to top
View user's profileSend private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India
Reply with quote

Have you set the .PFKEY control variable in your panel code?
Back to top
View user's profileSend private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA
Reply with quote

ISPF knows what PFkey has been pressed, and based on what command the user has associated with each key, will issue that command.

Why do you care which key the user pressed?
Back to top
View user's profileSend private message
Learncoholic

New User


Joined: 20 Sep 2007
Posts: 97
Location: India
Reply with quote

Ranjithkumar wrote"

Quote:
Have you set the .PFKEY control variable in your panel code?


Hi Ranjithkumar,
I have used .PFKEY in PROC section of the PANEL & still it is not working

superk wrote:

Quote:
ISPF knows what PFkey has been pressed, and based on what command the user has associated with each key, will issue that command.

Why do you care which key the user pressed?


Hi Superk,

My Panel AAAAAAAA actually instructs the user to press PF keys to execute various functions. Hence I want to check what PF key has the user pressed.
In the above case the code is working fine for PF3 but not for PF7 or PF8. Actually the full code is somewhat like:

Code:
ADDRESS ISPEXEC "DISPLAY PANEL(AAAAAAAA)"
ADDRESS ISPEXEC "VGET (ZPFKEY) ASIS"     

SELECT                     
  WHEN ZPFKEY = 'PF03' THEN
     ADDRESS ISPEXEC "DISPLAY PANEL(BBB)"
  WHEN ZPFKEY = 'PF08' THEN
     ADDRESS ISPEXEC "DISPLAY PANEL(CCC)"
  WHEN ZPFKEY = 'PF07' THEN
     ADDRESS ISPEXEC "DISPLAY PANEL(DDD)"
  OTHERWISE               
     EXIT                 
END


Kindly note that my ID has PF7 defined as "UP" & PF8 as "DOWN".

Thanks
Back to top
View user's profileSend private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India
Reply with quote

Learncoholic

Can you post your panel code?
Back to top
View user's profileSend private message
Learncoholic

New User


Joined: 20 Sep 2007
Posts: 97
Location: India
Reply with quote

Hi Ranjithkumar,

Please find my Panel definition below:

Code:

)ATTR                                                                   
  % TYPE(INPUT)  INTENS(LOW)  JUST(ASIS)                               
  $ TYPE(OUTPUT) INTENS(LOW) COLOR(WHITE)                               
  # TYPE(TEXT)   INTENS(LOW)  CAPS(OFF)  SKIP(ON)                       
  * TYPE(INPUT)  INTENS(HIGH) JUST(LEFT) PAD('_')                       
)BODY EXPAND(||)                      /* EXPAND WINDOW TO FULL SCREEN */
     $ZDATE     $ZTIME#|-|- MY DATA RELATED PANEL 3 -|-|DCSRATE3       
#COMMAND ===>%ZCMD                                           #         
#                                                           $DISP #     
# A - PRESS PF3 TO GO TO PANEL 2
#     
# B - PRESS PF7 TO GO TO PANEL 3
#                                                                     
# C- PRESS PF8 TO GO TO PANEL 4
)INIT         
)PROC         
 &KEY = .PFKEY
)END         
Back to top
View user's profileSend private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales
Reply with quote

Why are you trying to over complicate things here.

The standard practice is to type the code for the required action on the command line and press enter to continue. The background REXX (or God forbid CLIST) can then handle the situation far more easily.

Also think of the people that will have to maintain / amend this code. Kepp it simple and everyone stays happy.

Just as an aside -you say that PF3 works. Are you certain that it works or is the panel being closed as expected and the underlying code just happens to display the panel related to PF3 as a matter of course.
Back to top
View user's profileSend private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India
Reply with quote

Hi

Remove the following line from your Rexx.
Code:

ADDRESS ISPEXEC "VGET (ZPFKEY) ASIS"


And change all ZPFKEY to KEY as below.

Code:

SELECT                     
  WHEN KEY = 'PF03' THEN
     ADDRESS ISPEXEC "DISPLAY PANEL(BBB)"
  WHEN KEY = 'PF08' THEN
     ADDRESS ISPEXEC "DISPLAY PANEL(CCC)"
  WHEN KEY = 'PF07' THEN
     ADDRESS ISPEXEC "DISPLAY PANEL(DDD)"
  OTHERWISE               
     EXIT                 
END


Try this and let us know if its working.
Back to top
View user's profileSend private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA
Reply with quote

The other thing is, ISPF needs to know how to handle the commands associated with those keys. In your case, I'd suggest that you (using the KEYS command) associate END to PF03, PF07, and PF08. Now, as you know, END will end the DISPLAY service. Then, you could, upon exiting the panel, check for the value of the key pressed and take that course of action, else honor the user entering the END command and exit the app.
Back to top
View user's profileSend private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales
Reply with quote

This is the bit that bugs me. Why bother to change the PFkey settings when the good old tried and trusted method of ZCMD works, and works extremely well.

I think this is just a case of trying to be smart for the sake of trying to be smart.

I have not assigned different values to PFkeys for donkeys years now, and if I recall, unless you do it carfully it could globally change the key values causing all sorts of little hiccups in later times.

Embrace the KISS method, where KISS = KEEP IT SIMPLE STUPID
Back to top
View user's profileSend private message
Learncoholic

New User


Joined: 20 Sep 2007
Posts: 97
Location: India
Reply with quote

Ranjithkumar wrote:

Quote:
Try this and let us know if its working.


Hi Ranjithkumar,

I tried as you suggested & this is not working out.

expat wrote:

Quote:
Just as an aside -you say that PF3 works. Are you certain that it works or is the panel being closed as expected and the underlying code just happens to display the panel related to PF3 as a matter of course.


Hi expat,

I believe that PF3 works as there is no underline code to display related panel. Also a display confirms when a PF4 is pressed.

superk wrote:

Quote:
The other thing is, ISPF needs to know how to handle the commands associated with those keys. In your case, I'd suggest that you (using the KEYS command) associate END to PF03, PF07, and PF08. Now, as you know, END will end the DISPLAY service. Then, you could, upon exiting the panel, check for the value of the key pressed and take that course of action, else honor the user entering the END command and exit the app.


Hi superk,

I did as you suggested & this is working out fine. Thank you so much for your help.

Thanks
Back to top
View user's profileSend private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai
Reply with quote

One final (?) note.. Sorry for the tone, but I'd like it to be strongly emphasized:

ISPF developers should never, ever check for specific PF keys. ISPF is command driven. Period. Forget that things like .PFKEY, ZPFxx, etc exist. Don't use them. Just don't.
Never. No exceptions. ISPF is not CICS. Don't do it. Don't. (hope that was clear icon_smile.gif )

The reasons are many, but basically
  • Users can change PF keys.
  • Setting keys in the profile breaks other applications
  • If your program abends or does not clean up, other apps will break and you won't have a clue why.
  • Commands from the command table are processed before you see these variables. you may never see them at all.
  • KEYLISTs (sorry - I normally don't say dirty words in public).
  • You will end up changing to command driven eventually, so save yourself the trouble and just start that way.
Back to top
View user's profileSend private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2258
Location: Silicon Valley
Reply with quote

Quote:
KEYLISTs (sorry - I normally don't say dirty words in public).


I like keylists. You can define special purpose keys that are unique to your application. It does not show keys that will not work in your application (ie. 'CHANGE')
Back to top
View user's profileSend private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai
Reply with quote

Yeah, but keylists make it difficult to define global keys. I always run with KEYLIST OFF so my keys are consistent and PFSHOW OFF since I then know what the keys are and I get 2-4 more lines of usable area. I realize that many people either don't change PF keys or don't care about having specific keys everywhere, and some even keep PFSHOW ON, but since one of the 1st things I do when I set up an ISPF session is set keys to NRETRIEV, AUTOTYPE, RESIZE and TSO (or actually one of those execs that captures TSO output in browse), I don't want to have to worry about when my keys are available and when they are not. Still, to the original point, keylist users can also be harmed, confused or misled by checking for specific keys.
Back to top
View user's profileSend private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1349
Location: Israel
Reply with quote

Changing PF keys is a very bad idea, specially if your user auto-logoff after being inactive some time.
When this happens, the modified keys become the new default.
If the users loose the use of their PF7/PF8 keys under ISPF, it's not gonna look good.

Using KEYLIST is better because the keys are linked to the panel. When the panel is gone, so are the changes.

Learn by:
- adding SAY of the PF key before the select. You will see that it does not show when you hit PF7 or PF8.
This is because the keys are processed by ISPF in the panel before they reach the program.

- using standard conventions, as expat already wrote (twice).

- reading some ISPF Hints and Tips

Never ever modify PF1 to PF4 and PF7 to PF12, or PF5 and PF6,
and be careful with the rest (PF13 to PF24).
Back to top
View user's profileSend private message
Learncoholic

New User


Joined: 20 Sep 2007
Posts: 97
Location: India
Reply with quote

Hi All,

I tried to use two static panels to display the required information. I thought that whevever the user pressed F8, I would trap it, then display the next panel. If the user pressed F7, I would again trap it & display the first panel. So will be the processing till the user pressed F3.
As of now I have changed the panel to a scrollable panel & have had a successful run.


Hi MBabu,

Thanks for explaining in detail the cons of using .PFKEY & ZPFxx. In future I will avoid using them.

Hi Marso,

Thanks for sharing the ISPF Hints & Tips.

Hi expat,
I apologize for replying late. Thanks for sharing the info about ZCMD. I went with PFKEYS because I am new to REXX & had searched & found the usage of PFKEYS quicker. icon_surprised.gif

Marso wrote:
Quote:
adding SAY of the PF key before the select. You will see that it does not show when you hit PF7 or PF8.
This is because the keys are processed by ISPF in the panel before they reach the program.


Hi Marso,
Like you said that PF7 & PF8 is processed by ISPF in the panel before they reach the program. So does UP/DOWN command. Is there a way of trapping those commands in REXX module.

Thanks
Back to top
View user's profileSend private message
Sours: https://ibmmainframes.com/about47962.html
  1. 7 11 set acnl
  2. Farberware washer
  3. 23 august birthday

[Solved] Function Keys Not Working

Function keys (Fn keys) not workingon your computer’s keyboard? You would be very annoyed and frustrated. But don’t worry. You won’t be stuck with it forever. Here we’ve put together 4 methods for your to try. Read on and see how…

Try these fixes:

  1. Check if the function keys are locked 
  2. Try to press these keys
  3. Update your keyboard driver

Fix 1: Check if the function keys are locked

Sometimes the function keys on your keyboard could be locked by the F lock key. As a result, you can’t use function keys. Check if there was any key like F Lock  or F Mode  key on your keyboard. If there is one key like that, press that key and then check if the Fn keys could work.

Fix 2: Try to press these keys

As many users reported, they make their function keys work again by pressing the F11or F12key. You can give it a shot and see if it also helps you solve the problem.

Fix 3: Update your keyboard driver

If the keyboard driver on your computer is old or incompatible, functions keys may not function either. You can solve it easily through updating your keyboard driver.  Whether you choose to update the device drivers manually, using Windows Update, or you use a trusted third party product, it’s essential that you have the latest correct device drivers for your operating system at all times.If you’re not comfortable playing with device drivers, we recommend using  Driver Easy. It’s a tool that detects, downloads and (if you go Pro) installs any driver updates your computer needs.To update your drivers with Driver Easy, just click the Scan Now button, then when it lists the drivers you need to update, click Update. The correct drivers will be downloaded, and you can install them – either manually through Windows or all automatically with Driver Easy Pro.Once you update your keyboard driver, restart your computer and check if Fn keys work now. Did you ever fix the not working function key issue? What method did you try? Feel free to comment below with your own experiences.
254

254 people found this helpful

Sours: https://www.drivereasy.com/knowledge/solved-function-keys-not-working-laptop/
Volume Button Not Working - Reverse Function Keys and Multimedia Keys (F1-F12)

{FIXED} Function Keys Not Working On Windows 10 (2021)

The Fn (Function Keys) are designed to perform specific actions on Windows, such as controlling screen brightness, alter sound volume, managing Wi-Fi on/off settings & more using the combination of Fn keys ( F1-F12). These special keys play an important role for users who love using shortcuts on their keyboards to increase productivity and ease regular tasks. 

But lately, several users have reported ‘Fn Keys Not Working’ properly on Windows 10. This issue is more common in laptops like Dell, Asus, Lenovo, Toshiba, HP, Acer, etc. For most of the users, the problem arises after upgrading the systems with the recent Windows update. Hence, incompatible, corrupted, or faulty drivers could cause the issue. Try out the following workarounds to fix the Function Keys Not Responding issue. 

 

function keys not working Windows 10

PART 1- Ultimate Fix: Function (F1-F12 Keys) Not Working On Windows 10 PC/Laptop

One of the most common reasons why your Function Keys may start to malfunction or stop responding completely is when the Keyboard Drivers get old, damaged, missing, corrupted, or incompatible. Fortunately, manually updating your device drivers through Device Manager or using Smart Driver Care can quickly resolve the problem. 

Since the latter method is easy to implement and is trustworthy when installing the latest and correct drivers, we are showing you the step by step procedure to update drivers automatically. 

How To Use Smart Driver Care To Update Keyboard Drivers?

Follow the step by step process to install and replace your current drivers with the latest versions:

STEP 1- Install Smart Driver Care & launch the driver updater utility on your Windows 10 device.

download

STEP 2- On the registered version, click on Start Scan Now button to let the driver updater tool find all the faulty drivers. 

 

Smart Driver Care

 

(With the Free Smart Driver Care version, you can only find and update two drivers each day.) 

STEP 3- Once all the faulty & corrupted drivers are listed. You can either update the Keyboard Drivers manually by finding the entry from the list and clicking on Update Driver button. However, the recommended solution is to click on the Update All button to fix all the bad drivers in one-click. 

 

Outdated Driver - Smart Driver Care

 

STEP 4- Smart Driver Care would take a few moments to replace all the current device drivers with the latest and most compatible versions, downloaded from official and trustworthy sources.

Once your computer/laptop is running new Keyboard Drivers, hopefully, the problem “Function Keys Not Working on Windows 10” gets resolved. To read more about Smart Driver Care, check out the complete review here

You Might Be Interested In This: Smart Driver Care VS Driver Easy: Which Is The Best Driver Updater Utility

PART 2- Best Workarounds To Resolve Fn Keys Not Responding Issue

Don’t worry if updating the drivers didn’t solve your issue; there are plenty of workarounds that you can apply to eliminate.” the ‘Fn keys not working’ problem. 

 Resolve: Function Keys Not Responding On Windows 10 {2021}

Here are the steps you need to implement to resolve this annoying Windows 10 issue: 

METHOD 1- Check if the Function Keys are Locked

STEP 1- Look for the F Lock or F mode key on your keyboard. If you find it, press it again to unlock the Function keys on Windows 10.

 

FN key not working

 

Now check your Function keys. Hopefully, it should start working now! 

Must-Read: The Best Tools to Remap the Keyboard on Windows 10

METHOD 2- Change Settings in Mobility Center (For Dell Users)

STEP 1- Hit Windows key & S altogether. From the Search menu, look for the Windows Mobility Center.

STEP 2- From the next window, find an option that says Function Key Row.

STEP 3- You need to select Function Key from the Drop-down arrow’s list of options.

 

function keys not working Windows 10

 

STEP 4- Hit the Apply button to implement the changes successfully.

Did it help you to make your Function keys normally work like before? If you are still struggling, try the next workaround! 

Must-Read: How To Fix Start Menu Search Not Working On Windows 10?

METHOD 3- Run Hardware Troubleshooter

STEP 1- Press Windows Key & I altogether to launch system Settings.

STEP 2- Locate & Open Update and Security module. 

 

Windows 10

 

STEP 3- Choose the Troubleshoot menu from the left panel and navigate to Hardware and Devices. 

STEP 4- Now click on – Run troubleshooter automatically, then notify me. 

 

FN key not working

 

Keep patience and see if it works to make Functions keys work again properly on Windows 10. 

METHOD 4- Disable Filter Keys

STEP 1- Go to the search menu & look for the Control Panel.

 

Control Panel Windows 10

 

STEP 2- Navigate to Ease of Access Center.

 

Ease of Access Center

 

STEP 3- Scroll down & find and click on the option “Make the keyboard easier to use”.

 

Windows 10

 

STEP 4- From the next window, find the Filter Keys option and ensure it is not activated.

 

Turn on Filter Keys

 

If it is checked, make sure you turn off the option and click on the OK button, followed by the Apply button to implement the changes. Now try pressing the Function keys; it should work smoothly now! 

Must-Read: How To Fix Windows Key Not Working On Windows 10?

PART 3- Not Interested In Reading? Check Out This Step By Step Video Tutorial!

Follow this excellent video tutorial and learn how to fix Fn Keys Not Working on Windows 10. 

Did This Article Help You? Don’t Forget To ‘Upvote’ It!

What Topic Would You Like Us To Discuss In Our Next Blog? Have Any Suggestions? Let Us Know In The Comments Section Below!

Sours: https://wethegeek.com/fixed-function-keys-not-working-on-windows-10/

Working in function keys mainframe not

.

Laptop's function keys not working. How to fix it?

.

You will also be interested:

.



1149 1150 1151 1152 1153