Indicates if any errors occurred or any information messages are available in the current thread.
Syntax
01 GSID PIC S9(9) BINARY.
01 MOREERRORS PIC S9(9) BINARY.
CALL "GSERRHAS" USING GSID, MOREERRORS.
Arguments
GSID ID returned by GSINITWP if initialization completed, or set to NULL if initialization failed and GSINITWP returned NULL. Input.
MOREERRORS Zero if there are no more error messages to retrieve (via GSERRGTX), and non-zero if there are additional messages. Output.
Return Values
non-zero value Errors occurred or GeoStan generated informational messages
zero No errors or informational messages are pending.
Prerequisites
GSINITWP