Index: trunk/pstamp/scripts/detectability_respond.pl
===================================================================
--- trunk/pstamp/scripts/detectability_respond.pl	(revision 28806)
+++ trunk/pstamp/scripts/detectability_respond.pl	(revision 28818)
@@ -569,5 +569,5 @@
 	$columns = [
 	    # matching rownum from detectability original request
-	    { name => 'ROWNUM',   type => 'V', writetype => TULONG }, 
+	    { name => 'ROWNUM',   type => '20A', writetype => TSTRING }, 
 	    # any errors that occurred during processing
 	    { name => 'ERROR_CODE',   type => 'V', writetype => TULONG }, 
@@ -715,6 +715,6 @@
 #	print STDERR "$writeType $i $numRows $colName $status @{ $colData{$colName} }\n";
 	$outFits->write_col( $writeType, $i + 1, 1, 1, $numRows, $colData{$colName}, $status );
+#	print "$writeType $i $numRows $colName $status\n";
 	check_fitsio( $status );
-	
     }
     $outFits->close_file( $status );
@@ -730,4 +730,5 @@
         my $msg;                # Message to output
         Astro::FITS::CFITSIO::fits_get_errstatus( $status , $msg );
+	carp("CFITSIO error: $status => $msg");
         die "CFITSIO error: $msg\n";
     }
