简体   繁体   English

日志接收器中没有删除的条目?

[英]No deleted entries in journal receivers?

We have all Future 3 files journaled, but when I do a DSPJRN command OUTFILFMT(*TYPE3) I have no delete (DL) entries.我们记录了所有 Future 3 文件,但是当我执行 DSPJRN 命令 OUTFILFMT(*TYPE3) 时,我没有删除 (DL) 条目。 I have only one record in the physical file, but many add (PT) and update (UP) entries for that one record.我在物理文件中只有一条记录,但有许多为该记录添加 (PT) 和更新 (UP) 条目。 How is that possible?这怎么可能? What am I missing?我错过了什么?

Two possibilities.两种可能。 Either CLRPFM command was used to clear the table or all records in table were deleted using single delete command.使用 CLRPFM 命令清除表或使用单个删除命令删除表中的所有记录。 If you delete all records from table using single delete command, DB2 for i will use CLRPFM.如果使用单个删除命令从表中删除所有记录,DB2 for i 将使用 CLRPFM。 There will be entry in journal receiver for CLRPFM instead of entry for delete in both cases.在这两种情况下,CLRPFM 的日志接收器中都会有条目,而不是删除条目。

Thank you for your thoughts.谢谢你的想法。 We determined that the journal was set up to save *AFTER images only.我们确定日志设置为仅保存 *AFTER 图像。 Since the *AFTER images were just blanks, there was no way to know which record was deleted.由于 *AFTER 图像只是空白,因此无法知道删除了哪条记录。 We changed the journaling to *BOTH images and now can see which record(s) were deleted.我们将日志更改为 *BOTH 图像,现在可以查看删除了哪些记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM