: !/bin/sh if [ -z "$includeservice" ]; then includeservice="0" fi if [ -n "$2" ]; then includeservice="1" fi if [ "$1" = "" ]; then if [ "$includeservice" = "1" ]; then outfile="tbscustomerhierarchyservice.unl" else outfile="tbscustomerhierarchy.unl" fi else outfile="$1" fi # Testing if [ "$includeservice" = "1" ]; then cp tbscustomerhierarchyservice.unl "$outfile" else cp tbscustomerhierarchy.unl "$outfile" fi exit 0 ## view created by Robyn 18/05/2010 #tbssql > "$outfile" < "$outfile" < "$outfile" <