000339 : Input <value> does not have OIDs.

Description

The current data format does not have an ObjectID (OID) field, which is required for the operation to successfully execute. Common examples of a data type that does not have an OID field is an x,y event layer or data created in a database using SQL and not registered to ArcSDE or the geodatabase.

Solution

The dataset should be first converted to a dataset that will add an OID field. Several tools, including CopyFeatures and CopyRows, can be used to convert the dataset into a supported format that will contain an OID field. For data created using SQL in a database, use the sdelayer/sdetable -o register command to register the table to ArcSDE.

2/12/2013