GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GIITM GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|||||||||||||
Purpose
Function: To interpret item. Metafile function. Interprets the contents of a metafile item. Parameters type (specified by user) (fullword integer)
idrl (specified by user) (fullword integer)
ldr (specified by user) (fullword integer)
datrec (specified by user) (array of 80-byte character tokens)
Operating states GKOP, WSOP, WSAC, SGOP Related functions Write item to GKSM (GWITM), Get item type from GKSM (GGTITM), Read item from GKSM (GRDITM) Description This function interprets the contents of the metafile item provided by your application, causing changes to the state lists and generating graphical output. When reading a metafile you can get the type and the data record length of the current metafile item by using the function Get item type from GKSM (GGTITM). The function Read item from GKSM (GRDITM) returns the data record of the current metafile item. The item type, the data record length, and the data record can then be passed to this function (GIITM). Note that user items, written to output metafiles by the function Write item to GKSM (GWITM), cannot be interpreted. Appendix C, "Metafile structure" in topic C.0 lists all metafile items that can be generated by GDDM-GKS. When an item is interpreted, the effects on the state lists are the same as if the function corresponding to the item were called directly. To display a picture stored as a metafile:
If datrec is too small to contain the length specified by idrl, error 2003 is reported. In addition to the errors given below, other errors can be reported, depending on the type of the item being interpreted. Principal errors
|
Copyright IBM Corporation 1990, 2012 |