<?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 capture date variables in a dataset? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130303#M26588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jaap&lt;/P&gt;&lt;P&gt;I'm not aware of table metadata definition having a specific column attribute for dates. Can you please elaborate what you're proposing here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Sep 2013 11:25:39 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2013-09-08T11:25:39Z</dc:date>
    <item>
      <title>How to capture date variables in a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130298#M26583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create a list of variables in my dataset and separte them in 3 categories.&lt;BR /&gt;CHARACTER, NUMERIC and DATE.&lt;/P&gt;&lt;P&gt;I am using dictionary.columns to get the variables. I can easily get the character and numeric but the problem with numeric is that the date variable is also of type numeric and I want them separated.&lt;BR /&gt;Is there an easy way to separate date variables from numeric?&lt;/P&gt;&lt;P&gt;BTW i tried to make use of format as well but as you know there could be any kind of date format. I am hoping there is an easy and clever way of doing this.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 18:30:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130298#M26583</guid>
      <dc:creator>P_S_</dc:creator>
      <dc:date>2013-09-05T18:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture date variables in a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130299#M26584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you already concluded, there is no specific data type for dates in SAS.&lt;/P&gt;&lt;P&gt;So, there is no bullet proof way.&lt;/P&gt;&lt;P&gt;You could, as you mentioned, try to look at different attributes, and then guess if it's a date column. Format is one, naming another. You could also look at the contents in the columns to see if they have normal data values (10s of thousands).&lt;/P&gt;&lt;P&gt;I don't know anything about your application, but when building systems/databases, naming conventions are crucial so users can easily understand the contents of tables and columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 18:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130299#M26584</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-09-05T18:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture date variables in a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130300#M26585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;might the FORMAT column in the dictionary.columns help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Sep 2013 10:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130300#M26585</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-09-07T10:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture date variables in a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130301#M26586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not use a metadatabase appoach&amp;nbsp; DI/Bi is having that. It is the role of the metadataserver and the DI basics to do this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Sep 2013 08:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130301#M26586</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-09-08T08:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture date variables in a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130302#M26587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In future XATTR could be used to added the DATE attribute when the data set is defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned the format should help and there aren't so many that you can't figure it out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you get it figured make the INFORMAT for the DATE variables DATE9.&amp;nbsp; Unless you have v9.4 and can use XATTR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Sep 2013 11:19:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130302#M26587</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-09-08T11:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture date variables in a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130303#M26588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jaap&lt;/P&gt;&lt;P&gt;I'm not aware of table metadata definition having a specific column attribute for dates. Can you please elaborate what you're proposing here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Sep 2013 11:25:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130303#M26588</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-09-08T11:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture date variables in a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130304#M26589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS9.4 allows us to add extended variable and table attributes.&lt;/P&gt;&lt;P&gt;See PROC DATASETS Example 12 Extended Attributes at &lt;A href="http://support.sas.com/documentation/cdl/en/proc/64787/HTML/default/n1fi5duus5pm9xn1csr0vzaccytt.htm"&gt;http://support.sas.com/documentation/cdl/en/proc/64787/HTML/default/n1fi5duus5pm9xn1csr0vzaccytt.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Sep 2013 12:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130304#M26589</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-09-08T12:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture date variables in a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130305#M26590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are using Eguide is will be a client/server approach.&lt;/P&gt;&lt;P&gt;The Server can be your local desktop but a lot of power will come from servers and the most proposed ones are Unix based (Linux redhat suse and Aix). You can recognize that if you need to define a profile to reach a server.&amp;nbsp; Workspace Servers are just&amp;nbsp; one type of objects that can be defined.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS libraries and data elements can also be defined and redefined. That redefining can be done witht Information map studio.&lt;/P&gt;&lt;P&gt;That manual is showing some of what is done.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/imsgs/61225/HTML/default/viewer.htm#n07k5wfc1azj8in1x4fmpif612nv.htm" title="http://support.sas.com/documentation/cdl/en/imsgs/61225/HTML/default/viewer.htm#n07k5wfc1azj8in1x4fmpif612nv.htm"&gt;SAS(R) Information Map Studio 4.2: Getting Started with SAS(R) Information Maps&lt;/A&gt; (Creating Data Items) is showing dates being defned as types. They are still numeric as it is normal SAS on the backgound there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going into details you can add descriptions to elements. In DI is something found for it.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etlug/65920/HTML/default/viewer.htm#p1p2oi6xi72ieon1wvkf97zpz7hb.htm" title="http://support.sas.com/documentation/cdl/en/etlug/65920/HTML/default/viewer.htm#p1p2oi6xi72ieon1wvkf97zpz7hb.htm"&gt;SAS(R) Data Integration Studio 4.7: User's Guide&lt;/A&gt; (Add a Note or Document to a Registered Object) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It are the tools for modeling describing the data. There are interfaces to other tools doing this in the same way .&lt;/P&gt;&lt;P&gt;With these descritpions new code can be generated. Not coding by hand but defining relationships with transformations.&lt;/P&gt;&lt;P&gt;By that the metdatabase will become something containing information in a similar way as you would do change-management to source-code.&lt;/P&gt;&lt;P&gt;The fun of this approach is that when it is complete you can easily have and use tools for analysing impacts in those relations and logic.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etlug/65920/HTML/default/viewer.htm#n0dl2x9dd9553fn18fdrq80uo585.htm" title="http://support.sas.com/documentation/cdl/en/etlug/65920/HTML/default/viewer.htm#n0dl2x9dd9553fn18fdrq80uo585.htm"&gt;SAS(R) Data Integration Studio 4.7: User's Guide&lt;/A&gt; (impact analysis)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Sep 2013 14:08:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-date-variables-in-a-dataset/m-p/130305#M26590</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-09-08T14:08:56Z</dc:date>
    </item>
  </channel>
</rss>

