Concurrent FND scripts
$FND_TOP/sql 下有很多现成Concurrent Program相关脚本
afcmstat.sql Lists active manager processes
afrqrun.sql Lists all the running, waiting and Terminating requests(列出所有正在Running的脚本)
afrqwait.sql Lists requests that are constrained and waiting for the ICM to release them.
afrqscm.sql Prints log file name of managers that can run a given request.
afcmcreq.sql Prints the log file name of the manager that processed the request
afrqstat.sql Summary of completed concurrent requests grouped by completion status and execution type..
afimlock.sql Lists locks that the ICM is waiting to get
afcmrrq.sql Lists managers that currently are running a request
Note:ICM means Internal Concurrent Manager
运行方法
1.登陆Sqlplus,eg. sqlplus apps/apps@instance
2.Sqlplus下,执行
SQL> @$FND_TOP/sql/afimchk.sql

Common SQL Decodes - FCR
Common SQL Decodes - FCR
DECODE(fcr.phase_code,
'C', 'Completed',
'I', 'Inactive',
'P', 'Pending',
'R', 'Running',
fcr.phase_code)
...
FROM fnd_concurrent_requests fcr
DECODE(fcr.status_code,
'A', 'Waiting', 'B', 'Resuming',
'C', 'Normal', 'D', 'Cancelled',
'E', 'Errored', 'F', 'Scheduled',
'G', 'Warning', 'H', 'On Hold',
'I', 'Normal', 'M', 'No Manager',
'Q', 'Standby', 'R', 'Normal',
'S', 'Suspended', 'T', 'Terminating',
'U', 'Disabled', 'W', 'Paused',
'X', 'Terminated', 'Z', 'Waiting',
fcr.status_code)
...
FROM fnd_concurrent_requests fcr
Common SQL Decodes - FCPG
DECODE (fcpg.execution_method_code,
'A', 'Spawned',
'F', 'Flexsql',
'H', 'Host',
'I', 'PL/SQL',
'L', 'SQL*Loader',
'P', 'Oracle Rpt',
'Q', 'SQL*Plus',
'R', 'SQL*Report',
'S', 'Immediate',
'X', 'FlexRpt',
fcpg.execution_method_code),
...
FROM fnd_concurrent_programs fcpg
转载请注明出处:http://blog.youkuaiyun.com/pan_tian/article/details/7702645
======EOF======
并发程序管理脚本指南
本文介绍了FND_TOP/sql目录下用于管理并发程序状态的常用脚本,包括ICM状态检查、活动进程列表、请求状态查询等。

被折叠的 条评论
为什么被折叠?



