Index: trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C	(revision 7485)
+++ trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C	(revision 7486)
@@ -196,5 +196,5 @@
         if (!join2.IsNull())
             query+=GetJoin(join2.Data());
-        query +=Form("WHERE %s ", rc.GetValue("key"+key+".Cond", ""));
+        query +=Form("WHERE (%s) ", rc.GetValue("key"+key+".Cond", ""));
         if (!border.IsNull())
             query+=Form(" AND fRunNumber BETWEEN IF(%s>%d, %d, %s) AND IF (%s<%d, %s, %d) ",
Index: trunk/MagicSoft/Mars/datacenter/macros/fillganymed.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/fillganymed.C	(revision 7485)
+++ trunk/MagicSoft/Mars/datacenter/macros/fillganymed.C	(revision 7486)
@@ -152,4 +152,5 @@
         cout << "WARNING - Could get dataset# from filename: " << fname << endl;
         return 0;
+    }
 
     Int_t ds = atoi(dataset.Data()+8);
Index: trunk/MagicSoft/Mars/datacenter/macros/fillsinope.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/fillsinope.C	(revision 7485)
+++ trunk/MagicSoft/Mars/datacenter/macros/fillsinope.C	(revision 7486)
@@ -41,9 +41,10 @@
 //
 // Usage:
-//   .x fillsignal.C(runnumber, kTRUE)
-//
-// The second argument is the 'dummy-mode'. If it is kTRUE dummy-mode is
-// switched on and nothing will be written into the database. This is usefull
-// for tests.
+//   .x fillsinope.C(runnumber, "datapath", kTRUE)
+//
+// The first argument is the runnumber (given as int), the second argument is
+// the datapath, where the rawfiles can be found. The last argument is the
+// 'dummy-mode'. If it is kTRUE dummy-mode is switched on and nothing will be
+// written into the database. This is usefull for tests.
 //
 // Remark: Running it from the commandline looks like this:
Index: trunk/MagicSoft/Mars/datacenter/macros/setstatus.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/setstatus.C	(revision 7485)
+++ trunk/MagicSoft/Mars/datacenter/macros/setstatus.C	(revision 7486)
@@ -33,5 +33,5 @@
 //
 // Usage:
-//  .x setstatus.C+("primary","table","column","statustime","failedcode","failedcomment","starttime","failedtime",kTRUE)
+//  .x setstatus.C+("primary","table","column","statustime","returncode","failedcode","failedcodeadd","starttime","failedtime",kTRUE)
 // The first argument is the primary (date/run/sequence/dataset), the second
 // and third argument give the table and column of the step. The fourth
