Index: /trunk/ippTasks/camera.pro
===================================================================
--- /trunk/ippTasks/camera.pro	(revision 14041)
+++ /trunk/ippTasks/camera.pro	(revision 14042)
@@ -86,5 +86,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup camPendingExp
   end
@@ -112,9 +112,9 @@
     if ($network == 0) break
     
-    # look for new images in camPendingExp (state == NULL)
-    book getpage camPendingExp 0 -var pageName -key state NULL
+    # look for new images in camPendingExp (pantaskState == NULL)
+    book getpage camPendingExp 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword camPendingExp $pageName state RUN
+    book setword camPendingExp $pageName pantaskState RUN
     book getword camPendingExp $pageName camera -var CAMERA
     book getword camPendingExp $pageName exp_id -var EXP_ID
@@ -170,5 +170,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword camPendingExp $options:0 state TIMEOUT
+    book setword camPendingExp $options:0 pantaskState TIMEOUT
   end
 end
Index: /trunk/ippTasks/chip.pro
===================================================================
--- /trunk/ippTasks/chip.pro	(revision 14041)
+++ /trunk/ippTasks/chip.pro	(revision 14042)
@@ -86,5 +86,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup chipPendingImfile
   end
@@ -112,9 +112,9 @@
     if ($network == 0) break
     
-    # look for new images in chipPendingImfile (state == NULL)
-    book getpage chipPendingImfile 0 -var pageName -key state NULL
+    # look for new images in chipPendingImfile (pantaskState == NULL)
+    book getpage chipPendingImfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword chipPendingImfile $pageName state RUN
+    book setword chipPendingImfile $pageName pantaskState RUN
     book getword chipPendingImfile $pageName camera -var CAMERA
     book getword chipPendingImfile $pageName exp_id -var EXP_ID
@@ -173,5 +173,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword chipPendingImfile $options:0 state TIMEOUT
+    book setword chipPendingImfile $options:0 pantaskState TIMEOUT
   end
 end
Index: /trunk/ippTasks/detrend.norm.pro
===================================================================
--- /trunk/ippTasks/detrend.norm.pro	(revision 14041)
+++ /trunk/ippTasks/detrend.norm.pro	(revision 14042)
@@ -118,5 +118,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingNormStatImfile
   end
@@ -145,8 +145,8 @@
     
     # look for new images in detPendingNormStatImfile
-    book getpage detPendingNormStatImfile 0 -var pageName -key state NULL
+    book getpage detPendingNormStatImfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingNormStatImfile $pageName state RUN
+    book setword detPendingNormStatImfile $pageName pantaskState RUN
     book getword detPendingNormStatImfile $pageName det_id    -var DET_ID
     book getword detPendingNormStatImfile $pageName det_type  -var DET_TYPE
@@ -198,5 +198,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingNormStatImfile $options:0 state TIMEOUT
+    book setword detPendingNormStatImfile $options:0 pantaskState TIMEOUT
   end
 end
@@ -237,5 +237,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingNormImfile
   end
@@ -264,8 +264,8 @@
     
     # look for new images in detPendingNormImfile
-    book getpage detPendingNormImfile 0 -var pageName -key state NULL
+    book getpage detPendingNormImfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingNormImfile $pageName state RUN
+    book setword detPendingNormImfile $pageName pantaskState RUN
     book getword detPendingNormImfile $pageName det_type  -var DET_TYPE 
     book getword detPendingNormImfile $pageName camera    -var CAMERA   
@@ -321,5 +321,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingNormImfile $options:0 state TIMEOUT
+    book setword detPendingNormImfile $options:0 pantaskState TIMEOUT
   end
 end
@@ -360,5 +360,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingNormExp
   end
@@ -387,8 +387,8 @@
     
     # look for new images in detPendingNormExp
-    book getpage detPendingNormExp 0 -var pageName -key state NULL
+    book getpage detPendingNormExp 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingNormExp $pageName state RUN
+    book setword detPendingNormExp $pageName pantaskState RUN
     book getword detPendingNormExp $pageName det_id    -var DET_ID  
     book getword detPendingNormExp $pageName iteration -var ITERATION    
@@ -441,5 +441,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingNormExp $options:0 state TIMEOUT
-  end
-end
+    book setword detPendingNormExp $options:0 pantaskState TIMEOUT
+  end
+end
Index: /trunk/ippTasks/detrend.process.pro
===================================================================
--- /trunk/ippTasks/detrend.process.pro	(revision 14041)
+++ /trunk/ippTasks/detrend.process.pro	(revision 14042)
@@ -105,5 +105,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingProcessedImfile
   end
@@ -132,8 +132,8 @@
     
     # look for new images in detPendingProcessedImfile
-    book getpage detPendingProcessedImfile 0 -var pageName -key state NULL
+    book getpage detPendingProcessedImfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingProcessedImfile $pageName state RUN
+    book setword detPendingProcessedImfile $pageName pantaskState RUN
     book getword detPendingProcessedImfile $pageName det_id   -var DET_ID   
     book getword detPendingProcessedImfile $pageName det_type -var DET_TYPE 
@@ -197,5 +197,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingProcessedImfile $options:0 state TIMEOUT
+    book setword detPendingProcessedImfile $options:0 pantaskState TIMEOUT
  end
 end
@@ -236,5 +236,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingProcessedExp
   end
@@ -263,8 +263,8 @@
     
     # look for new exposures in detPendingProcessedExp
-    book getpage detPendingProcessedExp 0 -var pageName -key state NULL
+    book getpage detPendingProcessedExp 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingProcessedExp $pageName state RUN
+    book setword detPendingProcessedExp $pageName pantaskState RUN
     book getword detPendingProcessedExp $pageName det_id    -var DET_ID
     book getword detPendingProcessedExp $pageName det_type  -var DET_TYPE
@@ -322,5 +322,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingProcessedExp $options:0 state TIMEOUT
-  end
-end
+    book setword detPendingProcessedExp $options:0 pantaskState TIMEOUT
+  end
+end
Index: /trunk/ippTasks/detrend.reject.pro
===================================================================
--- /trunk/ippTasks/detrend.reject.pro	(revision 14041)
+++ /trunk/ippTasks/detrend.reject.pro	(revision 14042)
@@ -86,5 +86,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detRejectExp
   end
@@ -113,8 +113,8 @@
     
     # look for new images in detRejectExp
-    book getpage detRejectExp 0 -var pageName -key state NULL
+    book getpage detRejectExp 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detRejectExp $pageName state RUN
+    book setword detRejectExp $pageName pantaskState RUN
     book getword detRejectExp $pageName det_id    -var DET_ID   
     book getword detRejectExp $pageName iteration -var ITERATION     
@@ -167,5 +167,5 @@
   task.exit    timeout
     showcommand failure
-    book setword detRejectExp $options:0 state TIMEOUT
+    book setword detRejectExp $options:0 pantaskState TIMEOUT
   end
 end
Index: /trunk/ippTasks/detrend.resid.pro
===================================================================
--- /trunk/ippTasks/detrend.resid.pro	(revision 14041)
+++ /trunk/ippTasks/detrend.resid.pro	(revision 14042)
@@ -102,5 +102,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingResidImfile
   end
@@ -129,8 +129,8 @@
     
     # look for new images in detPendingResidImfile
-    book getpage detPendingResidImfile 0 -var pageName -key state NULL
+    book getpage detPendingResidImfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingResidImfile $pageName state RUN
+    book setword detPendingResidImfile $pageName pantaskState RUN
     book getword detPendingResidImfile $pageName det_id    -var DET_ID   
     book getword detPendingResidImfile $pageName iteration -var ITERATION     
@@ -197,5 +197,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingResidImfile $options:0 state TIMEOUT
+    book setword detPendingResidImfile $options:0 pantaskState TIMEOUT
   end
 end
@@ -236,5 +236,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingResidExp
   end
@@ -263,8 +263,8 @@
     
     # look for new images in detPendingResidExp
-    book getpage detPendingResidExp 0 -var pageName -key state NULL
+    book getpage detPendingResidExp 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingResidExp $pageName state RUN
+    book setword detPendingResidExp $pageName pantaskState RUN
     book getword detPendingResidExp $pageName det_id    -var DET_ID  
     book getword detPendingResidExp $pageName iteration -var ITERATION    
@@ -322,5 +322,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingResidExp $options:0 state TIMEOUT
-  end
-end
+    book setword detPendingResidExp $options:0 pantaskState TIMEOUT
+  end
+end
Index: /trunk/ippTasks/detrend.stack.pro
===================================================================
--- /trunk/ippTasks/detrend.stack.pro	(revision 14041)
+++ /trunk/ippTasks/detrend.stack.pro	(revision 14042)
@@ -87,5 +87,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingStackedImfile
   end
