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


GERLOG

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



Purpose



 GERLOG  (errnr, fctid, errfil)
   
 APL code  1306
 GKS RCP code  X'3800F100' (939585792)
   


Function: To error logging.

Error-handling function. Writes error messages to the error file.

Parameters


errnr (specified by user) (fullword integer)
The error number.

fctid (specified by user) (fullword integer)
The identification of the GKS function called by the application program that caused the error to be detected.

errfil (specified by user) (fullword integer)
The error file. This parameter has been defined in the Open GKS (GOPKS) function call.


Related functions


Error handling (GERHND)

Description


This function can be called from a user-supplied error-handling procedure to log GDDM-GKS errors in the error file. Two messages are written to the error file. The first message is always ADM3500, which gives the GKS error number and the name of the function in which the error occurred; the actual error message then follows, giving a brief description of the error. For example:


     ADM3500 I GKS ERROR 60 IN FUNCTION GSPLI
     ADM3560 E POLYLINE INDEX IS INVALID

If you call this function from your main program (when no GKS error has been detected), or with parameters different from those passed to your error-handling procedure, this function has no effect: no error is reported and no message is logged.

Principal errors


None

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012