<?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: creating Delimited file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162515#M300012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am using comma "," as delimiter in my output csv file and i have this sample value in entire column. Above one of the value i have specified here just for a reference. So I am not sure where i will have new line character in my column .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2013 06:28:39 GMT</pubDate>
    <dc:creator>skygold16</dc:creator>
    <dc:date>2013-12-04T06:28:39Z</dc:date>
    <item>
      <title>creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162511#M300008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;Hey Guys,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;Another challenging stuff....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;I have few columns in my SAS dataset, and value is something like...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;'&amp;lt;! 2013-11-28 09:54:29 Escalated &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;Entered on 2013-11-28 at 09&amp;amp;#58;54&amp;amp;#58;26 by XYZ ABC &amp;amp;#58;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;Approved Incident report attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;/XYZ'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;Now when I put this string in output file with dlm=',', output gets jumbled up. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;I have tried using string=compbl(string); but that didn't help since its a newline character which I want to replace with space in my output file. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;I also tried using column_name1 = COMPRESS(column_name,' ',"kw");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;This worked to remove new line character, but it doesn't replace new line character with space. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;So output will look something like....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;'&amp;lt;! 2013-11-28 09:54:29 Escalated &amp;gt;Entered on 2013-11-28 at 09&amp;amp;#58;54&amp;amp;#58;26 by XYZ ABC &amp;amp;#58;Approved Incident report attached./XYZ'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;I just want space wherever we have new line. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14px; background-color: #ffffff; font-family: Segoe, Helvetica, Arial, sans-serif;"&gt;Also for few values, i see double quote appearing at the start of string, but if I open same file in excel, I don't see. and most veird thing is, its only appearing for few text columns and not for all .&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;Any solutions?&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10905i8775F79945EA00C2/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="q2.PNG" title="q2.PNG" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10906i618D64D76C77AAE5/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Q.PNG" title="Q.PNG" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 12:54:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162511#M300008</guid>
      <dc:creator>skygold16</dc:creator>
      <dc:date>2013-12-03T12:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162512#M300009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not at all clear to me what your problem is.&amp;nbsp; However you might want to look at the Web Tools functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/allprodslang/65060/HTML/default/viewer.htm#syntaxByCategory-function.htm" title="http://support.sas.com/documentation/cdl/en/allprodslang/65060/HTML/default/viewer.htm#syntaxByCategory-function.htm"&gt;SAS(R) 9.4 Language Elements by Name, Product, and Category&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 13:15:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162512#M300009</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-12-03T13:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162513#M300010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have text column having value like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;'&amp;lt;! 2013-11-28 09:54:29 Escalated &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;Entered on 2013-11-28 at 09&amp;amp;#58;54&amp;amp;#58;26 by XYZ ABC &amp;amp;#58;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;Approved Incident report attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;/XYZ'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;The above text is part of single column value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;I am trying to put this in csv file but when I do so, using &lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;column_name1 = COMPRESS(column_name,' ',"kw");&lt;/SPAN&gt; I see double quote for few of the text column &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 14px; background-color: #ffffff; font-family: Segoe, Helvetica, Arial, sans-serif; font-weight: inherit;"&gt;"&amp;lt;! 2013-11-28 09:54:29 Escalated &amp;gt;Entered on 2013-11-28 at 09&amp;amp;#58;54&amp;amp;#58;26 by XYZ ABC &amp;amp;#58;Approved Incident report attached./XYZ"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 14px; background-color: #ffffff; font-family: Segoe, Helvetica, Arial, sans-serif; font-weight: inherit;"&gt;where it shouldn't since input column doesn't have any quotations. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 14px; background-color: #ffffff; font-family: Segoe, Helvetica, Arial, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 14px; background-color: #ffffff; font-family: Segoe, Helvetica, Arial, sans-serif; font-weight: inherit;"&gt;I have attached reference images in my previous post. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 13:58:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162513#M300010</guid>
      <dc:creator>skygold16</dc:creator>
      <dc:date>2013-12-03T13:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162514#M300011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you must be using a delimiter that is one of the characters in the string.&amp;nbsp; See this example what I think models your problem.&amp;nbsp; However if that is indeed what is happening you want then quotes otherwise you won't be able to read it.&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;18&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data _null_;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;19&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file log ls=&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;256&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dsd dlm=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'#'&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;20&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length a b $&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;200&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;21&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a=catx(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'0a'x&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'&amp;lt;! 2013-11-28 09:54:29 Escalated &amp;gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;22&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&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; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'Entered on 2013-11-28 at 09&amp;amp;#58;54&amp;amp;#58;26 by XYZ ABC &amp;amp;#58;'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;23&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&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; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'Approved Incident report attached.'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;24&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&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; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'/XYZ'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;25&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b=compress(a,&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'KW'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;26&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put b;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;27&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;"&amp;lt;! 2013-11-28 09:54:29 Escalated &amp;gt;Entered on 2013-11-28 at 09&amp;amp;#58;54&amp;amp;#58;26 by XYZ ABC &amp;amp;#58;Approved Incident report attached./XYZ"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 16:20:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162514#M300011</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-12-03T16:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162515#M300012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am using comma "," as delimiter in my output csv file and i have this sample value in entire column. Above one of the value i have specified here just for a reference. So I am not sure where i will have new line character in my column .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 06:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162515#M300012</guid>
      <dc:creator>skygold16</dc:creator>
      <dc:date>2013-12-04T06:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162516#M300013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you attach some sample data and then tell us how the result should look like? That would make it much clearer and I'm sure someone as senior as data _null_ would be able to provide you with a perfect solution for the challenge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 10:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162516#M300013</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-12-04T10:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162517#M300014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately its client data and I will not be able to do so. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;'&amp;lt;! 2013-11-28 09:54:29 Escalated &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;Entered on 2013-11-28 at 09&amp;amp;#58;54&amp;amp;#58;26 by XYZ ABC &amp;amp;#58;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;Approved Incident report attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;/XYZ'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;Result Should be :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;'&amp;lt;! 2013-11-28 09:54:29 Escalated &amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;Entered on 2013-11-28 at 09&amp;amp;#58;54&amp;amp;#58;26 by XYZ ABC &amp;amp;#58; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;Approved Incident report attached. &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;/XYZ'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-family: Segoe, Helvetica, Arial, sans-serif;"&gt;&lt;SPAN style="font-size: 14px; font-style: inherit; font-weight: inherit;"&gt;This is happening for some columns properly but for few its displays double quote as you can see in &lt;/SPAN&gt;&lt;SPAN style="font-size: 14px;"&gt;attached&lt;/SPAN&gt;&lt;SPAN style="font-size: 14px; font-style: inherit; font-weight: inherit;"&gt; images from my first post.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Segoe, Helvetica, Arial, sans-serif; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 10:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162517#M300014</guid>
      <dc:creator>skygold16</dc:creator>
      <dc:date>2013-12-04T10:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162518#M300015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You tell us that you're dealing with line feeds. If so then you should attach some "real" data as we won't get this challenge if you simply copy/paste it into the forum. I believe for issues like this we need an actual file as an attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have such data if you store an Excel file as .csv and there were line feeds in some of the cells. TERMSTR=CRLF in the INFILE statement is eventually what you're after to tell SAS that LF alone is not an end-of-line indicator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be much easier to give you advice by having some real data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 10:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162518#M300015</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-12-04T10:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162519#M300016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, but that is not possible here....still i have copied few line below how do isee in my output file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; in,"&amp;lt;! 2013-11-28 08:57.........&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;"Incid......&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;elrock,"&amp;lt;! 2....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 10:39:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162519#M300016</guid>
      <dc:creator>skygold16</dc:creator>
      <dc:date>2013-12-04T10:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162520#M300017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why can't you just attach 2 lines of your data - whether that's now a SAS file or some external data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 10:42:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162520#M300017</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-12-04T10:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162521#M300018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its normal .csv file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Headers:&lt;/P&gt;&lt;P&gt;eventShortDesc,eventDesc,SummaryDescription,sourceSystemCd,sourceSystemCd,legalOrgId,sourceSystemCd,managementOrgId,sourceSystemCd,geographyId,x_footprintsID,x_severity_class,x_fp_category,x_fp_coreSystem,x_fp_subSystem,x_fp_closureCd,x_fp_systemNm,x_fp_firstNm,x_fp_lastNm,x_fp_userID,x_fp_email,x_fp_department,x_fp_office,x_fp_area,x_fp_resolution,x_submission_dttm,x_closure_dttm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 1:&lt;/P&gt;&lt;P&gt;**** Expert log in,"&amp;lt;! 2013-11-28 08:57:53 Escalated &amp;gt;Entered on 2013-11-28 at 08&amp;amp;#58;57&amp;amp;#58;53 by ***** Jern &amp;amp;#58;Entered on 27/11/2013 at 17&amp;amp;#58;24&amp;amp;#58;59 CET (GMT+0100) by **** Service Desk&amp;amp;#58;Hi,We communicated to **** Widros the solution of the problem&amp;amp;#58;WAS lost contact to repository in ***. *** sorted out hte storage problem and that solved the problem.Thanks,FrancoEntered on 2013-09-05 at 13&amp;amp;#58;46&amp;amp;#58;51 by ***** Curman &amp;amp;#58;Roll back of a change at CGI resolved the problem. Verified by *** Wennerholm and Telrock.BR/****",Falcon Expert log in,MON,MON,-1,MON,-1,MON,-1,,3,Core__bSystems,,,,,,,,,ECS - Customer Service Area,,,"Entered on 2013-11-28 at 08&amp;amp;#58;57&amp;amp;#58;53 by ***** Jern &amp;amp;#58;Entered on 27/11/2013 at 17&amp;amp;#58;24&amp;amp;#58;59 CET (GMT+0100) by **** Service Desk&amp;amp;#58;Hi,We communicated to **** Widros the solution of the problem&amp;amp;#58;WAS lost contact to repository in ****. ****sorted out hte storage problem and that solved the problem. Thanks,FrancoEntered on 2013-09-05 at 13&amp;amp;#58;46&amp;amp;#58;51 by **** Curman",03SEP13:14:08:42,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 2:&lt;/P&gt;&lt;P&gt;"Incident SB1 **** , compliance breach.",&amp;lt;! 2013-11-01 13:28:00 groe &amp;gt;Copied to Change Management as RFC #3956 by Gro **** ,"Incident SB1 ****, compliance breach.",MON,MON,-1,MON,-1,MON,-1,,3,Core__bSystems,,,,,,,,,Customer Service Bank Market,,***NO,"Entered on 2013-11-27 at 11&amp;amp;#58;47&amp;amp;#58;26 by Gro **** &amp;amp;#58;Implemented (RFC 3956).Entered on 2013-10-03 at 11&amp;amp;#58;54&amp;amp;#58;17 by **** Service Desk&amp;amp;#58;Hi,Since I am not getting any response, I am closing this ticket as resolved. Please reopen the ticket in case of any clarifications.Regards,**** M",25SEP13:09:30:17,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in line 1, just after first comma, second column data starts with ", but in actual dataset it is not like that....there is no quotation mark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sama for line 2, first data starts with ".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 11:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162521#M300018</guid>
      <dc:creator>skygold16</dc:creator>
      <dc:date>2013-12-04T11:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162522#M300019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field contains a comma and it was quoted when written.&amp;nbsp; If you want normal csv that's what you got.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 12:22:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162522#M300019</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-12-04T12:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162523#M300020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aah, I understand, but is there any solution to remove that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using DLM = ',' and DSD as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILE "&amp;amp;PATH.\&amp;amp;OUTPUT..csv" ENCODING="ASCII" DLM=',' DSD LRECL=32767 DROPOVER; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you suggest anything else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 12:53:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162523#M300020</guid>
      <dc:creator>skygold16</dc:creator>
      <dc:date>2013-12-04T12:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: creating Delimited file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162524#M300021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't have quotes around delimiter characters that are not delimiters you cannot read the csv, because the commas and the delimiters (a comma) are confounded.&amp;nbsp; You need to accept what you have (the proper CSV) or remove the commas from the text (silly idea) or change the delimiter to something that is never part of the text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 13:07:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-Delimited-file/m-p/162524#M300021</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-12-04T13:07:47Z</dc:date>
    </item>
  </channel>
</rss>

