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


GURECS

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



Purpose



  GURECS
                                    
                                    
 (ldr, datrec, iil, irl, isl,
 mstr, errind, il, ia, rl, ra, sl,
 lstr, str)
   
 APL code  1514
 GKS RCP code  X'38006C00' (939551744)
   


Function: To unpack data record.

Utility function. Unpacks a data record. If your program is written in FORTRAN IV or VS FORTRAN, use the function Unpack data record (FORTRAN only) (GUREC) 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.

mstr (specified by user) (fullword integer)
The maximum length of an entry 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) (an array of fullword integers)
The lengths of the strings returned in str.

str (returned by GDDM) (character)
The string array.


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