GSFGN - geostan_1 - 2024.01

GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > GeoStan
Version
2024.01
Language
English
Product name
GeoStan
Title
GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS
Copyright
2024
First publish date
1994
Last updated
2024-07-29
Published on
2024-07-29T23:01:18.924000

Finds the next geographic information record with partial matching to input names.

Syntax

01 GSID PIC S9(9) BINARY.
01 GSFUNSTAT PIC S9(9) BINARY.
*
CALL "GSFGN" USING GSID, GS-GEOGRAPHIC-INFO, GSFUNSTAT.

Arguments

GSID Returned by GSINITWP for the current instance of GeoStan. Input.

GSFUNSTAT   Return value for the procedure. Output.

Return Values

Next Geographic Information Record which has a partial match to the input.

"GSFUNSTAT" contains a value of "GS-SUCCESS" if there are one or more matching records.

See GSFGF for the remainder of the output fields.

Prerequisites

GSINITWP

GSFGF (Previous call with return status equal "GS-SUCCESS")

Notes

This procedure retrieves the next Geographic information record which matches the input city, county, or state names.   A previous call to "GSFGF" is required, with a returned status of "GS-SUCCESS".

The COBOL copy member "GEOSTAN" includes the record "GS-GEOGRAPHIC-INFO" which has the correct format for this function.

Input values may be zero-byte terminated strings or fixed-length with space padding. The returned values are fixed-length with space padding. The optional field "GS-INPUT-COUNTY" should be filled with spaces if it is not used.