GDLFNX - geographicdeterminationlibrary - 2024.00

Geographic Determination Library Reference for Windows and z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Geographic Determination Library
Version
2024.00
Language
English
Product name
GeoStan Geocoding Suite
Title
Geographic Determination Library Reference for Windows and z/OS
Topic type
Reference
Copyright
2024
First publish date
1994
ft:lastEdition
2024-05-09
ft:lastPublication
2024-05-09T00:55:21.277227

Finds the next nearest feature; called after successful GDLFN.

Syntax

05 GDL-FIND-NEXT.
      10 GDL-FNX-HANDLE PIC S9(09) BINARY.
      10 GDL-FNX-OUTPUT-SHAPE PIC S9(09) BINARY.
      10 GDL-FNX-TYPE-SHAPE PIC S9(09) BINARY.
      *
      CALL "GDLFNX"
      USING GDL-FIND-NEXT GDL-RETURN-CODE.

Arguments

GDL-FNX-HANDLE

The gdlFileHandle returned by GDLOSF (GDL-OSF- SPATIAL-HANDLE). Input.

GDL-FNX-OUTPUT-SHAPE

A pointer to the next nearest shape. Output. GDL-FNX-TYPE-SHAPEThe type of shape to find. Input.

Type options:

COBOL Shape Types
GDL-POINT
GDL-LINE

Return Values

GDL-OK Success
GDL-ERROR An internal error occurred
GDL-NOT-FOUND No more features were found
GDL-WRONG-TYPE GDL-FNX-TYPE-SHAPE is not GDL-POINT or GDL-LINE

Prerequisites

GDLFN

Alternates

None.

Notes

Following instances of this procedure, you should call GDLSF with the output shape (GDL- FNX-OUTPUT-SHAPE) when you are finished using the output shape to release system resources.