<?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: hello guys and ladies I have half solution I am sorry this is first time I am posting and I did in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/324818#M72136</link>
    <description>&lt;P&gt;Any data step or sas procedure should end by&amp;nbsp;&lt;STRONG&gt; run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems to me that you want:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data STOCK;
infile
'/folders/myfolders/exdata/annual_stock_price.txt';
input year $ stock1 stock2 stock3 stock4 stock5 stock6 stock7 stock8 stock9 stock10 &lt;BR /&gt;             stock11 stock12 stock13 stock14 stock15 stock16 stock17 stock18 stock19 stock20;

label 
stock1 ='Microsoft'
stock2 ='Apple Inc'
stock3 ='Walmart'
stock4 ='BJ'
stock5 ='Costco'
stock6 ='3M'
stock7 ='Eli Lilly'
stock8 ='Pfizer'
stock9 ='Exelon'
stock10='Toyota'
stock11='Ford'
stock12='GM'
stock13='American Airline'
stock14='Johnson &amp;amp; Johnson'
stock15='Exxon'
stock16='Georgia Pacific'
stock17='American Standard'
stock18='Northrop Gruman'
stock19='Sears'
stock20='Peco'&lt;BR /&gt;;

run;

PROC PRINT DATA = STOCK;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 14 Jan 2017 11:16:33 GMT</pubDate>
    <dc:creator>Shmuel</dc:creator>
    <dc:date>2017-01-14T11:16:33Z</dc:date>
    <item>
      <title>hello guys and ladies I have half solution I am sorry this is first time I am posting and I did not</title>
      <link>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/324800#M72130</link>
      <description>&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y1 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;data STOCK;&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y2 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;infile&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y3 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;'/folders/myfolders/exdata/annual_stock_price.txt';&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y4 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;input year $ stock1 stock2 stock3 stock4 stock5 stock6 stock7 stock8 stock9&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y5 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock10 stock11 stock12 stock13 stock14 stock15 stock16 stock17 stock18 stock19&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y6 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock20;&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y7 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;run;&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y8 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;PROC PRINT DATA = STOCK;&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y9 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;RUN;&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1ya pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;data STOCK1;&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1yb pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;set STOCK;&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1yc pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;label stock1 ='Microsoft'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1yd pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock2 ='Apple Inc'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1ye pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock3 ='Walmart'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1yf pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock4 ='BJ'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y10 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock5 ='Costco'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y11 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock6 ='3M'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y12 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock7 ='Eli Lilly'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y13 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock8 ='Pfizer'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y14 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock9 ='Exelon'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y15 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock10='Toyota'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y16 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock11='Ford'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y17 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock12='GM'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y18 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock13='American Airline'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y19 pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock14='Johnson &amp;amp; Johnson'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y1a pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock15='Exxon'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y1b pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock16='Georgia Pacific'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y1c pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock17='American Standard'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y1d pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock18='Northrop Gruman'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y1e pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock19='Sears'&lt;/DIV&gt;&lt;DIV class="t pg-1m0 pg-1x1 pg-1h2 pg-1y1f pg-1ff1 pg-1fs0 pg-1fc0 pg-1sc0 pg-1ls0 pg-1ws0"&gt;stock20='Peco';&lt;/DIV&gt;</description>
      <pubDate>Sat, 14 Jan 2017 05:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/324800#M72130</guid>
      <dc:creator>PU1</dc:creator>
      <dc:date>2017-01-14T05:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: hello guys and ladies I have half solution I am sorry this is first time I am posting and I did</title>
      <link>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/324809#M72134</link>
      <description>&lt;P&gt;Don't try to put your whole question into the subject. Use the message body instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is your issue/problem, anyway?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2017 08:04:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/324809#M72134</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-14T08:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: hello guys and ladies I have half solution I am sorry this is first time I am posting and I did</title>
      <link>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/324818#M72136</link>
      <description>&lt;P&gt;Any data step or sas procedure should end by&amp;nbsp;&lt;STRONG&gt; run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems to me that you want:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data STOCK;
infile
'/folders/myfolders/exdata/annual_stock_price.txt';
input year $ stock1 stock2 stock3 stock4 stock5 stock6 stock7 stock8 stock9 stock10 &lt;BR /&gt;             stock11 stock12 stock13 stock14 stock15 stock16 stock17 stock18 stock19 stock20;

label 
stock1 ='Microsoft'
stock2 ='Apple Inc'
stock3 ='Walmart'
stock4 ='BJ'
stock5 ='Costco'
stock6 ='3M'
stock7 ='Eli Lilly'
stock8 ='Pfizer'
stock9 ='Exelon'
stock10='Toyota'
stock11='Ford'
stock12='GM'
stock13='American Airline'
stock14='Johnson &amp;amp; Johnson'
stock15='Exxon'
stock16='Georgia Pacific'
stock17='American Standard'
stock18='Northrop Gruman'
stock19='Sears'
stock20='Peco'&lt;BR /&gt;;

run;

PROC PRINT DATA = STOCK;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Jan 2017 11:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/324818#M72136</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-01-14T11:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: hello guys and ladies I have half solution I am sorry this is first time I am posting and I did</title>
      <link>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/326183#M72605</link>
      <description>Thank you so much I need coding for percentage&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jan 2017 06:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/326183#M72605</guid>
      <dc:creator>PU1</dc:creator>
      <dc:date>2017-01-20T06:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: hello guys and ladies I have half solution I am sorry this is first time I am posting and I did</title>
      <link>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/326185#M72606</link>
      <description />
      <pubDate>Fri, 20 Jan 2017 06:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/326185#M72606</guid>
      <dc:creator>PU1</dc:creator>
      <dc:date>2017-01-20T06:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: hello guys and ladies I have half solution I am sorry this is first time I am posting and I did</title>
      <link>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/326192#M72610</link>
      <description>&lt;P&gt;Please be more specific. Percentage describes a relationship between two values. Which values should be used for the calculation?&lt;/P&gt;
&lt;P&gt;Also post the code you already have, and where the result diverges from your intended result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are here to help you achieve something, not to help you in being lazy.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 07:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/326192#M72610</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-20T07:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: hello guys and ladies I have half solution I am sorry this is first time I am posting and I did</title>
      <link>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/326194#M72611</link>
      <description>Sorry, still not clear about what want to do.&lt;BR /&gt;Perhaps you have a colleague or friend that can help you describe the issue a bit mor fully bodied?</description>
      <pubDate>Fri, 20 Jan 2017 07:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/hello-guys-and-ladies-I-have-half-solution-I-am-sorry-this-is/m-p/326194#M72611</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-20T07:26:21Z</dc:date>
    </item>
  </channel>
</rss>

