Hi

With reference to the DataDict.pkg Line# 4800 (DF20 Line# 4824), I feel the file mode should as per for system tables:

Set_Attribute DF_FILE_MODE of iFile to (DF_FILEMODE_DEFAULT ior DF_FILEMODE_NO_REREAD)

Why ?

Prevents the dreaded "record not found" error on system tables or tables added to the DD via the "Add_System_File" property. In 99% of the time, if a table is added as a system file then the table's finds, saves and deletes are managed by the developer. Therefore, having the table participate in a REREAD (all) is not ideal or necessary as the record for the said table maybe not be ready for a reread, thus having the entire transaction fail.

Furthermore, DF_FILEMODE_NO_REREAD does NOT mean no rereads at all, just means no REREAD when the command "REREAD" is executed without parameters - which I believe is executed as part of the DD request_save and/or request_delete

Thoughts ?