SAS Office Analytics, SAS Add-In for Microsoft Office, and other integrations

Proc export truncating length more then 256 chars

Posts: 43

Proc export truncating length more then 256 chars


Proc export is truncating the length of columns for more then 256 characters.Now I found this note on SAS website:

Itsays:To circumvent the problem, export the file as a tab-delimited text file and import that text file into Excel.

I understand exporting the file to tab delimited text file. But then how would I automatically convert this tab delimted file to excel?

Any ideas?Mine is UNIX system, and I cannot use SAS libname statement.

I can use ods html to create excel, but ui have values like 0.80,0.90 and ods is converting them to 0.8 and 0.9 respectively....

Frequent Contributor
Posts: 136

Re: Proc export truncating length more then 256 chars

Posted in reply to maggi2410

Hi Maggi.

Easiest for you I think would be for you to use the PCFILES engine of the libname statement.


Let me know if this helps.

PS I miss my SAS/UNIX combination sometimes - SAS filename statement with the pipe option pointing to an underlying unix pipe was something I found very helpful.



Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation