<?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 Problem with SAS Code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-Code/m-p/377514#M90652</link>
    <description>&lt;P&gt;I am trying to write the below code, But the date values are missing in the output Dataset. Please Help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data global_sales;&lt;BR /&gt;informat Order_ID$32. Order_Date ddmmyyyy10. Ship_Date ddmmyyyy10. Customer_ID$32. Country$32. Category$32.;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;input Order_ID$ Order_Date Ship_Date Customer_ID$ Segment$ City$ State$ Country$ Category$ Sales Quantity Discount Profit;&lt;BR /&gt;format Order_Date date10. Ship_Date date10. Sales dollar7.2 Profit dollar6.2;&lt;BR /&gt;cards;&lt;BR /&gt;CA_2014_AB10015140_41954 11-11-2014 13-11-2014 AB_100151402 Consumer Oklahoma Oklahoma United_States Technology 221.98 2 0 62.15&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2017 18:50:51 GMT</pubDate>
    <dc:creator>atulsingh</dc:creator>
    <dc:date>2017-07-19T18:50:51Z</dc:date>
    <item>
      <title>Problem with SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-Code/m-p/377514#M90652</link>
      <description>&lt;P&gt;I am trying to write the below code, But the date values are missing in the output Dataset. Please Help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data global_sales;&lt;BR /&gt;informat Order_ID$32. Order_Date ddmmyyyy10. Ship_Date ddmmyyyy10. Customer_ID$32. Country$32. Category$32.;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;input Order_ID$ Order_Date Ship_Date Customer_ID$ Segment$ City$ State$ Country$ Category$ Sales Quantity Discount Profit;&lt;BR /&gt;format Order_Date date10. Ship_Date date10. Sales dollar7.2 Profit dollar6.2;&lt;BR /&gt;cards;&lt;BR /&gt;CA_2014_AB10015140_41954 11-11-2014 13-11-2014 AB_100151402 Consumer Oklahoma Oklahoma United_States Technology 221.98 2 0 62.15&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 18:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-Code/m-p/377514#M90652</guid>
      <dc:creator>atulsingh</dc:creator>
      <dc:date>2017-07-19T18:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-Code/m-p/377520#M90658</link>
      <description>&lt;P&gt;mmddyyyy isn't a valid informat. Try it with the following:&lt;/P&gt;
&lt;PRE&gt;data global_sales;
informat Order_ID $32. Order_Date ddmmyy10. Ship_Date ddmmyy10. Customer_ID $32. Country $32. Category $32.; 
input Order_ID Order_Date Ship_Date Customer_ID Segment $ City $ State $ Country Category Sales Quantity Discount Profit;
format Order_Date date10. Ship_Date date10. Sales dollar7.2 Profit dollar6.2;
cards;
CA_2014_AB10015140_41954 11-11-2014 13-11-2014 AB_100151402 Consumer Oklahoma Oklahoma United_States Technology 221.98 2 0 62.15
;
run;&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 18:58:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-Code/m-p/377520#M90658</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-07-19T18:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-Code/m-p/377522#M90660</link>
      <description>&lt;P&gt;READ YOUR LOG.&lt;/P&gt;
&lt;P&gt;The error is actually pretty clear here, I'm highlighting it in Red. If you fix what it says to fix (too many YY in the format name), check the proper format in the guide it works fine.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/leforinforref/64790/HTML/default/viewer.htm#n1o9q2mkgoey0sn1uegfwwnm2xwi.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/leforinforref/64790/HTML/default/viewer.htm#n1o9q2mkgoey0sn1uegfwwnm2xwi.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;327 data global_sales;&lt;BR /&gt;328 informat Order_ID$32. Order_Date ddmmyyyy10. Ship_Date&lt;BR /&gt; -----------&lt;BR /&gt;-----------&lt;BR /&gt; 48 48&lt;BR /&gt;328! ddmmyyyy10. Customer_ID$32. Country$32. Category$32.;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ERROR 48-59: The informat DDMMYYYY was not found or could not be&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; loaded.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;329 input Order_ID$ Order_Date Ship_Date Customer_ID$ Segment$&lt;BR /&gt;329! City$ State$ Country$ Category$ Sales Quantity Discount&lt;BR /&gt;329! Profit;&lt;BR /&gt;330 format Order_Date date10. Ship_Date date10. Sales dollar7.2&lt;BR /&gt;330! Profit dollar6.2;&lt;BR /&gt;331 cards;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 18:58:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-Code/m-p/377522#M90660</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-19T18:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-Code/m-p/377523#M90661</link>
      <description>Thanks a lot sir..</description>
      <pubDate>Wed, 19 Jul 2017 19:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-Code/m-p/377523#M90661</guid>
      <dc:creator>atulsingh</dc:creator>
      <dc:date>2017-07-19T19:00:14Z</dc:date>
    </item>
  </channel>
</rss>

