<?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 write a code for this in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-a-code-for-this/m-p/480229#M124094</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/222356"&gt;@urap&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;First step before writing any code:&lt;/P&gt;
&lt;P&gt;1. Define the problem(s) to be solved (=requirement)&lt;/P&gt;
&lt;P&gt;2. Analyze the data you've got (have)&lt;/P&gt;
&lt;P&gt;3. Define the result you need (want)&lt;/P&gt;
&lt;P&gt;4. Define the logic you need to implement to get from your "have" to your "want" (gap)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;....and now you're at the point where you can start to think about how to solve this technically and if you don't know "how to" are in a position to ask targeted questions in this forum.&lt;/P&gt;</description>
    <pubDate>Sun, 22 Jul 2018 11:32:29 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2018-07-22T11:32:29Z</dc:date>
    <item>
      <title>How to write a code for this</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-a-code-for-this/m-p/480226#M124093</link>
      <description>&lt;P&gt;to maximize the profit check the products providing profit more than 40% of sale amount and increase the quantity of those products to 15 . Also check by what amount do you need to increase the quantity by considering inf_globalsales dataset&lt;/P&gt;&lt;PRE&gt;data sasclass.inf_globalsales;&lt;BR /&gt;infile "/folders/myfolders/dataset.csv/"&lt;BR /&gt;dlm="," dsd firstobs=2;&lt;BR /&gt;input Order_ID : $30. Order_Date : ddmmyy10. Ship_Date : ddmmyy10. Customer_ID : $20. Segment : $20.&lt;BR /&gt;City : $20. State : $20. Country : $20. Category : $20. Sales : dollar20.2 &lt;BR /&gt;Quantity Discount Profit : dollar20.2;&lt;BR /&gt;format Order_Date ddmmyy10. Ship_Date ddmmyy10. Sales : dollar20.2 Profit : dollar20.2;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sasclass.inf_globalsales(obs=20);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (38).png"&gt;&lt;img src="https://communities.sas.com/skins/images/8D8B612AA6AB1DC7E9A0812281D56E02/responsive_peak/images/image_not_found.png" alt="Screenshot (38).png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jul 2018 11:17:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-a-code-for-this/m-p/480226#M124093</guid>
      <dc:creator>urap</dc:creator>
      <dc:date>2018-07-22T11:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a code for this</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-a-code-for-this/m-p/480229#M124094</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/222356"&gt;@urap&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;First step before writing any code:&lt;/P&gt;
&lt;P&gt;1. Define the problem(s) to be solved (=requirement)&lt;/P&gt;
&lt;P&gt;2. Analyze the data you've got (have)&lt;/P&gt;
&lt;P&gt;3. Define the result you need (want)&lt;/P&gt;
&lt;P&gt;4. Define the logic you need to implement to get from your "have" to your "want" (gap)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;....and now you're at the point where you can start to think about how to solve this technically and if you don't know "how to" are in a position to ask targeted questions in this forum.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jul 2018 11:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-a-code-for-this/m-p/480229#M124094</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-07-22T11:32:29Z</dc:date>
    </item>
  </channel>
</rss>

