# NATURAL screen size

**URL:** <https://techcommunity.softwareag.com/t/natural-screen-size/78594>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes, Natural-on-Windows-Unix\
**Created:** [July 20, 2008, 4:47pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594 "2008-07-20T16:47:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael4](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@Michael4](https://techcommunity.softwareag.com/u/Michael4)\
**Post date:** [July 20, 2008, 4:47pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/1 "2008-07-20T16:47:23Z")

</div>

Hi,  
The default size of screens (maps) we are using is 24x79 (or 24x80?). Is there something we can do to display during runtime a map wtih size larger than this? I tried creating a map that is 40+x79 but during runtime, it only displays the 24x79 area. Though i know that the displayed area of a logical screen is limited by the terminal screen size, maybe there’s a setting somewhere that can be modified.

Thanks 😃

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [July 20, 2008, 7:53pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/2 "2008-07-20T19:53:22Z")

</div>

You should read about Natural’s windowing facilities.

Code, for example: SET KEY PF3=‘%W+’ named ‘DOWN’ PF4=%W-’ named’UP’

Make sure you have your PF keys activated.

Now the user can scroll up and down in your enlarged Map (which will still only show an area of 24x79 at any one time, however, the user can specify what part of the Map they wish to see).

steve

---

<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:** [July 21, 2008, 11:51am UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/3 "2008-07-21T11:51:45Z")

</div>

Some links to natural’s documentation:

[http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat424mf/tcom/pcw.htm](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat424mf/tcom/pcw.htm)  
[http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat424mf/pg/pg\_desgn\_screen.htm](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat424mf/pg/pg_desgn_screen.htm)

---

<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:** [July 21, 2008, 3:57pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/4 "2008-07-21T15:57:47Z")

</div>

The “physical” display primarily depends on the screen size setting as defined to VTAM (logmode) and your TP-monitor, 3270s allow for the following:

```
* model 2 : 24

```

---

<div class="post-metadata">

**Author:** ![Michael4](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@Michael4](https://techcommunity.softwareag.com/u/Michael4)\
**Post date:** [July 21, 2008, 7:42pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/5 "2008-07-21T19:42:19Z")

</div>

Right! Thank you for all your prompt reply. i’ll look into your suggestions.

---

<div class="post-metadata">

**Author:** ![Peter\_Reale](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@Peter\_Reale](https://techcommunity.softwareag.com/u/Peter_Reale)\
**Post date:** [September 16, 2009, 10:38pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/6 "2009-09-16T22:38:20Z")

</div>

-=-=-=-=-=-=-=-=-=-=-=- ATTENTION -=-=-=-=-=-=-=-=-=-=-=-  
I found the answer to this issue. If you replace the ‘%’ char with ‘@’ in the SET KEY statements, it works. Go figure! Hope this helps someone else.  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Hi Steve, I saw your reply, which I have tried it in my code, but I keep getting:

NAT0080 Command / program name must start with a letter.

I set the PF7/PF8 keys in my Program…

```auto

  SET KEY PF7='%W-' NAMED 'Up'
  SET KEY PF8='%W+' NAMED 'Down'
```

I have an External Map with a field that has a Helproutine. In that Helproutine, I define a window, and use that window for an Internal Map (INPUT WINDOW=‘HELPWIN’). This window has more choices than will display in the window, and I see the “More: +” on the top, right of the window. If I double-click the ‘+’, it scrolls down. But if I press PF8, I get the error.

It seems as though the current program is terminated, and the terminal command ‘%W+’ is invoked via the Natural stack. Because I am left at the NEXT prompt, with my terminal command shown with the error msg.

Any ideas/suggestions would be greatly appreciated. Thanks!

Peter Reale  
Systems Analyst veteran (Natural newbie)

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [September 17, 2009, 4:47pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/7 "2009-09-17T16:47:43Z")

</div>

Hi Peter;

There is a Natural Parm, CF. It can be used to change the character used to indicate a Terminal Command. The default is %. Somewhere, either at the “system level”, or later on in the code (but before you get to it), CF has been changed to @.

You might want to check into this further before “hard coding” this into a system.

steve

---

<div class="post-metadata">

**Author:** ![Peter\_Reale](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@Peter\_Reale](https://techcommunity.softwareag.com/u/Peter_Reale)\
**Post date:** [September 17, 2009, 6:39pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/8 "2009-09-17T18:39:56Z")

</div>

Thanks, Steve! I appreciate the extra info.

Peter Reale

* * *

System Analyst veteran (Natural newbie)

---

<div class="post-metadata">

**Author:** ![Mishra](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Mishra](https://techcommunity.softwareag.com/u/Mishra)\
**Post date:** [November 17, 2009, 10:39pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/9 "2009-11-17T22:39:43Z")

</div>

Hi,

What if the map is created as 23_100? How can I display the 20 columns toward the right of the screen?  
If the Map is created with more PS and LS (than normal 24_80), is it mandatory to use the WINDOWing facility or any other logic will work to see the information (either to the left or at the bottom) on the Map?

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [November 18, 2009, 4:08am UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/10 "2009-11-18T04:08:39Z")

</div>

Hi Mishra;

%w\> will scroll to the right; or, you can equate it to a PF key. also %W\< to scroll to the left; %W+ down, %w- up.

Windowing is the only way to effectively work with logical screens larger than the physical screen

steve

---

<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:50pm UTC](https://techcommunity.softwareag.com/t/natural-screen-size/78594/11 "2021-04-02T14:50:39Z")

</div>


