You are on page 1of 3

10/27/21, 12:48 PM concsub in shell script example

< https://erpschools.com/erps/>

CONCSUB : submit a concurrent request


through shell scripts

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 Operating
System level without actually logging on to Oracle Applications.

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.

Path for CONCSUB executable : $FND_TOP/bin/CONCSUB.

Syntax for CONCSUB :

https://erpschools.com/erps/shell-script/concsub-submit-concurrent-request-shell-scripts 1/3
10/27/21, 12:48 PM concsub in shell script example

1 $CONCSUB / \
2 \
3 \
4 \
5 [WAIT=N|Y|] \
6  
7 CONCURRENT \
8 \
9 [PROGRAM_NAME=] \
10 [ORG_ID=<#>] - R12 onwards only
11 [REPEAT_TIME=] \
12 [REPEAT_INTERVAL= ] \
13 [REPEAT_INTERVAL_UNIT=< resubmission unit>] \
14 [REPEAT_INTERVAL_TYPE=< resubmission type>] \
15 [REPEAT_END=] \
16 [START=] \
17 [IMPLICIT=< type of concurrent request> \
18 [ ... ]

Sample shell script to submit the concurrent request using CONCSUB.

1 #!/bin/ksh
2 #####################################################################
3 ##FILENAME:
4 ##DESCRIPTION:
5 ##AUTHOR:
6 #####################################################################
7 ## Start of shell script
8 DATE_TIME=`date '+%D %T | tr 'a-z''A-Z'`
9 echo "Starting to execute script at ${DATE_TIME}"
10 submit_cc_req=`CONCSUB APPS/APPS \
11 SYSADMIN \
12 "System Administrator" \
13 SYSADMIN \
14 WAIT-N \
15 CONCURRENT FND \
16 FNDSCRUR \
17 PROGRAM_NAME=" Users of a Responsibility"`
18 if[$?==0]
19 then
20 echo "The concurrent request $submit_cc_req submitted successfully".
21 else
22 echo "Error in submitting the concurrent program"
23 fi
24 ## End of shell script
25 ########################################################################

2 comments

https://erpschools.com/erps/shell-script/concsub-submit-concurrent-request-shell-scripts 2/3
10/27/21, 12:48 PM concsub in shell script example

Sudeep Sasmal
August 12, 2015 at 7:08 am

Nice Article

Arun
October 29, 2015 at 1:51 pm

Good One!

Comments are closed.

< HTTPS://ERPSCHOOLS.COM/ERPS/>
Proudly powered by WordPress < https://wordpress.org/> .

https://erpschools.com/erps/shell-script/concsub-submit-concurrent-request-shell-scripts 3/3

You might also like