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


GGTITM

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



Purpose



 GGTITM  (wkid, type, idrl)
   
 APL code  1410
 GKS RCP code  X'38006600' (939550208)
   


Function: To get item type from GKSM.

Metafile function. Returns the next item type and data record length.

Parameters


wkid (specified by user) (fullword integer)
The identifier selected when the workstation was opened.

type (returned by GDDM) (fullword integer)
The item type. This number identifies the stored item.

idrl (returned by GDDM) (fullword integer)
The item data record length.


Operating states


WSOP, WSAC, SGOP

Related functions


Write item to GKSM (GWITM), Read item from GKSM (GRDITM), Interpret item (GIITM)

Description


A GKS metafile (GKSM) is a sequential file that behaves like a workstation. To retrieve information from a metafile, you must open a metafile input (MI) workstation. This function returns the type and the data record length of the current metafile item. You can now use the function Read item from GKSM (GRDITM) to obtain the item data record and to make the next item in the metafile the current item.

Refer to Appendix C, "Metafile structure" in topic C.0 for a list of the metafile item types.

Principal errors


7
GKS not in proper state: GKS shall be in one of the states WSOP, WSAC, or SGOP
20
Specified workstation identifier is invalid
25
Specified workstation is not open
34
Specified workstation is not of category MI
162
No item is left in GKS Metafile input
163
Metafile item is invalid

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012