A duplicate key exception was occurring during a record insert, however, the index reported was not the actual index with the duplicate key error. When unexpected duplicate key errors were returned on a global unique index (GUIx) the data file number (datno) was returned rather than the actual index file number (keyno). Correct file information is now back propagated to report the proper index name.