Natural for Mainframes Version 8.2.5 for Mainframes
 —  Programming Guide  —

Map

As an alternative to specifying screen layouts dynamically, the INPUT statement offers the possibility to use predefined map layouts which makes use of the Natural object type map.

This document covers the following topics:


Benefits of Using Maps

Using predefined map layouts rather than dynamic screen-layout specifications offers various advantages such as:

The benefit of using objects such as maps will become obvious when it comes to maintaining existing Natural applications.

Top of page

Types of Maps

Maps (screen layouts) are those parts of an application which the users see on their screens.

The following types of maps exist:

The object type "map" comprises

Related Topics:

Top of page

Creating Maps

Maps and help map layouts are created and edited in the map editor.

The map editor is used to create character-based user interfaces. If you want to create complex graphical user interfaces, you will use Ajax Developer instead. Ajax Developer includes a number of tools. Its central tool is the Layout Painter which is used to define layouts for HTML pages. The appropriate local data area (LDA) is created and maintained in the source editor.

Top of page

Starting/Stopping Map Processing

An input map is invoked with an INPUT USING MAP statement.

An output map is invoked with a WRITE USING MAP statement.

Processing of a map can be stopped with an ESCAPE ROUTINE statement in a processing rule.

Top of page