title: Wait for end of sql loader work before execute sql script in unix bash file
body: <p>Tomorrow will be a work day for me =(. 
  Colls, i need that sql script wait an end of sql*loader work in my -bash script. Is it right code below?:</p>
  
  <pre><code>#!/bin/bash
  
  echo -------- uploader.sh v 0.1 --------
  # @echo; 
  
  export NLS_LANG=russian_cis.ru8pc866
  export NLS_NUMERIC_CHARACTERS='.'
  
  ORACLE_HOME=/opt/app/oracle/product/10.2.0/db_1/bin
  export ORACLE_HOME
  PATH=$ORACLE_HOME
  export PATH
  
  sqlldr userid=myscheme/0611@TEST_DB control=control_file.ctl LOG=test_log.log errors=100
  
  
  wait #here i want to wait sqlloader executing
  
  sqlplus userid=myscheme/0611@TEST_DB 10.33.19.13/test/DATA_UPLOAD/mysql_script.sql
  </code></pre>
  
  <p>I've read about wait function <a href="http://unstableme.blogspot.com/2008/06/bash-wait-command.html" rel="nofollow">here</a>.</p>