<?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 i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-null-dataset-with-10-variables-i-want-to-print-only/m-p/83664#M18052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;am new to sas plz let me kno ans.thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Apr 2012 09:34:04 GMT</pubDate>
    <dc:creator>venkateshn</dc:creator>
    <dc:date>2012-04-14T09:34:04Z</dc:date>
    <item>
      <title>i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-null-dataset-with-10-variables-i-want-to-print-only/m-p/83664#M18052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;am new to sas plz let me kno ans.thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Apr 2012 09:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/i-have-a-null-dataset-with-10-variables-i-want-to-print-only/m-p/83664#M18052</guid>
      <dc:creator>venkateshn</dc:creator>
      <dc:date>2012-04-14T09:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-null-dataset-with-10-variables-i-want-to-print-only/m-p/83665#M18053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is a "null dataset"? Is this a data null step or a table with 0 rows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Apr 2012 09:43:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/i-have-a-null-dataset-with-10-variables-i-want-to-print-only/m-p/83665#M18053</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-04-14T09:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-null-dataset-with-10-variables-i-want-to-print-only/m-p/83666#M18054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry it means data _null_;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Apr 2012 09:55:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/i-have-a-null-dataset-with-10-variables-i-want-to-print-only/m-p/83666#M18054</guid>
      <dc:creator>venkateshn</dc:creator>
      <dc:date>2012-04-14T09:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-null-dataset-with-10-variables-i-want-to-print-only/m-p/83667#M18055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not perfect but may be all you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* version 1 */&lt;/P&gt;&lt;P&gt;data _null_ ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if _n_ = 1 then &lt;BR /&gt;&amp;nbsp;&amp;nbsp; do;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file print;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put 'All Vars';&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put _all_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file log;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put 'All Vars';&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put _all_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set sashelp.class;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; /*... more statements ... */&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* version 2 */&lt;BR /&gt;data _null_ varlist;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if 0 then output Varlist;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set sashelp.class;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; /*... more statements ... */&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc contents data=Varlist nodetails;&lt;BR /&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2012 09:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/i-have-a-null-dataset-with-10-variables-i-want-to-print-only/m-p/83667#M18055</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-04-15T09:04:13Z</dc:date>
    </item>
  </channel>
</rss>

