Advertisement
Guest User

Untitled

a guest
Aug 29th, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ########################################################################
  2. # Set the variables for running concurrent program.
  3. ########################################################################
  4. CONCPRG="XXMUSAPVISA"
  5. CONCAPP="XXMUS"
  6. RESPAPP="SQLAP"
  7. RESP="Group ROI Payables Manager"
  8. USERNAM=`echo $1 | cut -d ' ' -f 5 | cut -d '"' -f 2`
  9. FILENAME="/u01/EBS4/apps/apps_st/appl/xxmus/12.0.0/interface/in/test1.txt"
  10. ########################################################################
  11.  
  12. CONCMSG=`CONCSUB $FCP_LOGIN $RESPAPP $RESP $USERNAM WAIT=10 CONCURRENT $CONCAPP $CONCPRG $FILENAME`
  13.  
  14. echo "----"
  15. echo $CONCMSG
  16. echo "----"
  17.  
  18. reqid=""
  19. reqid=`echo $CONCMSG | cut -d " " -f 3`
  20. CONCMSG=`echo $CONCMSG | cut -d'"' -f3`
  21. y=""
  22. y=`echo $reqid | grep "^[0-9]"`
  23. if [ $? -ne 0 ]
  24. then
  25. echo "Failed to schedule SMARCONSS thru Control-M option ...\n"
  26. exit 1
  27. else
  28. exit 0
  29. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement