BTEQ Wrapper
#! /bin/ksh
filename=$1
echo $filename
. /pkg1/Informatica/PowerCenter860/server/infa_shared/UnixScripts/DataInt/TD/hoovers_etl.env
bteq <<stop>/pkg1/Informatica/PowerCenter860/server/infa_shared/UnixScripts/DataInt/TD/logs/loader/$(date +"20%y%m%d")/$(echo $filename|cut -c85-100).log 2>&1
logon $TDPID/$TDUSER,$TDPASS;
.RUN FILE=$filename;
EXIT;
STOP
Comments
Post a Comment