<?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 Proc export issues with free text column in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-export-issues-with-free-text-column/m-p/901881#M43929</link>
    <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attempting to export a file created in SAS to an external database and one of the fields is a free text field which appears to be exporting some records to do lines.&lt;/P&gt;&lt;P&gt;An example of how some of the fields look is as follows.&lt;/P&gt;&lt;P&gt;""" See printout stored in ABC area&lt;BR /&gt;(if not found consult document) """&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to fix these issues prior to export in order to have one record per line?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sean&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 14:01:24 GMT</pubDate>
    <dc:creator>Sean_OConnor</dc:creator>
    <dc:date>2023-11-07T14:01:24Z</dc:date>
    <item>
      <title>Proc export issues with free text column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-export-issues-with-free-text-column/m-p/901881#M43929</link>
      <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attempting to export a file created in SAS to an external database and one of the fields is a free text field which appears to be exporting some records to do lines.&lt;/P&gt;&lt;P&gt;An example of how some of the fields look is as follows.&lt;/P&gt;&lt;P&gt;""" See printout stored in ABC area&lt;BR /&gt;(if not found consult document) """&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to fix these issues prior to export in order to have one record per line?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sean&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:01:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-export-issues-with-free-text-column/m-p/901881#M43929</guid>
      <dc:creator>Sean_OConnor</dc:creator>
      <dc:date>2023-11-07T14:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export issues with free text column</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-export-issues-with-free-text-column/m-p/901889#M43930</link>
      <description>&lt;P&gt;You can either replace the CR and/or LF characters in your string.&amp;nbsp; For example you might replace the LF's in the file with | character instead and then write that file to a CSV file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data for_export;
  set have;
  array _c _character_;
  do _n_=1 to dim(_c);
      _c[_n_] = translate(_c[_n_],'|','0A'x);
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or possibly use something like the macro mentioned here to write the CSV file with quotes around values that including them.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/Enhancements-to-INFILE-FILE-to-handle-delimited-file-variations/idc-p/776050/highlight/true#M4625" target="_blank"&gt;https://communities.sas.com/t5/SASware-Ballot-Ideas/Enhancements-to-INFILE-FILE-to-handle-delimited-file-variations/idc-p/776050/highlight/true#M4625&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-export-issues-with-free-text-column/m-p/901889#M43930</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-11-07T14:30:15Z</dc:date>
    </item>
  </channel>
</rss>

