Advertisement
Guest User

Untitled

a guest
Aug 29th, 2014
218
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 \
  13. $RESPAPP \
  14. $RESP \
  15. $USERNAM \
  16. WAIT=10 \
  17. CONCURRENT \
  18. $CONCAPP \
  19. $CONCPRG
  20. $FILENAME`
  21.  
  22. echo "----"
  23. echo $CONCMSG
  24. echo "----"
  25.  
  26. reqid=""
  27. reqid=`echo $CONCMSG | cut -d " " -f 3`
  28. CONCMSG=`echo $CONCMSG | cut -d'"' -f3`
  29. y=""
  30. y=`echo $reqid | grep "^[0-9]"`
  31. if [ $? -ne 0 ]
  32. then
  33. echo "Failed to schedule SMARCONSS thru Control-M option ...\n"
  34. exit 1
  35. else
  36. exit 0
  37. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement