TMP=tmp$$

rm -fr testout.raw
./script > $TMP 2>&1
if test -f testout1
then
	$MSTDBSPATH/$MSTMAJOR/_prexpt testout1 >> $TMP 2>&1
	mv testout1 testout.raw
fi

sed -e "
s;$MSTESTDB;DB;g
s/$MSTESTUSER/ME/g
s/MSVALIDATESIZE=.../MSVALIDATESIZE=<VSZ>/g
s/ Encrypted//g
/^0000000000/d
/LATIN1    /d
/EUC_JP    /d
/EUC_CN    /d
/SJIS      /d
/UTF8      /d
/O\/S /d
/Process ID.*Empress ID.*terminated/s;.*;Process ID PID (Empress ID EID) terminated;
" < $TMP > testout

rm $TMP
