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


Appendix C. Metafile structure

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



This appendix describes the items that can occur in a metafile created by a GDDM-GKS metafile output (MO) workstation.


A metafile consists of a sequence of items. Each item comprises a type, a data record length and a data record. The type is an identification number that indicates either that the item contains information that can be interpreted by GKS (and the function to be performed) or that it contains information that was written by an application program (using Write item to GKSM (GWITM)). The following functions make use of the item type numbers:

  • Get item type from GKSM (GGTITM)
    
    
    Returns the type and data record length of a metafile item.
    
    
  • Interpret item (GIITM)
    
    
    Performs the actions indicated by the type parameter using the contents of the item data record.
    
    
  • Write item to GKSM (GWITM)
    
    
    An item with a type specified by the application (must be greater than 100) is written to an output metafile.
    
    

Subtopics:

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012