:
#! /bin/sh
###############################################################################
#  The BYTE UNIX Benchmarks - Release 2
#          Module: dbprep   SID: 2.1 8/6/89 22:24:33
#          
###############################################################################
# Bug reports, patches, comments, suggestions should be sent to:
#
#	Ben Smith or Rick Grehan at BYTE Magazine
#	ben@bytepb.UUCP    rick_g@bytepb.UUCP
#
###############################################################################
#  Modification Log:
#
###############################################################################
ID="@(#)dbprep:2.1 -- 8/6/89 22:24:33";
rm -f $1  			# remove the old file

if test -f $1			# be sure it is gone - don't want
then 				# to change file size by appending to it
   exit 1
fi

if ${BINDIR}/buildbms $1 $2	# build the data file
then
   ${BINDIR}/dbmserv $1 $3 &    # start the database server
else
   echo "dbprep error"
   exit 1
fi
