{"id":13437,"date":"2014-12-15T06:13:32","date_gmt":"2014-12-15T06:13:32","guid":{"rendered":"http:\/\/www.erpschools.com\/?p=13437"},"modified":"2014-12-15T06:14:05","modified_gmt":"2014-12-15T06:14:05","slug":"concsub-submit-concurrent-request-shell-scripts","status":"publish","type":"post","link":"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts","title":{"rendered":"CONCSUB : submit a concurrent request through shell scripts"},"content":{"rendered":"<p>There are mainly two functionalities of the CONCSUB utility: <\/p>\n<p>Submit Concurrent Requests and Control Concurrent Managers. <\/p>\n<p>In this article we are going to discuss how to submit a concurrent request through the Unix shell script by using the CONCSUB utility. The CONCSUB allows us to submit a concurrent program to the concurrent manager from the Operating System level without actually logging on to Oracle Applications.<\/p>\n<p>CONCSUB can be used to execute both seeded and custom programs in Oracle Applications. Custom programs must be registered in Oracle Applications before we can execute them with CONCSUB. <\/p>\n<p>Path for CONCSUB  executable : $FND_TOP\/bin\/CONCSUB.<\/p>\n<p>Syntax for CONCSUB :<br \/>\n<code><br \/>\n$CONCSUB \t\t<APPS username>\/<APPS password> \\<br \/>\n\t\t\t<responsibility application short name> \\<br \/>\n\t\t\t<responsibility name> \\<br \/>\n\t\t\t<username> \\<br \/>\n\t\t\t[WAIT=N|Y|<n seconds>] \\<\/p>\n<p>CONCURRENT \t<program application short name> \\\n\t\t\t<program name> \\<br \/>\n\t\t\t[PROGRAM_NAME=<description>] \\<br \/>\n\t\t\t[ORG_ID=<#>] - R12 onwards only<br \/>\n\t\t\t[REPEAT_TIME=<resubmission time>] \\<br \/>\n\t\t\t[REPEAT_INTERVAL= <number>] \\<br \/>\n\t\t\t[REPEAT_INTERVAL_UNIT=< resubmission unit>] \\<br \/>\n\t\t\t[REPEAT_INTERVAL_TYPE=< resubmission type>] \\<br \/>\n\t\t\t[REPEAT_END=<resubmission end date and time>] \\<br \/>\n\t\t\t[START=<date>] \\<br \/>\n\t\t\t[IMPLICIT=< type of concurrent request> \\<br \/>\n\t\t\t[<parameter 1> ... <parameter n>]<br \/>\n<\/code><\/p>\n<p>Sample shell script to submit the concurrent request using CONCSUB.<\/p>\n<p><code><br \/>\n#!\/bin\/ksh<br \/>\n#####################################################################<br \/>\n##FILENAME:<br \/>\n##DESCRIPTION:<br \/>\n##AUTHOR:<br \/>\n#####################################################################<br \/>\n## Start of shell script<br \/>\nDATE_TIME=`date '+%D %T | tr 'a-z''A-Z'`<br \/>\necho \"Starting to execute script at ${DATE_TIME}\"<br \/>\nsubmit_cc_req=`CONCSUB APPS\/APPS \\<br \/>\n               SYSADMIN \\<br \/>\n               \"System Administrator\" \\<br \/>\n               SYSADMIN \\<br \/>\n               WAIT-N \\<br \/>\n    CONCURRENT FND \\<br \/>\n               FNDSCRUR \\<br \/>\n               PROGRAM_NAME=\" Users of a Responsibility\"`<br \/>\nif[$?==0]<br \/>\nthen<br \/>\n  echo \"The concurrent request $submit_cc_req submitted successfully\".<br \/>\nelse<br \/>\n  echo \"Error in submitting the concurrent program\"<br \/>\nfi<br \/>\n## End of shell script<br \/>\n########################################################################<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are mainly two functionalities of the CONCSUB utility: Submit Concurrent Requests and Control Concurrent Managers. In this article we are going to discuss how to submit a concurrent request through the Unix shell script by using the CONCSUB utility. The CONCSUB allows us to submit a concurrent program to the concurrent manager from the [&hellip;]<\/p>\n","protected":false},"author":155,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[],"class_list":["post-13437","post","type-post","status-publish","format-standard","hentry","category-shell-script"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>concsub in shell script example<\/title>\n<meta name=\"description\" content=\"concsub in shell script example\" \/>\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\/shell-script\/concsub-submit-concurrent-request-shell-scripts\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Faheem\" \/>\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\/shell-script\/concsub-submit-concurrent-request-shell-scripts#article\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts\"},\"author\":{\"name\":\"Faheem\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/6ad40eec4222eb59cd6e58aeb38bd903\"},\"headline\":\"CONCSUB : submit a concurrent request through shell scripts\",\"datePublished\":\"2014-12-15T06:13:32+00:00\",\"dateModified\":\"2014-12-15T06:14:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts\"},\"wordCount\":123,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\"},\"articleSection\":[\"Shell Script\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts\",\"url\":\"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts\",\"name\":\"concsub in shell script example\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#website\"},\"datePublished\":\"2014-12-15T06:13:32+00:00\",\"dateModified\":\"2014-12-15T06:14:05+00:00\",\"description\":\"concsub in shell script example\",\"breadcrumb\":{\"@id\":\"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/erpschools.com\/erps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CONCSUB : submit a concurrent request through shell scripts\"}]},{\"@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\/6ad40eec4222eb59cd6e58aeb38bd903\",\"name\":\"Faheem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9c00640886eb58aadd7a4f2b049da1f79cd6e1a5983b92bc4d8883959bcafdec?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9c00640886eb58aadd7a4f2b049da1f79cd6e1a5983b92bc4d8883959bcafdec?s=96&d=blank&r=g\",\"caption\":\"Faheem\"},\"sameAs\":[\"https:\/\/www.facebook.com\/fahm89\"],\"url\":\"https:\/\/erpschools.com\/erps\/author\/faheem\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"concsub in shell script example","description":"concsub in shell script example","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\/shell-script\/concsub-submit-concurrent-request-shell-scripts","twitter_misc":{"Written by":"Faheem","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts#article","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts"},"author":{"name":"Faheem","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/6ad40eec4222eb59cd6e58aeb38bd903"},"headline":"CONCSUB : submit a concurrent request through shell scripts","datePublished":"2014-12-15T06:13:32+00:00","dateModified":"2014-12-15T06:14:05+00:00","mainEntityOfPage":{"@id":"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts"},"wordCount":123,"commentCount":2,"publisher":{"@id":"https:\/\/erpschools.com\/erps\/#organization"},"articleSection":["Shell Script"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts#respond"]}]},{"@type":"WebPage","@id":"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts","url":"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts","name":"concsub in shell script example","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/#website"},"datePublished":"2014-12-15T06:13:32+00:00","dateModified":"2014-12-15T06:14:05+00:00","description":"concsub in shell script example","breadcrumb":{"@id":"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/erpschools.com\/erps\/shell-script\/concsub-submit-concurrent-request-shell-scripts#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/erpschools.com\/erps"},{"@type":"ListItem","position":2,"name":"CONCSUB : submit a concurrent request through shell scripts"}]},{"@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\/6ad40eec4222eb59cd6e58aeb38bd903","name":"Faheem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9c00640886eb58aadd7a4f2b049da1f79cd6e1a5983b92bc4d8883959bcafdec?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9c00640886eb58aadd7a4f2b049da1f79cd6e1a5983b92bc4d8883959bcafdec?s=96&d=blank&r=g","caption":"Faheem"},"sameAs":["https:\/\/www.facebook.com\/fahm89"],"url":"https:\/\/erpschools.com\/erps\/author\/faheem"}]}},"_links":{"self":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/13437","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\/155"}],"replies":[{"embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/comments?post=13437"}],"version-history":[{"count":0,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/13437\/revisions"}],"wp:attachment":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/media?parent=13437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/categories?post=13437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/tags?post=13437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}