SPERRGET - spatial_geostan - 2024.00

Spatial+ Reference for Windows, UNIX/Linux, z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Spatial+
Version
2024.00
Language
English
Product name
Spatial+
Title
Spatial+ Reference for Windows, UNIX/Linux, z/OS
Copyright
2024
First publish date
1994
Last updated
2024-05-07
Published on
2024-05-07T22:16:04.316305

Returns details about most recent error.

Syntax

01 SPHANDLE PIC S9(9) BINARY.

01 ERRMSG PIC X(128).

01 ERRDET PIC X(128).

01 SPRETCODE PIC S9(9) BINARY.

*

CALL ‘SPERRGET'

USING SPHANDLE, ERRMSG, ERRDET, SPRETCODE.

Arguments

SPHANDLE The valid handle returned by SPINIT for the current instance of Spatial+. Input.

ERRMSG A string buffer where the error message will be placed. Output.

ERRDET A string buffer where details about the error message will be placed. Output.

Return Values

1-99

PIP-ERROR-INVALID-HANDLE PIP-ERROR-UNCLASSED

PIP-ERROR-UNKNOWN PIP-ERROR-BAD-FILE PIP-ERROR-LIMIT

PIP-ERROR-MEMORY PIP-ERROR-NOT-FOUND PIP-ERROR-ARGUMENT PIP-ERROR-EXPIRED PIP-ERROR-LICENSE 109-199

Prerequisites

None.

Alternates

None.

Notes

Be sure to allocate string space of at least 256 bytes for both ERRMSG and ERRDET.