Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- . /appl/ibm/db2data/db2inst1/.profile
- for i in cat scripts.txt do LOG="reorgoutputdate +%d%b%y.log"
- db2 connect to con date > script${i}_$LOG; db2 -tvf cdm_REORG_Batch${i}.txt >> script${i}$LOG;date >> script${i}$LOG &
- scripts.txt content
- 1 2
- 3 4
- 5 6 7 8 9 10 NO spaces
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement