DATA1=$MSTSRCMINOR/_expdat1
DATA2=$MSTSRCMINOR/_expdat2
export DATA1 DATA2

./script > testout.raw 2>&1

empsql $MSTESTDB < $MSTSRCMINOR/_script >> testout.raw 2>&1
echo "" >> testout.raw

sed -e "
s;File or directory doesn't exist;No such file or directory;
s;The system cannot find the file specified.;No such file or directory;
s;No such file or directory[ ]*$;No such file or directory;
/Process ID.*Empress ID.*terminated/s;.*;Process ID PID (Empress ID EID) terminated;
"  < testout.raw > testout
