Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################################################################
- # Set the variables for running concurrent program.
- ########################################################################
- CONCPRG="XXMUSAPVISA"
- CONCAPP="XXMUS"
- RESPAPP="SQLAP"
- RESP="Group ROI Payables Manager"
- USERNAM=`echo $1 | cut -d ' ' -f 5 | cut -d '"' -f 2`
- FILENAME="/u01/EBS4/apps/apps_st/appl/xxmus/12.0.0/interface/in/test1.txt"
- ########################################################################
- CONCMSG=`CONCSUB $FCP_LOGIN \
- $RESPAPP \
- $RESP \
- $USERNAM \
- WAIT=10 \
- CONCURRENT \
- $CONCAPP \
- $CONCPRG
- $FILENAME`
- echo "----"
- echo $CONCMSG
- echo "----"
- reqid=""
- reqid=`echo $CONCMSG | cut -d " " -f 3`
- CONCMSG=`echo $CONCMSG | cut -d'"' -f3`
- y=""
- y=`echo $reqid | grep "^[0-9]"`
- if [ $? -ne 0 ]
- then
- echo "Failed to schedule SMARCONSS thru Control-M option ...\n"
- exit 1
- else
- exit 0
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement