<?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: Does proc dataset support column level drop/keep functionality in SAS Viya 3.5/4 in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904658#M2119</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I would appreciate if you can list the other approach for CAS tables.&lt;BR /&gt;Thanks once again.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 17:01:58 GMT</pubDate>
    <dc:creator>thesasuser</dc:creator>
    <dc:date>2023-11-27T17:01:58Z</dc:date>
    <item>
      <title>Does proc dataset support column level drop/keep functionality in SAS Viya 3.5/4</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904649#M2116</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;Does proc dataset support column level drop/keep functionality in SAS Viya 3.5/4 or even in SAS 9.4M8&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 16:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904649#M2116</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2023-11-27T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Does proc dataset support column level drop/keep functionality in SAS Viya 3.5/4</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904651#M2117</link>
      <description>&lt;P&gt;No.&amp;nbsp; It does not make any sense that it would.&amp;nbsp; If you drop a variable you have a whole new dataset. So just make the new dataset.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 16:33:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904651#M2117</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-11-27T16:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Does proc dataset support column level drop/keep functionality in SAS Viya 3.5/4</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904654#M2118</link>
      <description>&lt;P&gt;No!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data set has to be read and re-written for drop of a column.&lt;/P&gt;
&lt;P&gt;You can do:&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;SPAN&gt;proc sql;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;alter table work.abc_xyz&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;drop var_name;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;quit;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;drop= or keep= data set options in data step&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;create a view on top of existing table leaving out the columns you are not interested in.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if you are working on CAS tables. For CAS tables there's one more approach.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 16:40:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904654#M2118</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-11-27T16:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Does proc dataset support column level drop/keep functionality in SAS Viya 3.5/4</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904658#M2119</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I would appreciate if you can list the other approach for CAS tables.&lt;BR /&gt;Thanks once again.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 17:01:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904658#M2119</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2023-11-27T17:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Does proc dataset support column level drop/keep functionality in SAS Viya 3.5/4</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904662#M2120</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/39715"&gt;@thesasuser&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;I would appreciate if you can list the other approach for CAS tables.&lt;BR /&gt;Thanks once again.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Tables Action Set&lt;/STRONG&gt;: Syntax&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/caspg/cas-table-TblOfActions.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/caspg/cas-table-TblOfActions.htm&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;alterTable Action&lt;/STRONG&gt; (in&amp;nbsp;Tables Action Set)&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/caspg/cas-table-altertable.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/caspg/cas-table-altertable.htm&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;drop= parameter in&amp;nbsp;&lt;SPAN&gt;table.alterTable&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;drop={"variable-name-1" &amp;lt;, "variable-name-2", ...&amp;gt;}&lt;/STRONG&gt;&lt;BR /&gt;Columns to drop&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/caspg/cas-table-altertable.htm#SAS.cas-table-altertable-drop" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/caspg/cas-table-altertable.htm#SAS.cas-table-altertable-drop&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 17:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Does-proc-dataset-support-column-level-drop-keep-functionality/m-p/904662#M2120</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-11-27T17:12:21Z</dc:date>
    </item>
  </channel>
</rss>