@@ -114,8 +114,8 @@
     
     # look for new images in detPendingStackedImfile
-    book getpage detPendingStackedImfile 0 -var pageName -key state NULL
+    book getpage detPendingStackedImfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingStackedImfile $pageName state RUN
+    book setword detPendingStackedImfile $pageName pantaskState RUN
     book getword detPendingStackedImfile $pageName det_id    -var DET_ID
     book getword detPendingStackedImfile $pageName iteration -var ITERATION
@@ -177,5 +177,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingStackedImfile $options:0 state TIMEOUT
+    book setword detPendingStackedImfile $options:0 pantaskState TIMEOUT
   end
 end
Index: /trunk/ippTasks/diff.pro
===================================================================
--- /trunk/ippTasks/diff.pro	(revision 14041)
+++ /trunk/ippTasks/diff.pro	(revision 14042)
@@ -95,5 +95,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup diffSkyfile
   end
@@ -122,9 +122,9 @@
     if ($network == 0) break
     
-    # look for new images in diffSkyfile (state == NULL)
-    book getpage diffSkyfile 0 -var pageName -key state NULL
+    # look for new images in diffSkyfile (pantaskState == NULL)
+    book getpage diffSkyfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword diffSkyfile $pageName state RUN
+    book setword diffSkyfile $pageName pantaskState RUN
     book getword diffSkyfile $pageName diff_id -var DIFF_ID
     book getword diffSkyfile $pageName workdir -var WORKDIR
@@ -175,5 +175,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword diffSkyfile $options:0 state TIMEOUT
+    book setword diffSkyfile $options:0 pantaskState TIMEOUT
   end
 end
Index: /trunk/ippTasks/pantasks.pro
===================================================================
--- /trunk/ippTasks/pantasks.pro	(revision 14041)
+++ /trunk/ippTasks/pantasks.pro	(revision 14042)
@@ -256,13 +256,13 @@
   if ($exitCode == $EXIT_SUCCESS) 
     # the handler scripts update DB the tables; here we just update the page
-    book setword $bookName $pageName state DONE
+    book setword $bookName $pageName pantaskState DONE
     return
   end
 
   # failure related to the data files
-  # jobs which result in DATAERR must have db state updated 
+  # jobs which result in DATAERR must have db pantaskState updated 
   if ($exitCode == $EXIT_DATA_ERR)
     showcommand failure
-    book setword $bookName $pageName state DATA_ERR
+    book setword $bookName $pageName pantaskState DATA_ERR
     return
   end
@@ -279,5 +279,5 @@
     # stop
     showcommand "system failure"
-    book setword $bookName $pageName state SYS_ERR
+    book setword $bookName $pageName pantaskState SYS_ERR
     return
   end
@@ -287,5 +287,5 @@
     # stop
     showcommand "config error"
-    book setword $bookName $pageName state CONFIG_ERR
+    book setword $bookName $pageName pantaskState CONFIG_ERR
     return
   end
@@ -295,5 +295,5 @@
     # stop
     showcommand "programming error"
-    book setword $bookName $pageName state PROG_ERR
+    book setword $bookName $pageName pantaskState PROG_ERR
     return
   end
@@ -301,5 +301,5 @@
   # any other exit status
   showcommand failure
-  book setword $bookName $pageName state UNKNOWN_ERR
+  book setword $bookName $pageName pantaskState UNKNOWN_ERR
 end
 
@@ -311,9 +311,9 @@
   end
 
-  book delpage $1 -key state DONE
-  book delpage $1 -key state SYS_ERR
-  book delpage $1 -key state DATA_ERR
-  book delpage $1 -key state PROG_ERR
-  book delpage $1 -key state CONFIG_ERR
-  book delpage $1 -key state UNKNOWN_ERR
-end
+  book delpage $1 -key pantaskState DONE
+  book delpage $1 -key pantaskState SYS_ERR
+  book delpage $1 -key pantaskState DATA_ERR
+  book delpage $1 -key pantaskState PROG_ERR
+  book delpage $1 -key pantaskState CONFIG_ERR
+  book delpage $1 -key pantaskState UNKNOWN_ERR
+end
Index: /trunk/ippTasks/register.pro
===================================================================
--- /trunk/ippTasks/register.pro	(revision 14041)
+++ /trunk/ippTasks/register.pro	(revision 14042)
@@ -105,5 +105,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup regPendingImfile
   end
@@ -132,8 +132,8 @@
     
     # look for new images in regPendingImfile
