I havea simple requirement, But I do not know to execute in ksh.
Here is the reqt.
I have aseries of jobs that has to run in certain order
-First, Run- nuphup Task1.sas & and nohup Task2.sas & parallely(simultaneously)
-Second- Wait till Task1.sas and Task2.sas is complete (RC=0)
-Third-When the above 2 tasks are complete execute nohup Task3.sas &, nohup Task4.sas &, nohup Task5.sas & in parallel (sumultaneously)
-Fourth- When the Third job completes (RC=0) execute nohup Task6.sas &
Once all the tksks are complete -email that all tasks are complete
Can you help me create a .ksh script to accomplish the above