Index: branches/eam_branch_00/ippTasks/phase0.pro
===================================================================
--- branches/eam_branch_00/ippTasks/phase0.pro	(revision 11012)
+++ branches/eam_branch_00/ippTasks/phase0.pro	(revision 11059)
@@ -38,5 +38,6 @@
   periods      -timeout 30
 
-  stdout $LOGSUBDIR/phase0.imfile.log
+  # XXX provide a special word (ie NULL) that silently drops stdout, stderr?
+  stdout NULL
   stderr $LOGSUBDIR/phase0.imfile.log
 
@@ -46,5 +47,5 @@
 
   # success
-  task.exit    0
+  task.exit    $EXIT_SUCCESS
     # convert 'stdout' to book format
     ipptool2book stdout Phase0Imfiles -key exp_tag -uniq
@@ -55,4 +56,5 @@
     # delete existing entries which are DONE
     book delpage Phase0Imfiles -key state DONE
+    echo "p0tool -pendingimfile dtime: $JOB_DTIME"
   end
 
@@ -84,5 +86,8 @@
 
     book setword Phase0Imfiles $pageName state RUN
+    # Phase0Imfiles->pageName->state = RUN
+
     book getword Phase0Imfiles $pageName exp_tag -var EXP_TAG
+    # $EXP_TAG = Phase0Imfiles->pageName->exp_tag
     book getword Phase0Imfiles $pageName class -var CLASS
     book getword Phase0Imfiles $pageName class_id -var CLASS_ID
@@ -118,4 +123,5 @@
     # phase0_imfile.pl updates DB tables, here we just update the page
     book setword Phase0Imfiles $options:0 state DONE
+    # equiv to: Phase0Imfiles->pageName->state = DONE
   end
 
@@ -158,4 +164,5 @@
     # delete existing entries which are DONE
     book delpage Phase0Exposures -key state DONE
+    echo "p0tool -pendingexp dtime: $JOB_DTIME"
   end
 
@@ -222,5 +229,5 @@
   # default exit status
   task.exit    default
-    showcommand
+    showcommand failure
     book setword Phase0Exposures $options:0 state FAIL
   end
@@ -228,5 +235,5 @@
   # operation times out?
   task.exit    timeout
-    showcommand
+    showcommand timeout
     book setword Phase0Exposures $options:0 state TIMEOUT
   end
