Solution or Workaround
Description
SHAPEARC shapefile indicates there are a certain number of shape records, but when using SHAPEARC to convert to a coverage, the output has less records or is completely empty.
Cause
The Internal-ID and the User-ID in the shape.DBF do not correctly reference the shapefile name. Just as in coverages, where the cover_ and cover_id must equal the coverage name, the dbf file portion of the shapefile must also have those two items equal to the shapefile name.
Solution
When you perform the SHAPEARC conversion, you must also call the coverage the same name as the shapefile or this won't work. It is also a good idea for the User_ID to have values other than zero.
For example: Assume the name of the shapefile is SHAPE1, and the Internal_ID and the User_ID refer to SHAPEID.
Code:
COPY SHAPE1.* SHAPEID.*
SHAPEARC SHAPEID SHAPEID
To calculate the IDs to non-zero values, do the following prior to running SHAPEARC:
Code:
TABLES
SELECT SHAPEID
CALC SHAPEID_ = $RECNO
CALC SHAPEID_ID = $RECNO
QUIT