# How to define PF key functions on Maps

**URL:** <https://techcommunity.softwareag.com/t/how-to-define-pf-key-functions-on-maps/61750>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-News-and-General-Topics\
**Created:** [November 29, 2006, 4:05pm UTC](https://techcommunity.softwareag.com/t/how-to-define-pf-key-functions-on-maps/61750 "2006-11-29T16:05:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Ramesh](https://techcommunity.softwareag.com/u/Ramesh)\
**Post date:** [November 29, 2006, 4:05pm UTC](https://techcommunity.softwareag.com/t/how-to-define-pf-key-functions-on-maps/61750/1 "2006-11-29T16:05:16Z")

</div>

Hi,

Can any one tell me how to define PF key function on Map.  
I mean in the map i defined PF3 - QUIT and in the corrseponding program, when I defined a function for that key and when i try to press the key im getting the following message.  
NAT1011 Requested function key not allocated

Please can anyone help in this.

Thanks  
Ramesh

---

<div class="post-metadata">

**Author:** ![Henrik\_Hermansen1](https://avatars.discourse-cdn.com/v4/letter/h/f9ae1b/32.png) [@Henrik\_Hermansen1](https://techcommunity.softwareag.com/u/Henrik_Hermansen1)\
**Post date:** [November 29, 2006, 6:21pm UTC](https://techcommunity.softwareag.com/t/how-to-define-pf-key-functions-on-maps/61750/2 "2006-11-29T18:21:31Z")

</div>

How does your SET KEY statement look in the program?

---

<div class="post-metadata">

**Author:** ![Luk\_Segers](https://avatars.discourse-cdn.com/v4/letter/l/838e76/32.png) [@Luk\_Segers](https://techcommunity.softwareag.com/u/Luk_Segers)\
**Post date:** [November 29, 2006, 7:18pm UTC](https://techcommunity.softwareag.com/t/how-to-define-pf-key-functions-on-maps/61750/3 "2006-11-29T19:18:04Z")

</div>

> [@Ramesh](#):
>
> I mean in the map i defined PF3 - QUIT

You can not define PF-Key’s in a map. You should define them in your program an they can be shown/test in your map.  
Can you give more info on your PF-Key definitions in your program and map?

---

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [November 30, 2006, 2:01pm UTC](https://techcommunity.softwareag.com/t/how-to-define-pf-key-functions-on-maps/61750/4 "2006-11-30T14:01:52Z")

</div>

For more information please see an older discussion …

[http://natural.forums.softwareag.com/viewtopic.php?t=371](http://natural.forums.softwareag.com/viewtopic.php?t=371)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/how-to-define-pf-key-functions-on-maps/61750/5 "2021-04-02T14:40:58Z")

</div>


