#!/bin/sh

# set global env setting
. /opt/jilroy/checkit//bin/env

if [ "$1" = "" ]
then
	echo  'usage:  importcsv2table instructions_csv_file_name
		where the instructions file structrue is:	
		    line1:TableName 
		    line2:CSVFileName 
		    line3:SeperatorString
		    line4:ReplaceSeperatorString
    
		The program imports a given table from a CSV file.'   
else
	# parameters application_config_filer run_mode csv_file
	$RUN_JAVA com.rj.common.database.SQLUtilitiesMain $APP_CONFIG_FILE CSV2Table $1
fi


