Hi I ended up raising a track with SAS as I wasn't getting anywhere - think this is down to my lack of previous SAS coding experience, a more experienced user may have found this problem much more quickly. Turns out there's a bug in the version I'm using (4.21) which incorrectly generates the header rows in the file writer transformation. This is addressed by going into the file writer and amending the section of code which generates the header. From this: if ( _n_ = 1 ) then do; put incorrect -> ""Org"n,"_101"n,"_102"n"; end; To this: if ( _n_ = 1 ) then do; put correct -> "Org,_101,_102"; end; And once I've changed this bit of code I'm able to remove the leading underscores and export in my desired format! SAS tell me this bug is fixed in version 4.3. Matt
... View more