<?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 Creating a new table that shows me the attributes of variables in a given dataset. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Creating-a-new-table-that-shows-me-the-attributes-of-variables/m-p/697181#M79815</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a very straightforward question.&amp;nbsp; Within a program, how do I code to create a table that shows me the attributes (only variable name, format and format length) of a given table that was already created.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2020 16:11:28 GMT</pubDate>
    <dc:creator>mvniekerk</dc:creator>
    <dc:date>2020-11-06T16:11:28Z</dc:date>
    <item>
      <title>Creating a new table that shows me the attributes of variables in a given dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Creating-a-new-table-that-shows-me-the-attributes-of-variables/m-p/697181#M79815</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a very straightforward question.&amp;nbsp; Within a program, how do I code to create a table that shows me the attributes (only variable name, format and format length) of a given table that was already created.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 16:11:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Creating-a-new-table-that-shows-me-the-attributes-of-variables/m-p/697181#M79815</guid>
      <dc:creator>mvniekerk</dc:creator>
      <dc:date>2020-11-06T16:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new table that shows me the attributes of variables in a given dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Creating-a-new-table-that-shows-me-the-attributes-of-variables/m-p/697184#M79816</link>
      <description>&lt;P&gt;Proc contents will generate what you want though the default data set from the OUT= option may have more information than you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc contents data=mydatasetname out=description;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The procedure by default will send output to the Results window. There are options like NOPRINT to suppress all results or Nodetails to reduce what appears.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to display just some of the data that is what Proc Print does, select the variables you want with a VAR statement.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 16:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Creating-a-new-table-that-shows-me-the-attributes-of-variables/m-p/697184#M79816</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-11-06T16:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new table that shows me the attributes of variables in a given dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Creating-a-new-table-that-shows-me-the-attributes-of-variables/m-p/697189#M79817</link>
      <description>&lt;P&gt;You can query that information from the SASHELP.VCOLUMN table quite easily.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 16:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Creating-a-new-table-that-shows-me-the-attributes-of-variables/m-p/697189#M79817</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-06T16:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new table that shows me the attributes of variables in a given dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Creating-a-new-table-that-shows-me-the-attributes-of-variables/m-p/697199#M79818</link>
      <description>&lt;P&gt;Or, in SQL, you use DICTIONARY.COLUMNS (which is the base for SASHELP.VCOLUMN).&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 16:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Creating-a-new-table-that-shows-me-the-attributes-of-variables/m-p/697199#M79818</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-06T16:53:57Z</dc:date>
    </item>
  </channel>
</rss>

