Index: /trunk/pstamp/scripts/pstampparse.pl
===================================================================
--- /trunk/pstamp/scripts/pstampparse.pl	(revision 19223)
+++ /trunk/pstamp/scripts/pstampparse.pl	(revision 19224)
@@ -261,5 +261,6 @@
             my $command = "$pstamptool -addjob -req_id $req_id -job_type $job_type"
                 . " -uri $uri -outputBase $output_base -args '$args' -rownum $rownum"
-                . " -state $state -exp_id $exp_id";
+                . " -state $state";
+            $command .= " -exp_id $exp_id" if $exp_id;
             $command .= " -dbname $dbname" if $dbname;
 
