: !/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 #includeservice="1" #outfile="gth1.unl" ##if [ "$includeservice" = "1" ]; then ## # used by gett21groups4 ## cp tbscustomerhierarchyservice.unl "$outfile" ## #cp tbscustomerhierarchyservice.test.unl "$outfile" ##else ## # used by WBDM ## cp tbscustomerhierarchy.unl "$outfile" ## #cp tbscustomerhierarchy.test.unl "$outfile" ##fi ##exit 0 # don't use view anymore 9/6/2011 ## view created by Robyn 18/05/2010 #tbssql > "$outfile" < "$outfile" < "$outfile" <