title: Unix shell script run SQL scripts in parallel
body: <p>How do I setup this KornShell (ksh) script to run SQL scripts 2,3 in <strong>parallel</strong> after tst1.sql is done then run tst4.sql after 2,3 are complete? Is this possible?</p>
  
  <pre><code>#/usr/bin/ksh
  #SET ENVIRONMENT ORACLE
  
  sqlplus user1/pw @/home/scripts/tst1.sql
  sqlplus user1/pw @/home/scripts/tst2.sql
  sqlplus user1/pw @/home/scripts/tst3.sql
  sqlplus user1/pw @/home/scripts/tst4.sql
  exit 0
  </code></pre>