GSCITYFN - 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 next city matching the partial name or valid ZIP Code.

Syntax

01 GSID               PIC S9(9) BINARY.
01 LSTATUS            PIC S9(9) BINARY.
*
CALL "GSCITYFN" USING GSID, LSTATUS.

Arguments

GSID   ID returned by GSINITWP for the current instance of GeoStan. Input.

LSTATUS   Return code. Output.

Return Values

Record number of the city located, or zero if GeoStan did not find any cities.

Prerequisites

GSCITYFF or GSCLEAR

Notes

Call this procedure after GSCITYFF.

Before each find procedure, call GSCLEAR to reset the internal buffers. If you do not reset the buffers, you may receive incorrect results with information from a previous find.