<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proc export CSV with 'xxx'n field names 30 to 32 characters long in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141339#M37714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well that sucks &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write or create a data step that will generate a CSV file for you painlessly if ODS CSV isn't an option for some reason. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 07:44:09 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-01-28T07:44:09Z</dc:date>
    <item>
      <title>Proc export CSV with 'xxx'n field names 30 to 32 characters long</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141334#M37709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have discovered a problem where if I have a field name that is 30 to 32 characters long and in the format 'xx'n rather than a standard SAS field name then it gives me an error when trying to export to CSV.&amp;nbsp; It seems that Proc export code that is generated is taking the quotes and n as part of the field length and therefore the full field is not being output in the generated code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SAS 9.2 and below is the code I have used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data work.test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This_Field_HasThirtyCharacters=30;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ThisFieldHasThirtyOneCharacters=31;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Another has twenty nine chars'n=29;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Another has thirty characterss'n=30;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Another has thirty1 characterss'n=31;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc export data=work.test&lt;/P&gt;&lt;P&gt;&amp;nbsp; dbms=csv&lt;/P&gt;&lt;P&gt;&amp;nbsp; replace&lt;/P&gt;&lt;P&gt;&amp;nbsp; outfile="\\sas\test.csv";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with a snippet of the log showing the error below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;53&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&amp;nbsp; WORK.TEST&amp;nbsp;&amp;nbsp; end=EFIEOD;&lt;/P&gt;&lt;P&gt;54&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format This_Field_HasThirtyCharacters best12. ;&lt;/P&gt;&lt;P&gt;55&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format ThisFieldHasThirtyOneCharacters best12. ;&lt;/P&gt;&lt;P&gt;56&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format "Another has twenty nine chars"N best12. ;&lt;/P&gt;&lt;P&gt;NOTE: SCL source line.&lt;/P&gt;&lt;P&gt;57&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format "Another has thirty characterss" best12. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ________________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, ;, DEFAULT, _ALL_, _CHARACTER_, _CHAR_, _NUMERIC_.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;58&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format "Another has thirty1 characterss best12. ;&lt;/P&gt;&lt;P&gt;NOTE: SCL source line.&lt;/P&gt;&lt;P&gt;58&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format "Another has thirty1 characterss best12. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __________________________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49&lt;/P&gt;&lt;P&gt;NOTE 49-169: The meaning of an identifier after a quoted string may change in a future SAS release.&amp;nbsp; Inserting white space between &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a quoted string and the succeeding identifier is recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE 141-205: SCL source line.&lt;/P&gt;&lt;P&gt;58&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format "Another has thirty1 characterss best12. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __________________________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, ;, DEFAULT, _ALL_, _CHARACTER_, _CHAR_, _NUMERIC_.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SCL source line.&lt;/P&gt;&lt;P&gt;58&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format "Another has thirty1 characterss best12. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __________________________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else encountered this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Tammy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 04:52:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141334#M37709</guid>
      <dc:creator>tammy_dezilva</dc:creator>
      <dc:date>2015-01-28T04:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export CSV with 'xxx'n field names 30 to 32 characters long</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141335#M37710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Line 57 is missing the n. &lt;/P&gt;&lt;P&gt;The error leads me to think syntax error somewhere in the code instead, either a missing n or mismatched quotation marks somewhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps post the code actually run?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 05:03:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141335#M37710</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-28T05:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export CSV with 'xxx'n field names 30 to 32 characters long</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141336#M37711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;That was the code actually run.&amp;nbsp; The error has occurred with the generated code behind the scenes from proc export as I don't have those format statements - I simply have the data step and proc export code and nothing else.&amp;nbsp; It looks like proc export has a bug in that the generated code is chopping off fields that are in the 'xx'n format by not taking into consideration that the quotes and n will be an extra 3 characters to the maximum 32 characters allowed on a field name.&amp;nbsp; Well..that is how it is appearing to me?&amp;nbsp; The field name 'Another has twenty nine chars'n goes ok as 29 plus the two quotes and n add up to the 32 characters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;If you take my exact code that I have above and run it (well in a v9.2 environment at anyway), you should get the same result.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 06:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141336#M37711</guid>
      <dc:creator>tammy_dezilva</dc:creator>
      <dc:date>2015-01-28T06:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export CSV with 'xxx'n field names 30 to 32 characters long</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141337#M37712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tammy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to be truncating as you discovered... I found a usage note stating this is also a problem with exporting labels - &lt;A href="http://support.sas.com/kb/40/573.html" title="http://support.sas.com/kb/40/573.html"&gt;40573 - EFI, Export Wizard, and Proc Export truncate labels at 32 characters&lt;/A&gt; The workaround is to use ODS CSV with proc print. This might help overcome the issue you're experiencing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 06:13:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141337#M37712</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2015-01-28T06:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export CSV with 'xxx'n field names 30 to 32 characters long</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141338#M37713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems the ability to use variable named literals with PROC EXPORT is fixed in SAS 9.4 despite the VALIDMEMNAME option...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/41/788.html" title="http://support.sas.com/kb/41/788.html"&gt;41788 - VALIDMEMNAME=EXTEND option is not recognized when you use EFI, the IMPORT and EXPORT procedures, and the Import/Export Wizard&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/64892/HTML/default/viewer.htm#n10nwm6blrcrtmn0zdcwyxlwxfjh.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/64892/HTML/default/viewer.htm#n10nwm6blrcrtmn0zdcwyxlwxfjh.htm"&gt;SAS(R) 9.3 System Options: Reference, Second Edition - VALIDMEMNAME documentation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 06:20:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141338#M37713</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2015-01-28T06:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export CSV with 'xxx'n field names 30 to 32 characters long</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141339#M37714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well that sucks &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write or create a data step that will generate a CSV file for you painlessly if ODS CSV isn't an option for some reason. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 07:44:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141339#M37714</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-28T07:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export CSV with 'xxx'n field names 30 to 32 characters long</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141340#M37715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michelle.&amp;nbsp; Let's hope our install of 9.4 happens soon then &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; I will give ODS CSV a go, but from past experience on large files this is extremely slow so I might have to revert to doing a data step as Reeza mentions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 21:27:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141340#M37715</guid>
      <dc:creator>tammy_dezilva</dc:creator>
      <dc:date>2015-01-28T21:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export CSV with 'xxx'n field names 30 to 32 characters long</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141341#M37716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need to use PROC EXPORT or ODS CSV to write CSV files. You can do it with a simple generic Data Step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is one method that uses PROC SQL metadata query to generate the header line.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="189071" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even have the data step generate the header line without any extra steps.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="116724" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 23:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141341#M37716</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-01-28T23:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export CSV with 'xxx'n field names 30 to 32 characters long</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141342#M37717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Tom.&amp;nbsp; I'll give that a try.&amp;nbsp; Our server also has bad performance issues (our new environment couldn't come sooner).&amp;nbsp; I killed the ods csv step after 1.5 hours as that was just too long.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 23:35:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-export-CSV-with-xxx-n-field-names-30-to-32-characters-long/m-p/141342#M37717</guid>
      <dc:creator>tammy_dezilva</dc:creator>
      <dc:date>2015-01-28T23:35:19Z</dc:date>
    </item>
  </channel>
</rss>

