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


GERHND

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



Purpose



 GERHND  (errnr,fctid,errfil)
   


Function: To handle errors. The default or user-supplied function invoked by GDDM-GKS when errors are detected.

Parameters


errnr (specified by GDDM-GKS) (fullword integer)
The error number.

fctid (specified by GDDM-GKS) (fullword integer)
The identification of the GKS function called by the application program in which the error was detected. See the list of functions, at the beginning of this chapter; this list gives the number identifying each function.

errfil (specified by GDDM-GKS) (fullword integer)
The error file. This parameter has been defined in Open GKS (GOPKS).


Related functions


Error logging (GERLOG), Emergency close GKS (GECLKS)

Description


This function is invoked by GDDM-GKS when an error has been detected during a call to any GKS function that does not have an error indicator parameter. (The parameters are supplied by GDDM-GKS; you do not code these.)

The GDDM-GKS default function, Error handling (GERHND), just calls the Error logging (GERLOG) function with the same parameters.

It is not possible for an application to call the default error-handling function directly.

You can replace the default error-handling function with a procedure designed to your own requirements. Refer to "Error handling in GDDM-GKS" in topic 4.8 for details on how to do this.

Principal errors


None

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012