Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
For a record with many fields, you may be ahead to create a new copybook that has "displayable" fields rather than packed or binary fields. If you use the sort, it will probably become a pain to track all of the field displacements - even if you use symnames.
After moving (corresponding?) the fields from the input format to the displayable format, you could then string the displayable fields and whatever you want for the delimiter into an output and use that for the download and use in your spreadsheet.