Index: branches/tap_branches/pstamp/scripts/dqueryparse.pl
===================================================================
--- branches/tap_branches/pstamp/scripts/dqueryparse.pl	(revision 25900)
+++ branches/tap_branches/pstamp/scripts/dqueryparse.pl	(revision 27838)
@@ -73,5 +73,5 @@
 
 if (!$dbserver) {
-    my $ipprc = = PS::IPP::Config->new();
+    my $ipprc = PS::IPP::Config->new();
     $dbserver =  metadataLookupStr($ipprc->{_siteConfig}, 'PS_DBSERVER');
 }
@@ -99,5 +99,7 @@
 die "$req_file is version $extver expecting 1" if $extver ne 1;
 
+if (0) {
 $out_dir .= "/$req_name";
+}
 if (! -e $out_dir ) {
     mkdir $out_dir or die "cannot create output directory $out_dir";
@@ -133,7 +135,7 @@
 my $result;
 {
-    my $command = "$pstamptool -addjob -req_id $req_id -uri $req_file -outputBase $out_dir";
+    my $command = "$pstamptool -addjob -req_id $req_id -outputBase $out_dir"; 
     $command .= " -job_type detect_query -state stop -fault $fault";
-    $command .= " -rownum 0";
+    $command .= " -rownum 1";
     $command .= " -dbname $dbname" if $dbname;
     $command .= " -dbserver $dbserver" if $dbserver;
