Index: trunk/pstamp/test/pstamp_req_create
===================================================================
--- trunk/pstamp/test/pstamp_req_create	(revision 20113)
+++ trunk/pstamp/test/pstamp_req_create	(revision 20257)
@@ -49,5 +49,4 @@
         { name => 'JOB_TYPE',   type => '16A', writetype => TSTRING },
 
-        { name => 'STAMP_NAME', type => '16A', writetype => TSTRING },
         { name => 'OPTION_MASK',type => 'J',   writetype => TULONG },
 
Index: trunk/pstamp/test/sample_pstamp.txt
===================================================================
--- trunk/pstamp/test/sample_pstamp.txt	(revision 20113)
+++ trunk/pstamp/test/sample_pstamp.txt	(revision 20257)
@@ -15,8 +15,8 @@
 # subsequent lines define the rows in the table
 
-# ROWNUM PROJECT       JOB_TYPE STAMP_NAME OPTION_MASK REQ_TYPE IMG_TYPE ID     CLASS_ID COORD_MASK CENTER_X CENTER_Y WIDTH HEIGHT REQFILT MJD_MIN MJD_MAX
-1        megacam-mops   stamp    null       1           byid     chip      419       null        3   1500    1500     100    100     null   0    0
-2        megacam-mops   stamp    null       1           byid     chip      419       null        3   1600    1500     100    100     null   0    0
-3        megacam-mops   stamp    null       1           byid     chip      419       null        3   1700    1500     100    100     null   0    0
+# ROWNUM PROJECT       JOB_TYPE OPTION_MASK REQ_TYPE IMG_TYPE    ID  CLASS_ID COORD_MASK CENTER_X CENTER_Y WIDTH HEIGHT REQFILT MJD_MIN MJD_MAX
+1        megacam-mops   stamp     1           byid     chip      419       null        3   1500    1500     100    100     null   0    0
+2        megacam-mops   stamp     1           byid     chip      419       null        3   1600    1500     100    100     null   0    0
+3        megacam-mops   stamp     1           byid     chip      419       null        3   1700    1500     100    100     null   0    0
 
 # the following row will create several jobs
Index: trunk/pstamp/test/sample_simtest.txt
===================================================================
--- trunk/pstamp/test/sample_simtest.txt	(revision 20257)
+++ trunk/pstamp/test/sample_simtest.txt	(revision 20257)
@@ -0,0 +1,31 @@
+# Sample Postage stamp request description file
+# This can be parsed by the program pstamp_req_create to build a 
+# PS1_PSTAMP_REQUEST binary table
+
+# First line of data is for the extension header
+# The order of keywords follows TABLE 6 of ICD
+#
+# Note that value for REQ_NAME may be overriden by a command line
+# argument to pstamp_req_create allowing this file to be re-used.
+# Blank and comment lines are ignored
+
+# REQ_NAME EXTVER
+PSREQ00001     1
+
+# subsequent lines define the rows in the table
+
+# ROWNUM PROJECT       JOB_TYPE OPTION_MASK REQ_TYPE IMG_TYPE    ID            CLASS_ID COORD_MASK CENTER_X CENTER_Y WIDTH HEIGHT REQFILT MJD_MIN MJD_MAX
+# select by exposure name
+1        simtest        stamp      1           byexp    chip   simtest.004.000  null      3       500     500         100    100     null   0    0
+
+# select by database id this happens to select the  same image a row 1 using 'chip_id'
+2        simtest        stamp      1           byid     chip      2           null        3       600     500         100    100     null   0    0
+
+# stamp from a chip processed image that resulted in diff_id = 1 sky coords for center, pixels for range
+3        simtest        stamp      1           bydiff   chip      1           null        2      270.733 -23.7039     500    500     null   0    0
+
+# ... and the corespoding warp
+4        simtest        stamp      1           bydiff   warp      1           null        2      270.733 -23.7039     500    500     null   0    0
+
+# ... and the stack
+5        simtest        stamp      1           bydiff   stack     1           null        2      270.733 -23.7039     500    500     null   0    0
