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


GUREC

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



Purpose



 GUREC
                                    
 (ldr,datrec,iil,irl,isl,errind,il,
 ia,rl,ra,sl,lstr,str)
   


Function: Utility function. Unpacks a data record. Use this call only if your program is written in FORTRAN IV or VS FORTRAN. Otherwise, use the function Unpack data record (GURECS) instead.

Parameters


ldr (specified by user) (fullword integer)
The dimension of the data record array datrec.


datrec (specified by user) (array of 80-byte character tokens)
The data record array.

iil (specified by user) (fullword integer)
The dimension of integer array.

irl (specified by user) (fullword integer)
The dimension of floating-point array.

isl (specified by user) (fullword integer)
The number of character-string entries in the string array.

errind (returned by GDDM) (fullword integer)
The error indicator.

il (returned by GDDM) (fullword integer)
The number of integer entries returned in ia.

ia (returned by GDDM) (an array of fullword integers)
The integer array.

rl (returned by GDDM) (fullword integer)
The number of floating-point entries returned in ra.

ra (returned by GDDM) (array of short floating-point numbers)
The floating-point array.

sl (returned by GDDM) (fullword integer)
The number of character-string entries returned in str.

lstr (returned by GDDM) (fullword integer)
The length of the string returned in the str parameter.

str (returned by GDDM) (character)
The string array. In a VS FORTRAN program, the strings can be of variable length. For FORTRAN IV, you must define the strings as CHARACTER*80.

Operating states


GKCL, GKOP, WSOP, WSAC, SGOP

Related functions


Inquire locator device state (GQLCS), Inquire stroke device state (GQSKS), Inquire default locator device data (GQDLC), Inquire default stroke device data (GQDSK), Pack data record (GPRECS)

Description


You use this function to unpack input function data records returned by Inquire *** device state and Inquire default *** device data groups of functions. It cannot be used to unpack data records returned by the Read item from GKSM (GRDITM) function.

Principal errors



     2001  Output parameter size insufficient
     2003  Invalid data record

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012