Ignore:
Timestamp:
01/30/06 17:13:07 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r7460 r7465  
    6060   fi
    6161}
     62
     63function setstatus()
     64{
     65   setstatuslogpath=$logpath/setstatus/$program/$var1
     66   makedir $setstatuslogpath >> $scriptlog 2>&1
     67   setstatuslog=$setstatuslogpath/setstatus-$program-$var2.log
     68   checkstatus=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"$statustime\""\,"\"$failed\""\,"\"$starttime\""\,"\"$failedtime\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
     69   case $checkstatus in
     70      1)   echo "checkstatus=$checkstatus -> everything ok, status has been set" >> $scriptlog 2>&1;;
     71      *)   echo "checkstatus=$checkstatus -> ERROR -> step could not be set" >> $scriptlog 2>&1;;
     72   esac
     73}
Note: See TracChangeset for help on using the changeset viewer.