<?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: Determine no orders in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536165#M22393</link>
    <description>Thank you Tom will give it a try</description>
    <pubDate>Sat, 16 Feb 2019 15:13:02 GMT</pubDate>
    <dc:creator>Gil_</dc:creator>
    <dc:date>2019-02-16T15:13:02Z</dc:date>
    <item>
      <title>Determine no orders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536128#M22388</link>
      <description>I have a table that derermines orders on off days it looks like this SUN THRU SAT is weekly sch N no orders Y yes order&lt;BR /&gt;&lt;BR /&gt;Id. Date s. m tue. wed thu fri sat&lt;BR /&gt;A1. 02/14/19. N. Y. N. Y. Y. N. N&lt;BR /&gt;B1. 02/14/19. N. Y. N. Y. N N. N&lt;BR /&gt;&lt;BR /&gt;As you can see A1 02/14/19 is done correctly&lt;BR /&gt;And B1 was done on wrong sch date&lt;BR /&gt;I would need the ones done on wrong sch day to&lt;BR /&gt;Create a different dataset . Its should vary count from 3 to 300 .. thank you for the help</description>
      <pubDate>Sat, 16 Feb 2019 06:10:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536128#M22388</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2019-02-16T06:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Determine no orders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536137#M22389</link>
      <description>&lt;P&gt;"&lt;EM&gt;I have a table that derermines orders on off days it looks like this SUN THRU SAT is weekly sch N no orders Y yes order&lt;/EM&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't make sense of your description. Can you please elaborate/re-formulate.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 06:32:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536137#M22389</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-02-16T06:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Determine no orders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536159#M22390</link>
      <description>Ok my table looks like this&lt;BR /&gt;Id. Date s. m tue. wed thu fri sat&lt;BR /&gt;A1. 02/14/19. N. Y. N. Y. Y. N. N&lt;BR /&gt;B1. 02/14/19. N. Y. N. Y. N N. N&lt;BR /&gt;The date is day of order sun-Sat is the schedule days order should be place. A1 is good since order was done on thur and sch indicates Y on Thur. Im interested only on the ones that had order place but weren't Scheduled like B1&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2019 14:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536159#M22390</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2019-02-16T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Determine no orders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536160#M22391</link>
      <description>Hi:&lt;BR /&gt;  I agree with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;, your question is not clear. In addition, you seem to think that B1 is incorrect, but I don't see what is wrong with B1, if you say that A1 is correct. &lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Sat, 16 Feb 2019 14:57:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536160#M22391</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-02-16T14:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Determine no orders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536163#M22392</link>
      <description>&lt;P&gt;Use the WEEKDAY() function.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  input id $ date (d1-d7) (:$1.);
  informat date mmddyy.;
  format date yymmdd10. ;
cards;
A1  02/14/19  N  Y  N  Y  Y  N  N
B1  02/14/19  N  Y  N  Y  N  N  N
;

data check;
  set have ;
  array sched d1-d7 ;
  bad = 'Y' ne sched(weekday(date));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;Obs    id       date       d1    d2    d3    d4    d5    d6    d7    bad

 1     A1    2019-02-14     N     Y     N     Y     Y     N     N     0
 2     B1    2019-02-14     N     Y     N     Y     N     N     N     1&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Feb 2019 16:37:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536163#M22392</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-02-16T16:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Determine no orders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536165#M22393</link>
      <description>Thank you Tom will give it a try</description>
      <pubDate>Sat, 16 Feb 2019 15:13:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536165#M22393</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2019-02-16T15:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Determine no orders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536168#M22394</link>
      <description>Cynthia&lt;BR /&gt;The reason B1 is incorrect is the order was placed on 02/14/19. And per the schedule thur has a N. Which means the order was place on off day</description>
      <pubDate>Sat, 16 Feb 2019 15:16:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536168#M22394</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2019-02-16T15:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Determine no orders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536178#M22395</link>
      <description>&lt;P&gt;So for the order date, you need to find that day of the week, ie February 14, 2019 is a Thursday, so Thursday should have a Y. Since it doesn't you flag that record?&lt;/P&gt;
&lt;P&gt;&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/117620"&gt;@Gil_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Cynthia&lt;BR /&gt;The reason B1 is incorrect is the order was placed on 02/14/19. And per the schedule thur has a N. Which means the order was place on off day&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 18:17:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/536178#M22395</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-16T18:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Determine no orders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/537846#M22418</link>
      <description>Thanks Tom</description>
      <pubDate>Fri, 22 Feb 2019 20:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Determine-no-orders/m-p/537846#M22418</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2019-02-22T20:28:47Z</dc:date>
    </item>
  </channel>
</rss>

