GDDM-GKS V1R1 Programming Guide and Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Metafile item structure

GDDM-GKS V1R1 Programming Guide and Reference
SC33-0334-00



This section describes the logical structure of each of the metafile items. Each item comprises:

  • Type - a fullword integer value
    
    
  • Data record length - a fullword integer value denoted below by L.
    
    
  • Data record - the remainder of the item. The format of each data record depends on the item type, as shown below.
    
    

The type and data record length are returned to the application when the function Get item type from GKSM (GGTITM) is invoked. When the function Read item from GKSM (GRDITM) is invoked, the next metafile item data record is returned. Metafile items can be interpreted by invoking the function Interpret item (GIITM).

Fields in the item data records can be of the following types:

Fullword integer
denoted by i.

Short floating-point
denoted by (r). A point represented by a pair of real numbers (2r) is denoted by (p).

Character
string denoted by (c).

Subtopics:

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012