<?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: Null columns in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/849075#M335707</link>
    <description>&lt;P&gt;From syntax perspective, yes.&lt;/P&gt;
&lt;P&gt;But what is the point of keeping them at all if they are not contributing to the result?&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 12:22:45 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2022-12-12T12:22:45Z</dc:date>
    <item>
      <title>Null columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/848850#M335596</link>
      <description>&lt;P&gt;If i have series of program that produce series of tables containing production data, instead of masking some sensitive fields, if i just make these data null, e.g. have all names become null in &amp;nbsp;the same column, is all programs still run as before given this name field is not key to any join table or a factors in any important calculation&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2022 02:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/848850#M335596</guid>
      <dc:creator>HeatherNewton</dc:creator>
      <dc:date>2022-12-10T02:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Null columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/848851#M335597</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/416388"&gt;@HeatherNewton&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;If i have series of program that produce series of tables containing production data, instead of masking some sensitive fields, if i just make these data null, e.g. have all names become null in &amp;nbsp;the same column, is all programs still run as before given this name field is not key to any join table or a factors in any important calculation&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Is there a question there somewhere?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to make a copy of the data and set some variables to missing then just use the CALL MISSING() function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example if you wanted to blank out NAME and AGE from SASHELP.CLASS you could do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set sashelp.class;
  call missing(of name age);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Dec 2022 03:44:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/848851#M335597</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-12-10T03:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Null columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/848853#M335598</link>
      <description>&lt;P&gt;BTW NULL is a database concept where database columns store special null values which are not the same as missing or blank values. SAS columns only contain missing values, not null.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2022 03:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/848853#M335598</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-12-10T03:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Null columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/849075#M335707</link>
      <description>&lt;P&gt;From syntax perspective, yes.&lt;/P&gt;
&lt;P&gt;But what is the point of keeping them at all if they are not contributing to the result?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 12:22:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/849075#M335707</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-12-12T12:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Null columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/849176#M335728</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/416388"&gt;@HeatherNewton&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;If i have series of program that produce series of tables containing production data, instead of masking some sensitive fields, if i just make these data null, e.g. have all names become null in &amp;nbsp;the same column, is all programs still run as before given this name field is not key to any join table or a factors in any important calculation&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If I understand your question the answer could be "maybe". Depends on how you intrepret or specify "important".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using the variables as part of By group or Class statement then all missing values within a By group/ Class group with multiple variables will be the same "value" with the non-missing values. Depending on the code actually used missing values may be included or know (look for option MISSING in some procedures). If procedures us Class statements then typically missing values of the Class statements will result in records being excluded from use in the procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As is often the case, you might be better off just trying your process with and without the values in the data set and compare the results.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 16:50:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Null-columns/m-p/849176#M335728</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-12-12T16:50:13Z</dc:date>
    </item>
  </channel>
</rss>

