<?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: How to remove the space in between delimiters in sas excel output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-the-space-in-between-delimiters-in-sas-excel/m-p/177275#M12599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add DSD option - from Tom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;

data class;
 set sashelp.class;
 if ranuni(0) lt 0.6 then call missing(sex);
run;
data _null_;
set class;
 file 'c:\temp\x.txt' dlm='|' dsd;
 put name sex age;
run;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 13:02:13 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2014-11-19T13:02:13Z</dc:date>
    <item>
      <title>How to remove the space in between delimiters in sas excel output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-the-space-in-between-delimiters-in-sas-excel/m-p/177273#M12597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i 've created a report in excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used '|' pipe as delimiter.my output in excel was&lt;/P&gt;&lt;P&gt;name|id|account|sex|&lt;/P&gt;&lt;P&gt;raj|0345|SB|M&lt;/P&gt;&lt;P&gt;kumar|0346| |M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting null for column account when there is no data availabe.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Now my question is it possible to remove the space between two pipes when there is no data. i.e., || (two pipes immediately) if there is null data .&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;i want data like &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;kumar|0346&lt;SPAN style="color: #000080;"&gt;||&lt;/SPAN&gt;M&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 08:24:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-the-space-in-between-delimiters-in-sas-excel/m-p/177273#M12597</guid>
      <dc:creator>kuv</dc:creator>
      <dc:date>2014-11-19T08:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the space in between delimiters in sas excel output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-the-space-in-between-delimiters-in-sas-excel/m-p/177274#M12598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, please clarify, you have created a delimited file from within SAS of data you have in SAS?&amp;nbsp; How have you created this file, is it by datastep with put statements, proc export, ods tagset etc.&amp;nbsp; Provide code if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 09:32:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-the-space-in-between-delimiters-in-sas-excel/m-p/177274#M12598</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-19T09:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the space in between delimiters in sas excel output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-the-space-in-between-delimiters-in-sas-excel/m-p/177275#M12599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add DSD option - from Tom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;

data class;
 set sashelp.class;
 if ranuni(0) lt 0.6 then call missing(sex);
run;
data _null_;
set class;
 file 'c:\temp\x.txt' dlm='|' dsd;
 put name sex age;
run;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 13:02:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-the-space-in-between-delimiters-in-sas-excel/m-p/177275#M12599</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-11-19T13:02:13Z</dc:date>
    </item>
  </channel>
</rss>

