Ignore:
Timestamp:
02/07/06 10:53:42 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7479 r7482  
    5050
    5151
     52#failed codes
     53#sequence build status
     54Fbuildsequ=1
     55Fdoexcl=2
     56#run process status
     57Ftimecorr=3
     58Ffillraw=4
     59Fsinope=5
     60Ffillsinope=6
     61Fresetexcl=7
     62#sequence process status
     63Fwritesequfile=8
     64Ffilesavail=9
     65Fnoccfile=10
     66Fnocacofile=11
     67Fmerppcc=12
     68Fmerppcaco=13
     69Fcallisto=14
     70Ffillcalib=15
     71Ffillsignal=16
     72Fstar=17
     73Ffillstar=18
     74#dataset process status
     75Fstardone=19
     76Fganymed=20
     77Ffillganymed=21
     78
     79
     80
    5281function finish()
    5382{
     
    97126   statustime=NULL
    98127   starttime=NULL
     128   returncode=NULL
    99129   failedcode=NULL
    100    failedcomment=NULL
     130   failedcodeadd=NULL
    101131   failedtime=NULL
    102132}
     
    107137   echo " statustime=$statustime"
    108138   echo " starttime=$starttime"
     139   echo " returncode=$returncode"
    109140   echo " failedcode=$failedcode"
    110    echo " failedcomment=$failedcomment"
     141   echo " failedcodeadd=$failedcodeadd"
    111142   echo " failedtime=$failedtime"
    112143   echo "-- check: -$check-"
     
    129160                  *)  echo " failed"
    130161                      starttime=noreset
    131                       failedcode=$check
    132                       failedcomment=$com
     162                      returncode=$check
     163                      failedcode=$com
     164                      failedcodeadd=$comadd
    133165                      failedtime="Now()"
    134166                      ;;
     
    145177   makedir $setstatuslogpath
    146178   setstatuslog=$setstatuslogpath/setstatus-$@-$program-$var2.log
    147    checkstatus=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"$statustime\""\,"\"$failedcode\""\,"\"$failedcomment\""\,"\"$starttime\""\,"\"$failedtime\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
     179   checkstatus=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"$statustime\""\,"\"$returncode\""\,"\"$failedcode\""\,"\"$failedcodeadd\""\,"\"$starttime\""\,"\"$failedtime\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    148180   case $checkstatus in
    149181      1)   echo "checkstatus=$checkstatus -> everything ok, status has been set";;
Note: See TracChangeset for help on using the changeset viewer.