Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 9473)
+++ trunk/MagicSoft/Mars/Changelog	(revision 9474)
@@ -18,4 +18,12 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2009/07/04 Daniela Dorner
+
+   * datacenter/db/ctamcinfo.php, datacenter/db/ctadefs.php, 
+     datacenter/db/menu.php, datacenter/scripts/jobmanager:
+     - changed fCorsikaSimtelArray to fCorsikaSimTelarray
+
+
 
  2009/07/02 Thomas Bretz
Index: trunk/MagicSoft/Mars/datacenter/db/ctadefs.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/ctadefs.php	(revision 9473)
+++ trunk/MagicSoft/Mars/datacenter/db/ctadefs.php	(revision 9474)
@@ -3,6 +3,6 @@
 $needs = array
     (
-     "fCorsikaSimtelArray"   => "MCRunProcessStatus.fMCRunNumber",
-     "fChimp"                => "MCRunProcessStatus.fCorsikaSimtelArray",
+     "fCorsikaSimTelarray"   => "MCRunProcessStatus.fMCRunNumber",
+     "fChimp"                => "MCRunProcessStatus.fCorsikaSimTelarray",
      "fCTAStar"              => "MCRunProcessStatus.fChimp",
      "fStereoB"              => "MCRunProcessStatus.fCTAStar",
@@ -14,5 +14,5 @@
 $timelimits = array
     (
-     "fCorsikaSimtelArray"   => "30",
+     "fCorsikaSimTelarray"   => "30",
      "fChimp"                => "4",
      "fCTAStar"              => "2",
@@ -36,5 +36,5 @@
 $checkstatusgroup = array
     (
-     "fCorsikaSimtelArray" => CheckStatusGroup("fCorsikaSimtelArrayStatus", $_GET),
+     "fCorsikaSimTelarray" => CheckStatusGroup("fCorsikaSimTelarrayStatus", $_GET),
      "fChimp"              => CheckStatusGroup("fChimpStatus",              $_GET),
      "fCTAStar"            => CheckStatusGroup("fCTAStarStatus",            $_GET),
@@ -53,5 +53,5 @@
      "SUM(fNumEvents)"       => "Evts",
      "fParticleTypeName"     => "Particle",
-     "fCorsikaSimtelArray"   => "CorsikaSimtel",
+     "fCorsikaSimTelarray"   => "CorsikaSimtel",
      "fChimp"                => "Chimp",
      "fCTAStar"              => "Star",
Index: trunk/MagicSoft/Mars/datacenter/db/ctamcinfo.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/ctamcinfo.php	(revision 9473)
+++ trunk/MagicSoft/Mars/datacenter/db/ctamcinfo.php	(revision 9474)
@@ -105,5 +105,5 @@
             $query0 .= " AND ";
 
-        $query0 .= StatusQuery("fCorsikaSimtelArray", $needs);
+        $query0 .= StatusQuery("fCorsikaSimTelarray", $needs);
         $query0 .= StatusQuery("fChimp", $needs);
         $query0 .= StatusQuery("fCTAStar", $needs);
Index: trunk/MagicSoft/Mars/datacenter/db/menu.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/menu.php	(revision 9473)
+++ trunk/MagicSoft/Mars/datacenter/db/menu.php	(revision 9474)
@@ -24,5 +24,5 @@
     printf("  <tr><td>\n");
 
-    PrintStatusMenu("fCorsikaSimtelArray",    "Corsika and Simtel");
+    PrintStatusMenu("fCorsikaSimTelarray",    "Corsika and Simtel");
     printf("  </td><td>\n");
     PrintStatusMenu("fChimp",   "Chimp");
@@ -1339,9 +1339,9 @@
 function InitCTAMCRunStatus($_GET, $first)
 {
-    if (empty($_GET["fCorsikaSimtelArray"]))
-        $_GET["fCorsikaSimtelArray"]="Off";
-
-    if (empty($_GET["fCorsikaSimtelArrayStatus"]))
-        $_GET["fCorsikaSimtelArrayStatus"]="0";
+    if (empty($_GET["fCorsikaSimTelarray"]))
+        $_GET["fCorsikaSimTelarray"]="Off";
+
+    if (empty($_GET["fCorsikaSimTelarrayStatus"]))
+        $_GET["fCorsikaSimTelarrayStatus"]="0";
 
     if (empty($_GET["fChimp"]))
@@ -1392,6 +1392,6 @@
         $_GET["fParticleTypeName"]="On";
 
-    if (empty($_GET["fCorsikaSimtelArray"]))
-        $_GET["fCorsikaSimtelArray"]="Off";
+    if (empty($_GET["fCorsikaSimTelarray"]))
+        $_GET["fCorsikaSimTelarray"]="Off";
 
     if (empty($_GET["fChimp"]))
Index: trunk/MagicSoft/Mars/datacenter/scripts/jobmanager
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/jobmanager	(revision 9473)
+++ trunk/MagicSoft/Mars/datacenter/scripts/jobmanager	(revision 9474)
@@ -57,11 +57,12 @@
   ctamc) echo "running jobmanager for cta mc" >> $jmscriptlog 2>&1
          scripts=( "runsimtel" )
-         scriptscolname=( "fCorsikaSimtelArray" )
+         scriptscolname=( "fCorsikaSimTelarray" )
          pnosweek=( ${pnosimtel[@]} )
          pnoswe=( ${pnosimtelwe[@]} )
          break
          ;;
-      *) echo "$1 is a wrong commandline option for jobmanager -> exit" >> $jmscriptlog 2>&1
-         printprocesslog "WARN $1 is wrong commandline option for jobmanager"
+      *) echo "'$1' is a wrong commandline option for jobmanager -> exit" >> $jmscriptlog 2>&1
+         echo "'$1' is a wrong commandline option for jobmanager -> exit" 
+         printprocesslog "WARN '$1' is a wrong commandline option for jobmanager"
          finish >> $jmscriptlog 2>&1
          break
