<?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 locate a variable in a SAS data set quickly in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13847#M2068</link>
    <description>You can also use the form view if you want to show more variables at once (though it has display issues with long variables). There is also the hide/unhide tool, and the hold option to keep some variables permanently displayed when you scroll, but to be honest this interface is obsolete (which is a shame as it is really useful). For eg, the find field in "view columns" requires you to know and enter the whole variable name, or the hide/unhide dialog is tiny and only shows the first eight letters of the variable names. And there is no Goto option to go to a column or to a row/value. &lt;BR /&gt;
&lt;BR /&gt;
With FSView, you can type 85 to go to row 85, and both goto options are there, but this was not carried over to viewtable.&lt;BR /&gt;
&lt;BR /&gt;
I raised these issues years ago with tech support, but nothing happened.&lt;BR /&gt;
&lt;BR /&gt;
Try fsview see if the "go to variable" menu entry works for you. Be warned though, if you have no mainframe experience, the looks and (lack of) features may frighten you ;o)</description>
    <pubDate>Sun, 02 May 2010 23:51:48 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2010-05-02T23:51:48Z</dc:date>
    <item>
      <title>how to locate a variable in a SAS data set quickly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13841#M2062</link>
      <description>Hi Colleagues,&lt;BR /&gt;
&lt;BR /&gt;
The data set now I am working with having over 1500 variables. I know the names of each and every variables based on data dictionary but could you let me know how to locate a given variable immediately.&lt;BR /&gt;
&lt;BR /&gt;
I tried Ctrl + F approach like in Excel but doesn't work.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Mirisage</description>
      <pubDate>Fri, 30 Apr 2010 19:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13841#M2062</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2010-04-30T19:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to locate a variable in a SAS data set quickly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13842#M2063</link>
      <description>Please help by explaining from where you want to do your "variable find" command?&lt;BR /&gt;
&lt;BR /&gt;
You can use PROC CONTENTS and do a FIND in the OUTPUT window, as one idea.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 30 Apr 2010 20:52:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13842#M2063</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-04-30T20:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to locate a variable in a SAS data set quickly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13843#M2064</link>
      <description>Hi sbb,&lt;BR /&gt;
&lt;BR /&gt;
Thanks.&lt;BR /&gt;
&lt;BR /&gt;
I need to find a given variable in an opened SAS dataset itself. Say you open a SAS dataset, and you need to find the 'age' variable quickly to get some understanding how do the records under that variable look like. &lt;BR /&gt;
&lt;BR /&gt;
If there is no quick way to find it, I have to go all variables one by one along headline (first raw) of the data set. &lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Mirisage</description>
      <pubDate>Fri, 30 Apr 2010 21:04:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13843#M2064</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2010-04-30T21:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to locate a variable in a SAS data set quickly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13844#M2065</link>
      <description>Hi:&lt;BR /&gt;
  I don't understand where the SAS dataset is opened -- in Enterprise Guide?? In the Viewtable window from the SAS Explorer??&lt;BR /&gt;
 &lt;BR /&gt;
  For data exploration, I find the best method of reviewing data is to use something like PROC MEANS or PROC UNIVARIATE for numeric variables and to use PROC FREQ for character variables.&lt;BR /&gt;
 &lt;BR /&gt;
 Something like the program below, using SASHELP.CLASS.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods html file='c:\temp\explore.html' style=sasweb;&lt;BR /&gt;
  ** Run the procedures with only your variable of choice;&lt;BR /&gt;
  proc freq data=sashelp.class nlevels;&lt;BR /&gt;
    title '1a) Look at Specific Variable';&lt;BR /&gt;
    tables age;&lt;BR /&gt;
  run;&lt;BR /&gt;
                    &lt;BR /&gt;
  proc univariate data=sashelp.class;&lt;BR /&gt;
    title '1b) Look at AGE with Univariate';&lt;BR /&gt;
    var age;&lt;BR /&gt;
  run;&lt;BR /&gt;
                         &lt;BR /&gt;
  proc means data=sashelp.class;&lt;BR /&gt;
    title '1c) Look at AGE with Proc MEANS';&lt;BR /&gt;
    var age;&lt;BR /&gt;
  run;  &lt;BR /&gt;
                                               &lt;BR /&gt;
