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.