Index: trunk/ippTasks/phase0.pro
===================================================================
--- trunk/ippTasks/phase0.pro	(revision 11476)
+++ trunk/ippTasks/phase0.pro	(revision 11546)
@@ -105,7 +105,6 @@
     end
 
-    # delete existing entries which are DONE or DATAERR
-    book delpage p0PendingImfile -key state DONE
-    book delpage p0PendingImfile -key state DATA_ERR
+    # delete existing entries in the appropriate states
+    process_cleanup p0PendingImfile
   end
 
@@ -216,7 +215,6 @@
     end
 
-    # delete existing entries which are DONE
-    book delpage p0PendingExp -key state DONE
-    book delpage p0PendingExp -key state DATA_ERR
+    # delete existing entries in the appropriate states
+    process_cleanup p0PendingExp
   end
 
