Write the given record set to the output repository in the correct
format.
Parameters: set - the set of records to write. Parameters: name - a hint to specify a category to describe the set's output;this may be used to generate a filename, among other things.