[IB]PeopleSoft异步详细信息中状态“已完成”但订阅合同状态“新建”问题

最近遇到一个IB异步程序状态不一致问题,异步详细信息中上面的状态是“DONE”但是订阅合同中还是“新建”状态。在域状态中清除域状态也不管用。

重启app server也不好使。最后执行了appmsgpurgeall.dms终于解决了问题。

应该是历史数据造成的,该脚本可以清除异步所有数据及域状态。

因为数据量比较大,所以选择truncate删除。

truncate TABLE PSAPMSGPUBHDR;
truncate TABLE PSAPMSGPUBDATA;
truncate TABLE PSAPMSGPUBCON;
truncate TABLE PSAPMSGSUBCON;
truncate TABLE PSAPMSGPUBERR;
truncate TABLE PSAPMSGPUBERRP;
truncate TABLE PSAPMSGPUBCERR;
truncate TABLE PSAPMSGPUBCERRP;
truncate TABLE PSAPMSGSUBCERR;
truncate TABLE PSAPMSGSUBCERRP;
truncate TABLE PSAPMSGPCONDATA;
truncate TABLE PSAPMSGSCONDATA;
truncate TABLE PSIBERR;
truncate TABLE PSIBERRP;
truncate TABLE PSIBDEBUGLOG;
truncate TABLE PSAPMSGIBATTR;
truncate TABLE PSIBAEATTR;
truncate TABLE PSIBRELMSGSEQ;
truncate TABLE PSIBRELMSGHDR;
truncate TABLE PSIBRELMSGDATA;
truncate TABLE PSAPMSGDOMSTAT;
truncate TABLE PSAPMSGDSPSTAT;
-- synchronous core tables:
truncate TABLE PSIBLOGHDR;
truncate TABLE PSIBLOGDATA;
truncate TABLE PSIBLOGERR;
truncate TABLE PSIBLOGERRP;
truncate TABLE PSIBLOGIBINFO;
-- archive tables:
truncate TABLE PSAPMSGARCHPH;
truncate TABLE PSAPMSGARCHPD;
truncate TABLE PSAPMSGARCHPC;
truncate TABLE PSAPMSGARCHSC;
truncate TABLE PSAPMSGARCHPT;
truncate TABLE PSAPMSGARCHST;
truncate TABLE PSIBLOGHDRARCH;
truncate TABLE PSIBLOGDATAARCH;
truncate TABLE PSIBLOGIBINFOAR;
-- lock tables:
truncate TABLE PSIBFCLOCK;
truncate TABLE PSIBADSLOCK;
-- node tables:
truncate TABLE PSNODESDOWN;


想了解更多可以搜索公众号“萧闹闹”

如果感到对您有帮助没准儿你就会赞赏,iOS 专用赞赏通道:

原文地址:https://www.cnblogs.com/eason-liu/p/7266639.html