U@GEOGETNXTG
U@GEOGETNXTG returns the next GeoCode based on the criteria you set in the U@GEOSETNMCRI routine or the U@GEOSETCRI routine.
A table is maintained that contains the list of GeoCodes that match the search criteria. The position in the list is set to point to the next GeoCode after each call. On the first call to U@GEOGETNXTG, the first GeoCode is returned. When no more GeoCodes are found for the given criteria, the E@VERRORSTS field contains E to indicate an End of file.