Concurrent FND scripts & Related Common SQL Decodes

Concurrent FND scripts

$FND_TOP/sql 下有很多现成Concurrent Program相关脚本


afimchk.sql Tells the status of the ICM

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

phase_code & status_code & execution_method_code的意义

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.csdn.net/pan_tian/article/details/7702645

======EOF======

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值