Index: trunk/MagicSoft/Mars/mreport/MReportRun.cc
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportRun.cc	(revision 3667)
+++ trunk/MagicSoft/Mars/mreport/MReportRun.cc	(revision 3817)
@@ -59,6 +59,17 @@
 Int_t MReportRun::InterpreteBody(TString &str)
 {
-    Int_t len;
-    const Int_t n=sscanf(str.Data(), "%d %n", &fRunNumber, &len);
+    const Int_t pos = str.First(' ');
+    if (pos<0)
+    {
+        *fLog << warn << "WARNING - Token not found." << endl;
+        return kCONTINUE;
+    }
+    const TString tok=str(0, pos);
+
+    str.Remove(0, pos);
+    str = str.Strip(TString::kBoth);
+
+    Int_t len, run;
+    const Int_t n=sscanf(str.Data(), "%d %n", &run, &len);
     if (n!=1)
     {
@@ -68,9 +79,17 @@
     str.Remove(0, len);
 
-    if (str.BeginsWith("END"))
+    if (tok=="START")
+    {
+        if (fRunNumber!=-1)
+            *fLog << warn << "WARNING - RUN-REPORT STOP missing." << endl;
+        fRunNumber = run;
+    }
+    if (tok=="STOP")
+    {
+        if (fRunNumber==-1)
+            *fLog << warn << "WARNING - RUN-REPORT START missing." << endl;
         fRunNumber = -1;
+    }
 
-    str.Remove(0, 6);
-    str = str.Strip(TString::kBoth);
     Ssiz_t pos = str.First(' ');
     if (pos<0)
