Index: trunk/pstamp/scripts/pstamp_cleanup.pl
===================================================================
--- trunk/pstamp/scripts/pstamp_cleanup.pl	(revision 33926)
+++ trunk/pstamp/scripts/pstamp_cleanup.pl	(revision 33927)
@@ -42,8 +42,7 @@
     'name=s'            =>  \$name,
     'outdir=s'          =>  \$outdir,
-    'reqType=s'           =>  \$reqType,
+    'reqType=s'         =>  \$reqType,
     'product=s'         =>  \$product,
     'uri=s'             =>  \$uri,
-    'outdir=s'          =>  \$outdir,
     'redirect-output'   =>  \$redirect_output,
     'verbose'           =>  \$verbose,
@@ -82,5 +81,5 @@
 
 my_die("Cleanup not yet supported for reqType: $reqType", $req_id, $PS_EXIT_UNKNOWN_ERROR)
-    if ($reqType ne "pstamp") and ($reqType ne "NULL");
+    if ($reqType ne "pstamp") and ($reqType ne "NULL") and ($reqType ne "dquery");
 
 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files
