Advertisement
Guest User

Untitled

a guest
Aug 29th, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.61 KB | None | 0 0
  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.  
  9. nr_files=0
  10. for file in `ls -l /u01/EBS4/apps/apps_st/appl/xxmus/12.0.0/interface/in | grep ^- | awk '{print $9}'`
  11. do
  12. nr_files=`expr $nr_files + 1`
  13. CONCMSG=`noarg CONCSUB $FCP_LOGIN $RESPAPP $RESP "ASILVA" WAIT=10 CONCURRENT $CONCAPP $CONCPRG $file`
  14. done
  15. if [ $nr_files -eq 0 ]
  16. then
  17.     echo "No file found"
  18.     exit 1
  19. fi
  20. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement