Changeset 7470 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/31/06 17:51:25 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7467 r7470  
    109109   esac
    110110   check=
    111    
     111
     112#   printstatusvalues
    112113   # set status
    113114   setstatuslogpath=$logpath/setstatus/$program/$var1
    114    makedir $setstatuslogpath >> $scriptlog 2>&1
     115   makedir $setstatuslogpath
    115116   setstatuslog=$setstatuslogpath/setstatus-$@-$program-$var2.log
    116117   checkstatus=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"$statustime\""\,"\"$failedcode\""\,"\"$failedcomment\""\,"\"$starttime\""\,"\"$failedtime\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    117118   case $checkstatus in
    118       1)   echo "checkstatus=$checkstatus -> everything ok, status has been set" >> $scriptlog 2>&1;;
    119       *)   echo "checkstatus=$checkstatus -> ERROR -> step could not be set" >> $scriptlog 2>&1;;
     119      1)   echo "checkstatus=$checkstatus -> everything ok, status has been set"
     120      *)   echo "checkstatus=$checkstatus -> ERROR -> step could not be set"
    120121   esac
    121122}
Note: See TracChangeset for help on using the changeset viewer.