Changeset 24831 for trunk/pstamp/scripts/dquery_finish.pl
- Timestamp:
- Jul 16, 2009, 5:14:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/dquery_finish.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/dquery_finish.pl
r19221 r24831 20 20 use PS::IPP::Config qw( :standard ); 21 21 22 my ( $req_id, $req_name, $req_file, $product, $dbname, $ verbose, $save_temps );22 my ( $req_id, $req_name, $req_file, $product, $dbname, $dbserver, $verbose, $save_temps ); 23 23 24 24 GetOptions( … … 28 28 'product=s' => \$product, 29 29 'dbname=s' => \$dbname, 30 'dbserver=s' => \$dbserver, 30 31 'verbose' => \$verbose, 31 32 'save-temps' => \$save_temps, … … 56 57 my $outputDataStoreRoot = metadataLookupStr($ipprc->{_siteConfig}, 'DATA_STORE_ROOT'); 57 58 exit ($PS_EXIT_CONFIG_ERROR) unless defined $outputDataStoreRoot; # lookup failure outputs a message 59 60 if (!$dbserver) { 61 $dbserver = metadataLookupStr($ipprc->{_siteConfig}, 'PS_DBSERVER'); 62 } 58 63 59 64 if ($product eq "NULL") { … … 89 94 my $command = "$pstamptool -listjob -req_id $req_id"; 90 95 $command .= " -dbname $dbname" if $dbname; 96 $command .= " -dbserver $dbserver" if $dbserver; 91 97 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 92 98 run(command => $command, verbose => $verbose); … … 149 155 $command .= " -fault $fault" if $fault; 150 156 $command .= " -dbname $dbname" if $dbname; 157 $command .= " -dbserver $dbserver" if $dbserver; 151 158 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 152 159 run(command => $command, verbose => $verbose);
Note:
See TracChangeset
for help on using the changeset viewer.
