<?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: same code three programs in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/same-code-three-programs/m-p/69330#M19904</link>
    <description>check doc for &lt;BR /&gt;
%include</description>
    <pubDate>Wed, 25 May 2011 16:42:05 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2011-05-25T16:42:05Z</dc:date>
    <item>
      <title>same code three programs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/same-code-three-programs/m-p/69329#M19903</link>
      <description>I have a section of code that is used in three different sas programs.  &lt;BR /&gt;
see sample code below.   can I break this portion of code out of the programs and just call it when I need it??&lt;BR /&gt;
&lt;BR /&gt;
data results;&lt;BR /&gt;
set dailywf.LM_Master;&lt;BR /&gt;
&lt;BR /&gt;
if x=1 then do;&lt;BR /&gt;
        If y ='2' THEN Category ='H';&lt;BR /&gt;
	else if b NE '3' OR b = '' then do;&lt;BR /&gt;
	     if L in ('1','2','5','7')then do;&lt;BR /&gt;
	         if L= '2' then Category = 'V';&lt;BR /&gt;
	         if L IN ('1','5','7') THEN Category = 'F';&lt;BR /&gt;
	     end;&lt;BR /&gt;
	ELSE Category = 'Other';&lt;BR /&gt;
			end;&lt;BR /&gt;
end;</description>
      <pubDate>Wed, 25 May 2011 16:39:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/same-code-three-programs/m-p/69329#M19903</guid>
      <dc:creator>mick_g</dc:creator>
      <dc:date>2011-05-25T16:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: same code three programs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/same-code-three-programs/m-p/69330#M19904</link>
      <description>check doc for &lt;BR /&gt;
%include</description>
      <pubDate>Wed, 25 May 2011 16:42:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/same-code-three-programs/m-p/69330#M19904</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-05-25T16:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: same code three programs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/same-code-three-programs/m-p/69331#M19905</link>
      <description>See the %INCLUDE statement: &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000214504.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000214504.htm&lt;/A&gt;.</description>
      <pubDate>Wed, 25 May 2011 16:46:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/same-code-three-programs/m-p/69331#M19905</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2011-05-25T16:46:14Z</dc:date>
    </item>
  </channel>
</rss>