** Alternately, Explore all character and numeric variables in one procedure;&lt;BR /&gt;
  proc freq data=sashelp.class nlevels;&lt;BR /&gt;
    title '2a) Look at all Character Variables';&lt;BR /&gt;
    tables _character_;&lt;BR /&gt;
  run;&lt;BR /&gt;
                    &lt;BR /&gt;
  proc univariate data=sashelp.class;&lt;BR /&gt;
    title '2b) Look at Numeric Variables with Univariate';&lt;BR /&gt;
    var _numeric_;&lt;BR /&gt;
  run;&lt;BR /&gt;
                   &lt;BR /&gt;
  proc means data=sashelp.class;&lt;BR /&gt;
    title '2c) Look at Numeric Variables with Proc MEANS';&lt;BR /&gt;
    var _numeric_;&lt;BR /&gt;
  run;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Fri, 30 Apr 2010 21:25:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13844#M2065</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-30T21:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to locate a variable in a SAS data set quickly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13845#M2066</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
SAS dataset is opened in the Viewtable window from the SAS Explorer.&lt;BR /&gt;
&lt;BR /&gt;
The first row is like this which shows variable names.&lt;BR /&gt;
&lt;BR /&gt;
ID Age Sex Occupation Income Land_owned Disabled Weight............and so on&lt;BR /&gt;
&lt;BR /&gt;
Say I want to jump into the 'Disabled' variable at once. How should I do it?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Mirisage</description>
      <pubDate>Fri, 30 Apr 2010 21:35:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13845#M2066</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2010-04-30T21:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to locate a variable in a SAS data set quickly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13846#M2067</link>
      <description>With SAS 9.1.3, I observed a few options - right-click the object, then click VIEW_COLUMNS, or open the file and then click EDIT, then FIND.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 30 Apr 2010 22:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13846#M2067</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-04-30T22:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to locate a variable in a SAS data set quickly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13847#M2068</link>
      <description>You can also use the form view if you want to show more variables at once (though it has display issues with long variables). There is also the hide/unhide tool, and the hold option to keep some variables permanently displayed when you scroll, but to be honest this interface is obsolete (which is a shame as it is really useful). For eg, the find field in "view columns" requires you to know and enter the whole variable name, or the hide/unhide dialog is tiny and only shows the first eight letters of the variable names. And there is no Goto option to go to a column or to a row/value. &lt;BR /&gt;
&lt;BR /&gt;
With FSView, you can type 85 to go to row 85, and both goto options are there, but this was not carried over to viewtable.&lt;BR /&gt;
&lt;BR /&gt;
I raised these issues years ago with tech support, but nothing happened.&lt;BR /&gt;
&lt;BR /&gt;
Try fsview see if the "go to variable" menu entry works for you. Be warned though, if you have no mainframe experience, the looks and (lack of) features may frighten you ;o)</description>
      <pubDate>Sun, 02 May 2010 23:51:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13847#M2068</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2010-05-02T23:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to locate a variable in a SAS data set quickly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13848#M2069</link>
      <description>since that is now classified as "the old-fashioned sas", you may have the old-fashioned sas module called fsview and fsbrowse. These allow you to go directly to a variable ("disabled" in the example below) with the command&lt;BR /&gt;
   =disabled&lt;BR /&gt;
 &lt;BR /&gt;
Pity it's not so easy in the "more up-to-date" SAS&lt;BR /&gt;
 &lt;BR /&gt;
PeterC</description>
      <pubDate>Wed, 05 May 2010 15:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-locate-a-variable-in-a-SAS-data-set-quickly/m-p/13848#M2069</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-05-05T15:09:54Z</dc:date>
    </item>
  </channel>
</rss>

