<?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: Viewing SAS data table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880046#M347696</link>
    <description>&lt;P&gt;You can hide unwanted columns in the Viewtable window. Select the column(s) you want to hide by clicking (plus optionally shift-click or ctrl-click) on the column name(s), then right-click on a column name and select Hide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also create a VIEW which only includes the columns you want to see. Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    create view abc as select make,model,msrp,cylinders from sashelp.cars;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 16:07:19 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-06-11T16:07:19Z</dc:date>
    <item>
      <title>Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/879681#M347526</link>
      <description>&lt;P&gt;Is it possible to view the data table for selected observations? For example, I want to view the following table for drid=1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bayzid_0-1686193464125.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84815i1BFC6512135D1A61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bayzid_0-1686193464125.png" alt="bayzid_0-1686193464125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 03:04:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/879681#M347526</guid>
      <dc:creator>bayzid</dc:creator>
      <dc:date>2023-06-08T03:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/879685#M347528</link>
      <description>&lt;P&gt;Try a WHERE statement in the command line with VIEWTABLE open: where drid=1&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 03:41:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/879685#M347528</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-06-08T03:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/879691#M347534</link>
      <description>&lt;P&gt;Thanks very much.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 04:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/879691#M347534</guid>
      <dc:creator>bayzid</dc:creator>
      <dc:date>2023-06-08T04:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880039#M347691</link>
      <description>&lt;P&gt;Is it also possible to display only selected variables in the view table?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 04:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880039#M347691</guid>
      <dc:creator>BayzidurRahman</dc:creator>
      <dc:date>2023-06-11T04:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880046#M347696</link>
      <description>&lt;P&gt;You can hide unwanted columns in the Viewtable window. Select the column(s) you want to hide by clicking (plus optionally shift-click or ctrl-click) on the column name(s), then right-click on a column name and select Hide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also create a VIEW which only includes the columns you want to see. Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    create view abc as select make,model,msrp,cylinders from sashelp.cars;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 16:07:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880046#M347696</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-06-11T16:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880115#M347743</link>
      <description>&lt;P&gt;thanks. It creates a new table.&lt;/P&gt;
&lt;P&gt;I was wondering if similar thing could be done from the command line without creating a new table as my dataset is very big.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 00:56:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880115#M347743</guid>
      <dc:creator>bayzid</dc:creator>
      <dc:date>2023-06-12T00:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880152#M347763</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/108705"&gt;@bayzid&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;thanks. It creates a new table.&lt;/P&gt;
&lt;P&gt;I was wondering if similar thing could be done from the command line without creating a new table as my dataset is very big.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It does NOT create a new table, it creates a VIEW. These are different. A VIEW doesn't require that a brand new (and very large) data set be created; it allows you to VIEW the data set that already exists in ways that you specify, such as it allows you to view only specified columns of this large data set.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 10:23:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880152#M347763</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-06-12T10:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880154#M347764</link>
      <description>&lt;P&gt;Thanks. got it&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 10:27:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880154#M347764</guid>
      <dc:creator>bayzid</dc:creator>
      <dc:date>2023-06-12T10:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880187#M347783</link>
      <description>keep name&lt;BR /&gt;drop name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But it only can handle one variable one time.</description>
      <pubDate>Mon, 12 Jun 2023 12:13:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880187#M347783</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-06-12T12:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing SAS data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880200#M347788</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;keep name&lt;BR /&gt;drop name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But it only can handle one variable one time.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Although this isn't as good a solution (in my opinion) as creating a view, this does work if you want to try it in the command line&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;hide type;hide drivetrain;hide origin&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Jun 2023 12:56:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Viewing-SAS-data-table/m-p/880200#M347788</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-06-12T12:56:07Z</dc:date>
    </item>
  </channel>
</rss>