-    book getpage regPendingImfile 0 -var pageName -key state NULL
+    book getpage regPendingImfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword regPendingImfile $pageName state RUN
+    book setword regPendingImfile $pageName pantaskState RUN
 
     book getword regPendingImfile $pageName exp_id -var EXP_ID
@@ -183,5 +183,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword regPendingImfile $options:0 state TIMEOUT
+    book setword regPendingImfile $options:0 pantaskState TIMEOUT
   end
 end
@@ -219,5 +219,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup regPendingExp
   end
@@ -245,9 +245,9 @@
     if ($network == 0) break
     
-    # look for new images in regPendingExp (state == NULL)
-    book getpage regPendingExp 0 -var pageName -key state NULL
+    # look for new images in regPendingExp (pantaskState == NULL)
+    book getpage regPendingExp 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword regPendingExp $pageName state RUN
+    book setword regPendingExp $pageName pantaskState RUN
     book getword regPendingExp $pageName exp_id -var EXP_ID
     book getword regPendingExp $pageName tmp_exp_name -var TMP_EXP_NAME
@@ -294,5 +294,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword regPendingExp $options:0 state TIMEOUT
+    book setword regPendingExp $options:0 pantaskState TIMEOUT
   end
 end
Index: /trunk/ippTasks/stack.pro
===================================================================
--- /trunk/ippTasks/stack.pro	(revision 14041)
+++ /trunk/ippTasks/stack.pro	(revision 14042)
@@ -95,5 +95,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup stackSumSkyfile
   end
@@ -122,9 +122,9 @@
     if ($network == 0) break
     
-    # look for new images in stackSumSkyfile (state == NULL)
-    book getpage stackSumSkyfile 0 -var pageName -key state NULL
+    # look for new images in stackSumSkyfile (pantaskState == NULL)
+    book getpage stackSumSkyfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword stackSumSkyfile $pageName state RUN
+    book setword stackSumSkyfile $pageName pantaskState RUN
     book getword stackSumSkyfile $pageName stack_id -var STACK_ID
     book getword stackSumSkyfile $pageName workdir -var WORKDIR
@@ -175,5 +175,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword stackSumSkyfile $options:0 state TIMEOUT
+    book setword stackSumSkyfile $options:0 pantaskState TIMEOUT
   end
 end
Index: /trunk/ippTasks/warp.pro
===================================================================
--- /trunk/ippTasks/warp.pro	(revision 14041)
+++ /trunk/ippTasks/warp.pro	(revision 14042)
@@ -111,5 +111,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup warpInputExp
   end
@@ -138,9 +138,9 @@
     if ($network == 0) break
     
-    # look for new images in warpInputExp (state == NULL)
-    book getpage warpInputExp 0 -var pageName -key state NULL
+    # look for new images in warpInputExp (pantaskState == NULL)
+    book getpage warpInputExp 0 -var pageName -key pantaskState NULL
     if ("$pageName" == "NULL") break
 
-    book setword warpInputExp $pageName state RUN
+    book setword warpInputExp $pageName pantaskState RUN
     book getword warpInputExp $pageName warp_id -var WARP_ID
     book getword warpInputExp $pageName camera -var CAMERA
@@ -192,5 +192,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword warpInputExp $options:0 state TIMEOUT
+    book setword warpInputExp $options:0 pantaskState TIMEOUT
   end
 end
@@ -231,5 +231,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup warpPendingSkyCell
   end
@@ -258,9 +258,9 @@
     if ($network == 0) break
     
-    # look for new images in warpPendingSkyCell (state == NULL)
-    book getpage warpPendingSkyCell 0 -var pageName -key state NULL
+    # look for new images in warpPendingSkyCell (pantaskState == NULL)
+    book getpage warpPendingSkyCell 0 -var pageName -key pantaskState NULL
     if ("$pageName" == "NULL") break
 
-    book setword warpPendingSkyCell $pageName state RUN
+    book setword warpPendingSkyCell $pageName pantaskState RUN
     book getword warpPendingSkyCell $pageName warp_id -var WARP_ID
     book getword warpPendingSkyCell $pageName skycell_id -var SKYCELL_ID
@@ -314,6 +314,6 @@
   task.exit    timeout
     showcommand timeout
-    book setword warpPendingSkyCell $options:0 state TIMEOUT
-  end
-end
-
+    book setword warpPendingSkyCell $options:0 pantaskState TIMEOUT
+  end
+end
+
