Changeset 7503 for trunk/MagicSoft


Ignore:
Timestamp:
02/14/06 15:40:16 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7501 r7503  
    2121
    2222   * datacenter/scripts/sourcefile:
    23      - fixed small bug
     23     - fixed small bugs
    2424
    2525   * datacenter/scripts/movingrawfiles:
     
    3232     - implemented limitation for number of todo files for
    3333       SequenceProcessStatus
     34
     35   * datacenter/macros/checkfileavail.C,checkstardone.C:
     36     - changed return code in case that files are not available
     37
     38   * datacenter/scripts/checkfilesforsequavail,checkstardone,sourcefile:
     39     - adapted to changed return code in macros
    3440
    3541
  • trunk/MagicSoft/Mars/datacenter/macros/checkfileavail.C

    r7460 r7503  
    143143//            || GetStatus(serv, rc, runno, "RunProcessStatus", "fTimingCorrection")=="1970-01-01 00:00:00"
    144144            || GetStatus(serv, rc, runno, "RunProcessStatus", "fRawFileAvail")=="")
    145             return 0;
     145            return 2;
    146146    }
    147147    //if all values are okay (i.e. files are availabel), 1 is returned
  • trunk/MagicSoft/Mars/datacenter/macros/checkstardone.C

    r7460 r7503  
    101101    //check if fStar not NULL for sequence
    102102    if (GetStatus(serv, rc, datasetno, "SequenceProcessStatus", "fStar")=="")
    103         return 0;
     103        return 2;
    104104
    105105    return 1;
  • trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail

    r7486 r7503  
    8989   case $check1 in
    9090      1)   echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 ;;
     91      2)   echo "check1=$check1 -> files not yet available -> continue..." >> $scriptlog 2>&1
     92           check="no"
     93           ;;
    9194      *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    9295           com=$Ffilesavail
  • trunk/MagicSoft/Mars/datacenter/scripts/checkstardone

    r7486 r7503  
    101101      case $check1 in
    102102         1)   echo "check1=$check1 -> everything ok -> continue with next sequence..." >> $scriptlog 2>&1 ;;
     103         2)   echo "check1=$check1 -> files not yet available -> continue..." >> $scriptlog 2>&1
     104              check="no"
     105              ;;
    103106         *)   echo "check1=$check1 -> ERROR " >> $scriptlog 2>&1
    104107              echo "starfiles not available for sequence -> continue" >> $scriptlog 2>&1
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r7501 r7503  
    174174                      statustime="Now()"
    175175                      ;;
     176                 no)  echo ", nothing new"
     177                      $check="ok"
     178                      ;;
    176179                  *)  echo " failed"
    177180                      starttime=noreset
     
    183186                      fi
    184187                      failedtime="Now()"
     188                      $check="ok"
    185189                      ;;
    186190               esac
Note: See TracChangeset for help on using the changeset viewer.