my $SID=shift; my $cmd="ksh /my_location/switchdb.ksh $SID"; system($cmd);