laptop and a wrench

Error

The sdelayer -o add command fails with -51 error and deletes the underlying table in DB2.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM034197
EnviadoApril 11, 2008
Última modificaciónApril 2, 2025
Relacionado conNo Product Found
Versión encontrada9.2
Versión corregida9.3
EstadoFixed

Solución alternativa

After creating the table in DB2, register it with SDE and then run the sdelayer -o add command.C:\>sdetable -o register -t airport -i 5151 -u sde -p sde -k GDT_AIRPORTArcSDE 9.2 for DB2 Build 1239 Thu Jan 24 09:35:02 2008Attribute Administration Utility-----------------------------------------------------Table airport successfully registered.C:\>sdelayer -o add -i 5151 -u sde -p sde -x -180,-90,1000000 -G 4326 -g 0.1,0,0 -e +a -k GDT_AIRPORT -q -l airport,bus_fidSuccessfully Created Layer.Query the database for table:describe table airport;------------------------------------------------------------------------------Column Type Typename schema name Length Scale Nulls------------------------------ --------- ------------------ -------- ----- ------GDT_ID SYSIBM VARCHAR 32 0 Yes STATE_FIPS SYSIBM INTEGER 4 0 Yes COUNTY_FIPS SYSIBM INTEGER 4 0 Yes NAME SYSIBM VARCHAR 50 0 Yes CFCC SYSIBM VARCHAR 3 0 Yes IDENT SYSIBM VARCHAR 4 0 Yes USERS SYSIBM VARCHAR 2 0 Yes BUS_FID DB2GSE ST_MULTIPOLYGON 0 0 Yes OBJECTID SYSIBM INTEGER 4 0 No 9 record(s) selected.

Pasos para reproducir

ID del error: NIM034197

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga