#!/bin/sh
export INSTHOME=/db2home/db2inst2
date >> $INSTHOME/write_resume.log
echo "----START RESUME----" >> $INSTHOME/write_resume.log << EOF
EOF
$INSTHOME/sqllib/bin/db2 connect to test >> $INSTHOME/write_resume.log
echo "+++" >> $INSTHOME/write_resume.log << EOF_1
EOF_1
$INSTHOME/sqllib/bin/db2 set write resume for database >> $INSTHOME/write_resume.log
echo "+++" >> $INSTHOME/write_resume.log << EOF_2
EOF_2
echo "----END----" >> $INSTHOME/write_resume.log << EOF_3
EOF_3