GDDM V3R2 Base Application Programming Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


The partition

GDDM V3R2 Base Application Programming Guide
SC33-0867-01



Partitions are independent rectangular subdivisions of the screen, which can overlap each other. You can create a partition using the PTNCRT call. If you issue a PTNCRT call without first creating a partition set, a default partition set is created, covering the complete screen.

The default partition size fills the partition set grid. For details of the default partition-set grid size, see the description of the FSQURY call in the GDDM Base Application Programming Reference book. One use of partitions is to clearly define subsets of output from an application.

For example:

  • Partition 1 containing an alphanumeric menu of actions on a picture
    
    
  • Partition 2 containing a graphics picture being changed
    
    
  • Partition 3 containing graphics editing help information
    
    

In your program, you can use the PTNMOD call to change the attributes (size, position, viewing priority, and visibility) of partitions.

Figure 28 illustrates a partitioned screen based on the default partition set grid.

GDDM partitioning is supported on all directly attached display devices. The IBM 3193 Display Station, 3290 Information Panel, and 8775 Display Terminal each have a hardware-partitioning facility. For terminals in the 3270 family, such as the IBM 3472-G, 3192-G, 3179-G, and 3279, GDDM emulates hardware partitioning. For all display devices, partitions are emulated when operator windows are used, when partition overlap is specified, or when User Control has been made available to the terminal user.


   PICTURE 18          

Figure 28. Creating partitions


A partition belongs to the partition set that is current when the PTNCRT call is issued. Each partition can have one or more pages associated with it.


   PICTURE 19          

Figure 29. Defining pages within partitions (each partition has its own pages)


For more information on using partitions in programs, see "Designing GDDM Base Application Programming Reference book.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012