##############################################################################
#
#
aiswitchall.sh
#
# This
shell script runs aiswitch.sh for all databases that needed.
#
#
Syntax: aiswitch.sh database-directory database-name
#
##############################################################################
. v10 #
your script where you set up DLC, etc
#
directory with all replication scripts on the box with source db, including
this one
export
EXECDIR=/Main_replication_dir
#
Database1
${EXECDIR}/aiswitch.sh
/Database1-dir Database1-name
# May
be you have more than one database
${EXECDIR}/aiswitch.sh
/Database2-dir Database1-name