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"
- nr_files=0
- for file in `ls -l /u01/EBS4/apps/apps_st/appl/xxmus/12.0.0/interface/in | grep ^- | awk '{print $9}'`
- do
- nr_files=`expr $nr_files + 1`
- CONCMSG=`noarg CONCSUB $FCP_LOGIN $RESPAPP $RESP "ASILVA" WAIT=10 CONCURRENT $CONCAPP $CONCPRG $file`
- done
- if [ $nr_files -eq 0 ]
- then
- echo "No file found"
- exit 1
- fi
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement