{"id":4104,"date":"2013-09-30T13:56:40","date_gmt":"2013-09-30T08:26:40","guid":{"rendered":"http:\/\/erpschools.com\/?p=4104"},"modified":"2013-09-30T13:56:40","modified_gmt":"2013-09-30T08:26:40","slug":"trace-details-concurrent-request-along-log-output-file-location-details","status":"publish","type":"post","link":"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details","title":{"rendered":"Trace details for a concurrent request along with the log and output file location details"},"content":{"rendered":"<p>Script to get Trace details for a concurrent request along with the log file and output file location details<\/p>\n<p><code><\/p>\n<p>SELECT 'Request id: '<br \/>\n  || request_id,<br \/>\n  'Trace id: '<br \/>\n  || oracle_process_id,<br \/>\n  'Trace Flag: '<br \/>\n  || req.enable_trace,<br \/>\n  'Trace Name: '<br \/>\n  || dest.VALUE<br \/>\n  || '\/'<br \/>\n  || LOWER (dbnm.VALUE)<br \/>\n  || '_ora_'<br \/>\n  || oracle_process_id<br \/>\n  || '.trc',<br \/>\n  'Prog. Name: '<br \/>\n  || prog.user_concurrent_program_name,<br \/>\n  'File Name: '<br \/>\n  || execname.execution_file_name<br \/>\n  || execname.subroutine_name,<br \/>\n  'Status : '<br \/>\n  || DECODE (phase_code, 'R', 'Running')<br \/>\n  || '-'<br \/>\n  || DECODE (status_code, 'R', 'Normal'),<br \/>\n  'SID Serial: '<br \/>\n  || ses.sid<br \/>\n  || ','<br \/>\n  || ses.serial#,<br \/>\n  'Module : '<br \/>\n  || ses.module ,<br \/>\n  TO_CHAR(req.actual_start_date,'DD-MON-YYYY HH24:MI:SS') Request_start_date ,<br \/>\n  TO_CHAR(req.actual_completion_date,'DD-MON-YYYY HH24:MI:SS') Request_completion_date ,<br \/>\n  req.logfile_name ,<br \/>\n  req.outfile_name ,<br \/>\n  req.argument_text parameters_passed<br \/>\nFROM fnd_concurrent_requests req,<br \/>\n  v$session ses,<br \/>\n  v$process PROC,<br \/>\n  v$parameter dest,<br \/>\n  v$parameter dbnm,<br \/>\n  fnd_concurrent_programs_vl prog,<br \/>\n  fnd_executables execname<br \/>\nWHERE req.request_id           = :p_request_id<br \/>\nAND req.oracle_process_id      = proc.spid(+)<br \/>\nAND proc.addr                  = ses.paddr(+)<br \/>\nAND dest.NAME                  = 'user_dump_dest'<br \/>\nAND dbnm.NAME                  = 'db_name'<br \/>\nAND req.concurrent_program_id  = prog.concurrent_program_id<br \/>\nAND req.program_application_id = prog.application_id<br \/>\nAND prog.application_id        = execname.application_id<br \/>\nAND prog.executable_id         = execname.executable_id<br \/>\n;<\/p>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Script to get Trace details for a concurrent request along with the log file and output file location details SELECT &#8216;Request id: &#8216; || request_id, &#8216;Trace id: &#8216; || oracle_process_id, &#8216;Trace Flag: &#8216; || req.enable_trace, &#8216;Trace Name: &#8216; || dest.VALUE || &#8216;\/&#8217; || LOWER (dbnm.VALUE) || &#8216;_ora_&#8217; || oracle_process_id || &#8216;.trc&#8217;, &#8216;Prog. Name: &#8216; || [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-4104","post","type-post","status-publish","format-standard","hentry","category-sysadmin-aol"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Trace details of a concurrent request with log,output file location<\/title>\n<meta name=\"description\" content=\"script to get Trace details for a concurrent request along with the log file and output file location details\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prudhvi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details#article\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details\"},\"author\":{\"name\":\"Prudhvi\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512\"},\"headline\":\"Trace details for a concurrent request along with the log and output file location details\",\"datePublished\":\"2013-09-30T08:26:40+00:00\",\"dateModified\":\"2013-09-30T08:26:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details\"},\"wordCount\":34,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\"},\"articleSection\":[\"Sysadmin and AOL Scripts\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details\",\"url\":\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details\",\"name\":\"Trace details of a concurrent request with log,output file location\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#website\"},\"datePublished\":\"2013-09-30T08:26:40+00:00\",\"dateModified\":\"2013-09-30T08:26:40+00:00\",\"description\":\"script to get Trace details for a concurrent request along with the log file and output file location details\",\"breadcrumb\":{\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/erpschools.com\/erps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Trace details for a concurrent request along with the log and output file location details\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/erpschools.com\/erps\/#website\",\"url\":\"https:\/\/erpschools.com\/erps\/\",\"name\":\"erpSchools\",\"description\":\"Oracle Apps\",\"publisher\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/erpschools.com\/erps\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\",\"name\":\"erpSchools\",\"url\":\"https:\/\/erpschools.com\/erps\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png\",\"contentUrl\":\"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png\",\"width\":250,\"height\":60,\"caption\":\"erpSchools\"},\"image\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"http:\/\/facebook.com\/erpschools\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512\",\"name\":\"Prudhvi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g\",\"caption\":\"Prudhvi\"},\"sameAs\":[\"http:\/\/www.erpschools.com\"],\"url\":\"https:\/\/erpschools.com\/erps\/author\/prudhvi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Trace details of a concurrent request with log,output file location","description":"script to get Trace details for a concurrent request along with the log file and output file location details","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details","twitter_misc":{"Written by":"Prudhvi","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details#article","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details"},"author":{"name":"Prudhvi","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512"},"headline":"Trace details for a concurrent request along with the log and output file location details","datePublished":"2013-09-30T08:26:40+00:00","dateModified":"2013-09-30T08:26:40+00:00","mainEntityOfPage":{"@id":"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details"},"wordCount":34,"commentCount":0,"publisher":{"@id":"https:\/\/erpschools.com\/erps\/#organization"},"articleSection":["Sysadmin and AOL Scripts"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details#respond"]}]},{"@type":"WebPage","@id":"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details","url":"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details","name":"Trace details of a concurrent request with log,output file location","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/#website"},"datePublished":"2013-09-30T08:26:40+00:00","dateModified":"2013-09-30T08:26:40+00:00","description":"script to get Trace details for a concurrent request along with the log file and output file location details","breadcrumb":{"@id":"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/erpschools.com\/erps\/scripts\/sysadmin-aol\/trace-details-concurrent-request-along-log-output-file-location-details#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/erpschools.com\/erps"},{"@type":"ListItem","position":2,"name":"Trace details for a concurrent request along with the log and output file location details"}]},{"@type":"WebSite","@id":"https:\/\/erpschools.com\/erps\/#website","url":"https:\/\/erpschools.com\/erps\/","name":"erpSchools","description":"Oracle Apps","publisher":{"@id":"https:\/\/erpschools.com\/erps\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/erpschools.com\/erps\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/erpschools.com\/erps\/#organization","name":"erpSchools","url":"https:\/\/erpschools.com\/erps\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/","url":"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png","contentUrl":"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png","width":250,"height":60,"caption":"erpSchools"},"image":{"@id":"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/erpschools"]},{"@type":"Person","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512","name":"Prudhvi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g","caption":"Prudhvi"},"sameAs":["http:\/\/www.erpschools.com"],"url":"https:\/\/erpschools.com\/erps\/author\/prudhvi"}]}},"_links":{"self":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/4104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/comments?post=4104"}],"version-history":[{"count":0,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/4104\/revisions"}],"wp:attachment":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/media?parent=4104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/categories?post=4104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/tags?post=4104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}