Archives of the TeradataForum
Message Posted: Thu, 02 Dec 2004 @ 15:05:34 GMT
i am a newbie to teradata and korn shell scripting.
I am trying to kick off multiple teradata scripts at the same time instead of one after the other by using a korn shell script
This is my korn shell script:
#!/usr/bin/ksh a=ud165.u38693_channel_incl_1104 for x in usm_pay sp_pay oas69_pay oas89_pay csm_epay vru_epay prem_pay do ksh $x.bteq $x $a > logs/$x.log & done
I have another job that is to run only after all the teradata jobs in the above korn shell script have completed. this job however starts immediately after the first teradata script finishes executing. I want this dependent job to only run after all the teradata scripts have finished executing.
Any suggestion on what changes I could make to my korn shell script?
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|