#
# Run Autocode Job using card as input.
#
if [ "$1" = "" -o "$2" = "" -o "$3" = "" ];then
   echo "usage: runautocoder source listing object"
   exit 1
fi
rm -f sysin.txt syspun.txt sysout.txt $2 $3
#
cp $1 sysin.txt
#
# Run autocoder tape
#
i1401 -q runautocoder.cmd 
#
cp syspun.txt $3
cp sysout.txt $2
rm -f sysin.txt syspun.txt sysout.txt
rm -f scratch.mt*
