i'm having very simple doubt.how to recify the sqlcode -803(it's an unique index).how to view that code.by going thru sdsf or thru spufi.plz any one explain.if i'm geting any sqlcode where i've to view the error ,in spufi or in spool.
Your question is not that much clear. But still I will try to explain you.
When you execute a query from SPUFI, however you will get the sqlcode after you execute the query. If you are running an embedded sql you can find the sqlcode in SPOOL. When you try to insert into a table whose value already exists this kind of error arises. You have to change the index value and insert it again.
If this is not the answer pl make your question clear. Or tell me what you really tried to do.
Check the definition of all the columns which are involved in ur query, at least one of them are defiened as UNIQUE. The value that u r trying to insert/update is present in the table, so duplicates were not allowed for those columns.
Please inform me, if it is not the case...