<?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: Need to create blank coulmns with out having any spaces and periods in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346984#M80071</link>
    <description>&lt;P&gt;Sorry, you will need to be far more specific - give examples (plain text in the post). &amp;nbsp;What report, what file format? &amp;nbsp;how are you creating it? If you look at the example I provided there was no space between the quote marks, in your post there is. &amp;nbsp;Remove that space.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2017 10:30:47 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-04-04T10:30:47Z</dc:date>
    <item>
      <title>Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346962#M80057</link>
      <description>&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a requirement from my client that need to populate a blank column but that should not be having any spaces or periods (full blank)&lt;/P&gt;&lt;P&gt;I know SAS can show this as either space or periods, but wanted to know is there any other soultion for this .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manesh&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 09:11:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346962#M80057</guid>
      <dc:creator>ambadi007</dc:creator>
      <dc:date>2017-04-04T09:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346971#M80061</link>
      <description>&lt;P&gt;Erm, your question is very unclear. &amp;nbsp;This:&lt;/P&gt;
&lt;PRE&gt;data want;
  a="";
run;&lt;/PRE&gt;
&lt;P&gt;Creates a dataset with one emtpy variable named a (length 1). &amp;nbsp;Dots (.) are a feature of missing numerics, you can change this with options missing="";&lt;/P&gt;
&lt;P&gt;Wouldn't recommend that though as it affects everything in the session. &amp;nbsp;Just create an emtpy string variable as above, length is irrelevant. &amp;nbsp;Cant see why spaces would matter.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 09:57:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346971#M80061</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-04-04T09:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346973#M80063</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
value fmt .='NA';
value $fmt ' '='NA';
run;
data x;
 x='sds';y=23;output;
 x=' ';y=34;output;
 x='dsd';y=.;output;
 format _numeric_ fmt. _character_ $fmt.;
run;
proc print;run;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:14:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346973#M80063</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-04-04T10:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346980#M80068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I created the variable like this a=' '; But this creating a space in the report, this gives errors while exporting the report from client system , so they need a complete blank instead of the space or periods.Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:25:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346980#M80068</guid>
      <dc:creator>ambadi007</dc:creator>
      <dc:date>2017-04-04T10:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346984#M80071</link>
      <description>&lt;P&gt;Sorry, you will need to be far more specific - give examples (plain text in the post). &amp;nbsp;What report, what file format? &amp;nbsp;how are you creating it? If you look at the example I provided there was no space between the quote marks, in your post there is. &amp;nbsp;Remove that space.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:30:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346984#M80071</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-04-04T10:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346986#M80072</link>
      <description>&lt;P&gt;Technically, the answer is no. &amp;nbsp;You cannot create a character variable with length zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Conceivably, you could assign a null value to a character variable with code along these lines:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;newvar='00'x;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But that is much more likely to cause downstream problems.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:32:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/346986#M80072</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-04-04T10:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/347017#M80089</link>
      <description>&lt;P&gt;Hi This is affecting all other data&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 12:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/347017#M80089</guid>
      <dc:creator>ambadi007</dc:creator>
      <dc:date>2017-04-04T12:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/347027#M80094</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using excel file to report it and I am exporting the file using DDE program. but for the blanks columns it should not show the space , now if I use the a="" it shows the space in the column cells , and If I use the backspace key it is removing the space. My requirement is is there any solution to remove the space. Hope now its &amp;nbsp;clear&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 13:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/347027#M80094</guid>
      <dc:creator>ambadi007</dc:creator>
      <dc:date>2017-04-04T13:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/347028#M80095</link>
      <description>&lt;P&gt;Create a simple example that demonstrates the method you are using to export the data. DDE is not a normal method to use, Microsoft probably doesn't even want to support it anymore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not hard to make a report with empty columns. For example a CSV file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   file log dsd ;
   length var1-var3 $10;
   var1='A';
   var2=' ';
   var3='C';
   put var1-var3 ;
run;  &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Reading the examples of DDE in this document &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#ddeexamples.htm" target="_self"&gt;http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#ddeexamples.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;it looks like it should be simple.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename mydata dde 'excel|sheet1!r10c1:r20c3' notab;
data _null_; 
   file mydata dsd dlm='09'x  ;
   set mysas;
   put (_all_) (+0);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 13:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/347028#M80095</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-04-04T13:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create blank coulmns with out having any spaces and periods</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/347048#M80100</link>
      <description>&lt;P&gt;If you do not want anything in column C, for example, then do not write anything to column C. Write to B, Write to D but do not write to C. Then C will be "blank" as in whatever default Excel wants it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simple.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 14:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-create-blank-coulmns-with-out-having-any-spaces-and/m-p/347048#M80100</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-04T14:21:29Z</dc:date>
    </item>
  </channel>
</rss>

