Index: trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7528)
+++ trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7529)
@@ -88,4 +88,7 @@
    case $check1 in
       1)   echo "check1=$check1 -> everything ok -> setting status for $date..." >> $scriptlog 2>&1;;
+      0)   echo "check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           ;;
       *)   echo "check1=$check1 -> ERROR - $program.C failed for $date -> step has to be repeated" >> $scriptlog 2>&1
            com=$Fbuildsequ
Index: trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail	(revision 7528)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail	(revision 7529)
@@ -92,4 +92,7 @@
            check="no"
            ;;
+      0)   echo "check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           ;;
       *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
            com=$Ffilesavail
Index: trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 7528)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 7529)
@@ -105,4 +105,8 @@
               break
               ;;
+         0)   echo "check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+              check="no"
+              break
+              ;;
          *)   echo "check1=$check1 -> ERROR " >> $scriptlog 2>&1 
               echo "starfiles not available for sequence -> continue" >> $scriptlog 2>&1 
Index: trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7528)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7529)
@@ -144,11 +144,15 @@
 
    case $check1 in 
-       1)   echo "check1=$check1 -> everything ok -> go on with $program..." >> $scriptlog 2>&1
-            ;;
-       *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
-            com=$Ffillraw
-            check=$check1
-            setstatus "stop" >> $scriptlog 2>&1
-            continue ;;
+      1)   echo "check1=$check1 -> everything ok -> go on with $program..." >> $scriptlog 2>&1
+           ;;
+      0)   echo "check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           setstatus "stop" >> $scriptlog 2>&1
+           continue ;;
+      *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
+           com=$Ffillraw
+           check=$check1
+           setstatus "stop" >> $scriptlog 2>&1
+           continue ;;
    esac
    
@@ -190,11 +194,15 @@
 
    case $check3 in 
-       1)   echo "check3=$check3 -> everything ok -> set status..." >> $scriptlog 2>&1
-            ;;
-       *)   echo "check3=$check3 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
-            com=$Ffillsinope
-            check=$check3
-            setstatus "stop" >> $scriptlog 2>&1
-            continue;;
+      1)   echo "check3=$check3 -> everything ok -> set status..." >> $scriptlog 2>&1
+           ;;
+      0)   echo "check3=$check3 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           setstatus "stop" >> $scriptlog 2>&1
+           continue ;;
+      *)   echo "check3=$check3 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
+           com=$Ffillsinope
+           check=$check3
+           setstatus "stop" >> $scriptlog 2>&1
+           continue ;;
    esac
 
@@ -210,4 +218,8 @@
       1)   echo "check5=$check5 -> everything ok, fExclusions have been reset " >> $scriptlog 2>&1
            ;;
+      0)   echo "check5=$check5 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           setstatus "stop" >> $scriptlog 2>&1
+           continue ;;
       *)   echo "check5=$check5 -> ERROR -> step could not be resetted -> repeat step " >> $scriptlog 2>&1
            com=$Fresetexcl
@@ -215,5 +227,5 @@
            check=$check5
            setstatus "stop" >> $scriptlog 2>&1
-           continue;;
+           continue ;;
    esac
 
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7528)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7529)
@@ -95,4 +95,8 @@
    case $check1 in
       1)   echo "check1=$check1 -> everything ok -> run fillsignal " >> $scriptlog 2>&1 ;;
+      0)   echo "check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           setstatus "stop" >> $scriptlog 2>&1
+           continue ;;
       *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
            com=$Ffillcalib
@@ -105,4 +109,7 @@
    case $check2 in
       1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
+      0)   echo "check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           ;;
       *)   echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
            com=$Ffillsignal
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(revision 7528)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(revision 7529)
@@ -91,4 +91,7 @@
    case $check2 in
       1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
+      0)   echo "check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           ;;
       *)  echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
           com=$Ffillganymed
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillstar
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(revision 7528)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(revision 7529)
@@ -92,4 +92,7 @@
    case $check2 in
       1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
+      0)   echo "check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           ;;
       *)   echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
            com=$Ffillstar
Index: trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles	(revision 7528)
+++ trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles	(revision 7529)
@@ -91,4 +91,7 @@
    case $check2 in
       1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
+      0)   echo "check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1 
+           check="no"
+           ;;
       *)   echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
            com=$Fwritesequfile
