Use a sequence of records, values in write

issue3499
review1901002