﻿{"id":1836,"date":"2021-02-25T15:18:21","date_gmt":"2021-02-25T07:18:21","guid":{"rendered":"https:\/\/www.llku.com\/?p=1836"},"modified":"2021-02-25T15:18:21","modified_gmt":"2021-02-25T07:18:21","slug":"oracle%e8%ae%a1%e5%88%92%e8%af%b7%e6%b1%82%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/www.llku.com\/?p=1836","title":{"rendered":"Oracle\u8ba1\u5212\u8bf7\u6c42\u4fe1\u606f"},"content":{"rendered":"<p>SELECT fcp.concurrent_program_name \u5e76\u53d1\u4ee3\u7801,<br \/>\ndecode(fcre.description,<br \/>\nNULL,<br \/>\nfcpt.user_concurrent_program_name,<br \/>\nfcre.description || &#8216; (&#8216; || fcpt.user_concurrent_program_name || &#8216;)&#8217;) \u8bf7\u6c42\u540d\u79f0,<br \/>\nfu.user_name \u7528\u6237\u540d,<br \/>\nconc.request_id \u8bf7\u6c42ID,<br \/>\nconc.root_request_id \u7236\u8bf7\u6c42ID,<br \/>\ndecode(fcre.status_code,<br \/>\n&#8216;D&#8217;,<br \/>\n&#8216;Cancelled&#8217;,<br \/>\n&#8216;U&#8217;,<br \/>\n&#8216;Disabled&#8217;,<br \/>\n&#8216;E&#8217;,<br \/>\n&#8216;Error&#8217;,<br \/>\n&#8216;M&#8217;,<br \/>\n&#8216;No Manager&#8217;,<br \/>\n&#8216;R&#8217;,<br \/>\n&#8216;Normal&#8217;,<br \/>\n&#8216;H&#8217;,<br \/>\n&#8216;On Hold&#8217;,<br \/>\n&#8216;W&#8217;,<br \/>\n&#8216;Paused&#8217;,<br \/>\n&#8216;B&#8217;,<br \/>\n&#8216;Resuming&#8217;,<br \/>\n&#8216;I&#8217;,<br \/>\n&#8216;Scheduled&#8217;,<br \/>\n&#8216;Q&#8217;,<br \/>\n&#8216;Standby&#8217;,<br \/>\n&#8216;S&#8217;,<br \/>\n&#8216;Suspended&#8217;,<br \/>\n&#8216;X&#8217;,<br \/>\n&#8216;Terminated&#8217;,<br \/>\n&#8216;T&#8217;,<br \/>\n&#8216;Terminating&#8217;,<br \/>\n&#8216;A&#8217;,<br \/>\n&#8216;Waiting&#8217;,<br \/>\n&#8216;G&#8217;,<br \/>\n&#8216;Warning&#8217;) \u8bf7\u6c42\u72b6\u6001,<\/p>\n<p>fcre.argument_text \u8bf7\u6c42\u53c2\u6570,<br \/>\nsche.job_class \u8ba1\u5212\u7c7b\u578b,<br \/>\nsche.class_info \u9891\u7387<\/p>\n<p>FROM apps.fnd_concurrent_programs fcp,<br \/>\napps.fnd_concurrent_programs_tl fcpt,<br \/>\napps.fnd_concurrent_requests fcre,<br \/>\napps.fnd_user fu,<br \/>\n(SELECT owner_req_id,<br \/>\ndate1 start_date,<br \/>\ndate2 end_date,<br \/>\ndecode(class_type, &#8216;S&#8217;, &#8216;Specific Days&#8217;, &#8216;P&#8217;, &#8216;Periodically&#8217;) job_class,<br \/>\ndecode(class_type,<br \/>\n&#8216;P&#8217;,<br \/>\nsubstr(class_info, 1, instr(class_info, &#8216;:&#8217;) &#8211; 1) ||<br \/>\ndecode(substr(class_info, instr(class_info, &#8216;:&#8217;) + 1, 1),<br \/>\n&#8216;D&#8217;,<br \/>\n&#8216;Days&#8217;,<br \/>\n&#8216;H&#8217;,<br \/>\n&#8216;Hours&#8217;,<br \/>\n&#8216;N&#8217;,<br \/>\n&#8216;Minutes&#8217;,<br \/>\n&#8216;M&#8217;,<br \/>\n&#8216;Months&#8217;,<br \/>\n&#8216;W&#8217;,<br \/>\n&#8216;Weeks&#8217;),<br \/>\n&#8216;S&#8217;,<br \/>\nclass_info) class_info<br \/>\nFROM apps.fnd_conc_release_classes fcr<\/p>\n<p>WHERE class_type IN (&#8216;S&#8217;, &#8216;P&#8217;) &#8211;Periodically and Specific Concurrent<br \/>\nAND enabled_flag = &#8216;Y&#8217;<br \/>\nAND (date2 IS NULL OR date2 &gt; SYSDATE)<br \/>\nAND owner_req_id IS NOT NULL) sche,<\/p>\n<p>(SELECT MAX(request_id) request_id, root_request_id<br \/>\nFROM apps.fnd_concurrent_requests<br \/>\nWHERE root_request_id IN<br \/>\n(SELECT nvl(root_request_id, request_id) request_id<br \/>\nFROM apps.fnd_concurrent_requests<br \/>\nWHERE request_id IN<br \/>\n(SELECT owner_req_id<br \/>\nFROM apps.fnd_conc_release_classes fcr<br \/>\nWHERE class_type IN (&#8216;S&#8217;, &#8216;P&#8217;) &#8211;Periodically and Specific Concurrent<br \/>\nAND enabled_flag = &#8216;Y&#8217;<br \/>\nAND (date2 IS NULL OR date2 &gt; SYSDATE)<br \/>\nAND owner_req_id IS NOT NULL)<br \/>\nAND status_code &lt;&gt; &#8216;D&#8217;)<br \/>\nGROUP BY root_request_id) concWHERE fcp.concurrent_program_id = fcpt.concurrent_program_id<br \/>\nAND fcpt.language = &#8216;ZHS&#8217;<br \/>\nAND fcp.concurrent_program_id = fcre.concurrent_program_id<br \/>\nAND fcre.status_code NOT IN (&#8216;D&#8217;, &#8216;X&#8217;, &#8216;U&#8217;) &#8211;Cancelled and Terminated and Disabled<br \/>\nAND fcre.request_id = conc.request_id<br \/>\nAND conc.request_id = sche.owner_req_id<br \/>\nAND fcre.requested_by = fu.user_id<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SELECT fcp.concurrent_program_name \u5e76\u53d1\u4ee3\u7801, decode(fcre.de &hellip; <a href=\"https:\/\/www.llku.com\/?p=1836\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Oracle\u8ba1\u5212\u8bf7\u6c42\u4fe1\u606f<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[274,275],"_links":{"self":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/1836"}],"collection":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1836"}],"version-history":[{"count":1,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/1836\/revisions"}],"predecessor-version":[{"id":1837,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/1836\/revisions\/1837"}],"wp:attachment":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}