Index: trunk/MagicSoft/Mars/datacenter/scripts/runganymed
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runganymed	(revision 7467)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runganymed	(revision 7469)
@@ -142,4 +142,6 @@
   no=`printf %08d $dataset | cut -c 0-5`
   no2=`printf %08d $dataset`
+  var1=$no
+  var2=$no2
   outpath="$datapath/$program/$no/$no2"
   echo "outpath: "$outpath >> $scriptlog 2>&1
@@ -160,5 +162,5 @@
   
   echo "run $program..." >> $scriptlog 2>&1
-  setstatus "start"
+  setstatus "start" >> $scriptlog 2>&1
 
   ./ganymed -b -q -v4 -f --ind=$datapath/star --config=$ganymedrc --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --out=$outpath $datasetfile  2>> $scriptlog> /dev/null
@@ -173,5 +175,5 @@
   esac
   echo "inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1
-  setstatus "stop"
+  setstatus "stop" >> $scriptlog 2>&1
 done
 
