<?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: Where Used of fields in code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Where-Used-of-fields-in-code/m-p/27217#M4946</link>
    <description>I use ULTRA EDIT it has a nice "Find in files" feature.  I've been using it quite a bit lately.  &lt;BR /&gt;
&lt;BR /&gt;
You can also use SAS to search.  I used FIND but there are other functions if you need more sofisticated searching.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
filename FT33F001 'b*.sas ';&lt;BR /&gt;
options notes=0;&lt;BR /&gt;
data _null_;&lt;BR /&gt;
   length Filename $128;&lt;BR /&gt;
   infile FT33F001 filename=filename eov=eov;&lt;BR /&gt;
   input@;&lt;BR /&gt;
   if _n_ eq 1 or eov then do;&lt;BR /&gt;
      line = 0;&lt;BR /&gt;
      eov  = 0;&lt;BR /&gt;
      put;&lt;BR /&gt;
      put 'NEW FILE: ' Filename=;&lt;BR /&gt;
      end;&lt;BR /&gt;
   line + 1;&lt;BR /&gt;
   if find(_infile_,'summary','i') then do;&lt;BR /&gt;
      put +10 line=;&lt;BR /&gt;
      list;&lt;BR /&gt;
      end;&lt;BR /&gt;
   run;&lt;BR /&gt;
options notes=1;&lt;BR /&gt;
[/pre]</description>
    <pubDate>Fri, 11 Mar 2011 13:58:50 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2011-03-11T13:58:50Z</dc:date>
    <item>
      <title>Where Used of fields in code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Where-Used-of-fields-in-code/m-p/27215#M4944</link>
      <description>Hi - &lt;BR /&gt;
&lt;BR /&gt;
How can I scan through all my programs and identify which programs use a certain field?&lt;BR /&gt;
&lt;BR /&gt;
Janet</description>
      <pubDate>Thu, 10 Mar 2011 22:35:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Where-Used-of-fields-in-code/m-p/27215#M4944</guid>
      <dc:creator>janetS</dc:creator>
      <dc:date>2011-03-10T22:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where Used of fields in code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Where-Used-of-fields-in-code/m-p/27216#M4945</link>
      <description>If your programs is not generated by DI Studio, the easiest would probably to use OS tools, such as the search facility i Windows Explorer, or in UNIX various shell commands.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Fri, 11 Mar 2011 13:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Where-Used-of-fields-in-code/m-p/27216#M4945</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2011-03-11T13:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Where Used of fields in code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Where-Used-of-fields-in-code/m-p/27217#M4946</link>
      <description>I use ULTRA EDIT it has a nice "Find in files" feature.  I've been using it quite a bit lately.  &lt;BR /&gt;
&lt;BR /&gt;
You can also use SAS to search.  I used FIND but there are other functions if you need more sofisticated searching.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
filename FT33F001 'b*.sas ';&lt;BR /&gt;
options notes=0;&lt;BR /&gt;
data _null_;&lt;BR /&gt;
   length Filename $128;&lt;BR /&gt;
   infile FT33F001 filename=filename eov=eov;&lt;BR /&gt;
   input@;&lt;BR /&gt;
   if _n_ eq 1 or eov then do;&lt;BR /&gt;
      line = 0;&lt;BR /&gt;
      eov  = 0;&lt;BR /&gt;
      put;&lt;BR /&gt;
      put 'NEW FILE: ' Filename=;&lt;BR /&gt;
      end;&lt;BR /&gt;
   line + 1;&lt;BR /&gt;
   if find(_infile_,'summary','i') then do;&lt;BR /&gt;
      put +10 line=;&lt;BR /&gt;
      list;&lt;BR /&gt;
      end;&lt;BR /&gt;
   run;&lt;BR /&gt;
options notes=1;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Fri, 11 Mar 2011 13:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Where-Used-of-fields-in-code/m-p/27217#M4946</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2011-03-11T13:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Where Used of fields in code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Where-Used-of-fields-in-code/m-p/27218#M4947</link>
      <description>@janetS: I am not sure if the source text scanning would be sufficient. Variable lists, arrays and other variable naming shortcuts let us code without explicitly mentioning individual variable names. I would refine what I mean by "using a variable", and then proceed more cautiously.</description>
      <pubDate>Fri, 11 Mar 2011 14:56:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Where-Used-of-fields-in-code/m-p/27218#M4947</guid>
      <dc:creator>chang_y_chung_hotmail_com</dc:creator>
      <dc:date>2011-03-11T14:56:50Z</dc:date>
    </item>
  </channel>
</rss>

