Index: trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 9046)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 9054)
@@ -42,4 +42,5 @@
 printprocesslog "INFO starting $0"
 echo "This script has not been adapted to the new file structure (MAGIC II). "
+echo "Only the usage of getodo has been adapted, but not tested."
 echo "Please adapt it before using it."
 exit
@@ -54,6 +55,8 @@
 
 # get run # 
-gettodo >> $scriptlog 2>&1
-run=$process
+gettodo "1" >> $scriptlog 2>&1
+run=${primaries[0]}
+telnum=${primaries[1]}
+filenum=${primaries[2]}
 
 # lock sequ
@@ -74,5 +77,5 @@
 date2=`echo $date | sed -e 's/\//-/g'`
 
-primvar=$no2
+#primvar=$no2
 setstatus "start" >> $scriptlog 2>&1
 
