Bulk Re-Sending Batch Output to Report Repository
来源:互联网 发布:铣床加工环形槽编程 编辑:程序博客网 时间:2024/05/13 13:54
If output files from a batch process fail to post to the report repository, you can request that they are resent within Process Monitor. However, if you have had a problem with posting report output for a period of time you could have a large number of processes that have not posted, and it isn't reasonable to request that each of them are resent individually. I have not found anything delivered to repost all unposted content.
If you trace the Process Monitor while resending content for a single process you can see what is updated to force a resend.
Hence it is easy to build this simple PL/SQL loop to request to all unsent content is reposted.
As always, the standard rules for updating PeopleTools tables apply. Don't do it unless you are sure you know what you are doing, because it isn't supported, and if it goes wrong you are on your own!
If you trace the Process Monitor while resending content for a single process you can see what is updated to force a resend.
PSAPPSRV.20142 (1880) 1-16 11.07.51 0.000039 Cur#2.20142.PMONITOR RC=0 Dur=0.000025 COM Stmt=UPDATE PSPRCSRQST SET DISTSTATUS = :1 WHERE PRCSINSTANCE = :2PSAPPSRV.20142 (1880) 1-17 11.07.51 0.000009 Cur#2.20142.PMONITOR RC=0 Dur=0.000001 Bind-1 type=2 length=1 value=7PSAPPSRV.20142 (1880) 1-18 11.07.51 0.000008 Cur#2.20142.PMONITOR RC=0 Dur=0.000001 Bind-2 type=8 length=4 value=458PSAPPSRV.20142 (1880) 1-19 11.07.51 0.000886 Cur#2.20142.PMONITOR RC=0 Dur=0.000023 COM Stmt=UPDATE PSPRCSQUE SET DISTSTATUS = :1 WHERE PRCSINSTANCE = :2PSAPPSRV.20142 (1880) 1-20 11.07.51 0.000009 Cur#2.20142.PMONITOR RC=0 Dur=0.000001 Bind-1 type=2 length=1 value=7PSAPPSRV.20142 (1880) 1-21 11.07.51 0.000008 Cur#2.20142.PMONITOR RC=0 Dur=0.000001 Bind-2 type=8 length=4 value=458PSAPPSRV.20142 (1880) 1-22 11.07.51 0.000424 Cur#2.20142.PMONITOR RC=0 Dur=0.000027 COM Stmt=UPDATE PS_CDM_LIST SET DISTSTATUS = '8',TRANSFERINSTANCE = 0 WHERE PRCSINSTANCE = :1 AND DISTSTATUS <> '5'PSAPPSRV.20142 (1880) 1-23 11.07.51 0.000009 Cur#2.20142.PMONITOR RC=0 Dur=0.000001 Bind-1 type=8 length=4 value=458
Hence it is easy to build this simple PL/SQL loop to request to all unsent content is reposted.
BEGINFOR x in ( SELECT prcsinstance FROM psprcsrqst WHERE diststatus = 4 --that are not posted AND runstatus = 9 --successful processes )LOOP UPDATE PSPRCSRQST SET DISTSTATUS = '7' WHERE PRCSINSTANCE = x.prcsinstance; UPDATE PSPRCSQUE SET DISTSTATUS = '7' WHERE PRCSINSTANCE = x.prcsinstance; UPDATE PS_CDM_LIST SET DISTSTATUS = '8' , TRANSFERINSTANCE = 0 WHERE PRCSINSTANCE = x.prcsinstance AND DISTSTATUS <> '5'; --postedEND LOOP;END;/COMMIT/
As always, the standard rules for updating PeopleTools tables apply. Don't do it unless you are sure you know what you are doing, because it isn't supported, and if it goes wrong you are on your own!
- Bulk Re-Sending Batch Output to Report Repository
- 1222 sending a re-INVITE to change the session
- How To Change The Aging Report Output To PDF Format
- Sending the LINQ To SQL log to the debugger output window
- How to get files to show up in the Process Monitor/Report Repository
- Detailed Item Cost Report (XML) timed out waiting for the Output Post-processor to finish
- Sending Parameters to JasperReport
- Cognos: get output of report
- AWR (Automatic Workload Repository) Report
- logstash elasticsearch output插件的bulk提交
- Android中SDK安装出错Failed to fectch URl https://dl-ssl.google.com/android/repository/addons_list.xml, re
- Android SDK安装更新Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-2.xml, re
- Automatic Workload Repository Compare Period report
- Eclipse报错:"Re-indexing(fully)repository ***"
- Oracle 批绑定(batch bind)FORALL, BULK COLLECT
- introduction to window batch
- Report-To-Report 的Control Table
- php output to excel
- 事件的独立和事件互不相容两个概念的区别
- 安卓第十天——利用handler实现progress组件
- Verilog良好代码编写风格25条
- JQM属性
- android edittext 输入长度限制并提示
- Bulk Re-Sending Batch Output to Report Repository
- 集成电路的设计流程
- QMainWindow之Dock Widget若干BUG小记
- Oracle中查看已执行sql的执行计划
- org.jbpm.configuration.ConfigurationException: name 'default.jbpm.context'
- poll push 设计模式
- HTML5 Tutorial
- jQuery官方基础教程笔记
- XCode 4 Distribution App to AppStore