<?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: Farm plan in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456606#M115668</link>
    <description>How did you come up with the @32 @ 41 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78374"&gt;@21&lt;/a&gt;? where do those numbers come from and to what do the correspond?</description>
    <pubDate>Mon, 23 Apr 2018 17:08:29 GMT</pubDate>
    <dc:creator>jbbush42</dc:creator>
    <dc:date>2018-04-23T17:08:29Z</dc:date>
    <item>
      <title>Farm plan</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456597#M115665</link>
      <description>&lt;P&gt;Im not sure why the program isnt using all my land (acres) and I'm not sure why my labor is being misinterpreted. Not very experienced using this program but its for a school project.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:33:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456597#M115665</guid>
      <dc:creator>jbbush42</dc:creator>
      <dc:date>2018-04-23T16:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Farm plan</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456599#M115666</link>
      <description>&lt;P&gt;Your log is full of errors so that's usually the place to start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This reads your data correctly. Please post your code directly into the forum in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data tobfarm;
infile datalines truncover;
input @1 _id_  $20.  @21 Soybeans  @32  _type_ $ @41 _rhs_;
datalines;
Profit              190        max      
Land                1          le		275
January Labor       0          le		200
Febraury Labor      0   	   le 		200
March Labor         0          le 		200
April Labor         .25    	   le		200
May Labor     		.25		   le 		200
June Labor     		.25		   le		200
July Labor    		0   	   le 		200
August Labor     	0		   le 		200
September Labor     1.5        le		200
October Labor       1.5        le		200
November Labor      .25        le		200
December Labor      0          le		200
Capital             300        le		14000
;

proc print;run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456599#M115666</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T16:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Farm plan</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456605#M115667</link>
      <description>&lt;P&gt;Thanks. I don't know what I'm doing or why certain things work for what reasons. I may be back sometime tonight with more questions&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 17:01:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456605#M115667</guid>
      <dc:creator>jbbush42</dc:creator>
      <dc:date>2018-04-23T17:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Farm plan</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456606#M115668</link>
      <description>How did you come up with the @32 @ 41 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78374"&gt;@21&lt;/a&gt;? where do those numbers come from and to what do the correspond?</description>
      <pubDate>Mon, 23 Apr 2018 17:08:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456606#M115668</guid>
      <dc:creator>jbbush42</dc:creator>
      <dc:date>2018-04-23T17:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Farm plan</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456609#M115669</link>
      <description>&lt;P&gt;Column numbers. Your data is aligned with the starting location the same for all the data, so the start of each column is where you tell SAS to start reading the data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually you can use a delimiter, but since your first term has spaces, how does SAS know that two words should go together? So that method cannot be used.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not the only way to read this file, just one that works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/206272"&gt;@jbbush42&lt;/a&gt; wrote:&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/544"&gt;@how&lt;/a&gt; did you come up with the @32 @ 41 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78374"&gt;@21&lt;/a&gt;? where do those numbers come from and to what do the correspond?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 17:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456609#M115669</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T17:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Farm plan</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456716#M115716</link>
      <description>&lt;P&gt;I'm now worse than i started. I need to have more results than the one box result that this data set produces. I need to have the multiple boxes that show different things. Im sorry i have no idea what they're called.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 23:03:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456716#M115716</guid>
      <dc:creator>jbbush42</dc:creator>
      <dc:date>2018-04-23T23:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Farm plan</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456718#M115717</link>
      <description>I've figured it out. i removed the "print" and replaced with "lp"&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Apr 2018 23:07:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456718#M115717</guid>
      <dc:creator>jbbush42</dc:creator>
      <dc:date>2018-04-23T23:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Farm plan</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456725#M115721</link>
      <description>&lt;P&gt;How's this gem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data tobfarm;&lt;BR /&gt;infile datalines truncover;&lt;BR /&gt;input @1 _id_ $20. WheatSoyDoubleCrop CowCalf Corn &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78374"&gt;@21&lt;/a&gt; Soybeans @32 _type_ $ @41 _rhs_;&lt;BR /&gt;datalines;&lt;BR /&gt;Profit 70 89.52 59.61 190 max&lt;BR /&gt;Pasture 0 2.5 0 0 le 320&lt;BR /&gt;Land 1 0 1 1 le 275&lt;BR /&gt;January Labor 0 85 0 0 le 200&lt;BR /&gt;Febraury Labor 0 85 0 0 le 200&lt;BR /&gt;March Labor 0 85 0 0 le 200&lt;BR /&gt;April Labor 1 85 .25 .25 le 200&lt;BR /&gt;May Labor 1 85 .25 .25 le 200&lt;BR /&gt;June Labor 1 85 .25 .25 le 200&lt;BR /&gt;July Labor 0 85 0 0 le 200&lt;BR /&gt;August Labor 0 85 0 0 le 200&lt;BR /&gt;September Labor .25 85 1.75 1.5 le 200&lt;BR /&gt;October Labor 1.75 85 1.75 1.5 le 200&lt;BR /&gt;November Labor 1.5 85 .75 .25 le 200&lt;BR /&gt;December Labor 0 85 0 0 le 200&lt;BR /&gt;Capital 630 1035 762 300 le 140000&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;proc lp;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got 4 production possibilities: 1.WheatSoyDoubleCrop&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.CowCalf&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.Corn&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4.Soybeans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure i've arranged the data correctly for the CowCalf possibilities. I had to add another variable (pasture) which is not supposed to be considered by the other 3 production possibilities. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 23:47:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Farm-plan/m-p/456725#M115721</guid>
      <dc:creator>jbbush42</dc:creator>
      <dc:date>2018-04-23T23:47:30Z</dc:date>
    </item>
  </channel>
</rss>

