<?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: datalines with dates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/datalines-with-dates/m-p/553897#M154066</link>
    <description>&lt;P&gt;Please post code as TEXT in a "little running man" subwindow.&lt;/P&gt;
&lt;P&gt;Post logs or other textual data, where the formatting is relevant, into a {i} subwindow.&lt;/P&gt;
&lt;P&gt;Post screenshots (only when necessary, and text can't be copied with copy/paste) using the "Photos" button.&lt;/P&gt;
&lt;P&gt;DO NOT USE THIRD-PARTY REPOSITORIES for images. These are usually broken by firewalls that prevent access to cloud services.&lt;/P&gt;
&lt;P&gt;The latter means I can't open your picture.&lt;/P&gt;
&lt;P&gt;See this example for reading dates from datalines:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
input mydate :yymmdd10.;
format mydate yymmddd10.;
datalines;
2019-04-25
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;PS after reloading your post, I could see the picture.&lt;/P&gt;
&lt;P&gt;See this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
input cust_id Name $ date :ddmmyy10. minutes circle $;
format date ddmmyy10.;
datalines;
2 Henry 01/04/2014 1780 roaming
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 25 Apr 2019 09:15:24 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-04-25T09:15:24Z</dc:date>
    <item>
      <title>datalines with dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/datalines-with-dates/m-p/553890#M154065</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have never worked with datalines before. For testing purposes, I have to create the following table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://www.analyticsvidhya.com/wp-content/uploads/2015/04/SAS-dataset.png" border="0" alt="SAS dataset" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How should I write the code get this table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 09:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/datalines-with-dates/m-p/553890#M154065</guid>
      <dc:creator>Myurathan</dc:creator>
      <dc:date>2019-04-25T09:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: datalines with dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/datalines-with-dates/m-p/553897#M154066</link>
      <description>&lt;P&gt;Please post code as TEXT in a "little running man" subwindow.&lt;/P&gt;
&lt;P&gt;Post logs or other textual data, where the formatting is relevant, into a {i} subwindow.&lt;/P&gt;
&lt;P&gt;Post screenshots (only when necessary, and text can't be copied with copy/paste) using the "Photos" button.&lt;/P&gt;
&lt;P&gt;DO NOT USE THIRD-PARTY REPOSITORIES for images. These are usually broken by firewalls that prevent access to cloud services.&lt;/P&gt;
&lt;P&gt;The latter means I can't open your picture.&lt;/P&gt;
&lt;P&gt;See this example for reading dates from datalines:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
input mydate :yymmdd10.;
format mydate yymmddd10.;
datalines;
2019-04-25
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;PS after reloading your post, I could see the picture.&lt;/P&gt;
&lt;P&gt;See this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
input cust_id Name $ date :ddmmyy10. minutes circle $;
format date ddmmyy10.;
datalines;
2 Henry 01/04/2014 1780 roaming
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Apr 2019 09:15:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/datalines-with-dates/m-p/553897#M154066</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-04-25T09:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: datalines with dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/datalines-with-dates/m-p/553900#M154068</link>
      <description>&lt;P&gt;Sorry for the screenshot. The table should look like below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cust_ID&amp;nbsp; |&amp;nbsp; &amp;nbsp;Name&amp;nbsp; |&amp;nbsp; Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; Minues&amp;nbsp;|&amp;nbsp;Circle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;Henry&amp;nbsp; | 01/04/2014&amp;nbsp; &amp;nbsp;| 1780&amp;nbsp; &amp;nbsp; &amp;nbsp;| roaming&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 09:17:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/datalines-with-dates/m-p/553900#M154068</guid>
      <dc:creator>Myurathan</dc:creator>
      <dc:date>2019-04-25T09:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: datalines with dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/datalines-with-dates/m-p/553901#M154069</link>
      <description>Thank you so so much.</description>
      <pubDate>Thu, 25 Apr 2019 09:18:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/datalines-with-dates/m-p/553901#M154069</guid>
      <dc:creator>Myurathan</dc:creator>
      <dc:date>2019-04-25T09:18:22Z</dc:date>
    </item>
  </channel>
</rss>

