<?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: Listing member types and attributes in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152050#M298320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can can use the External files functions to determine this. DOPEN,DOPTNUM,DOPTNAME , FOPEN, FOPTNAME, FOPTNUM to get directory and file information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Dec 2014 16:44:18 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-12-16T16:44:18Z</dc:date>
    <item>
      <title>Listing member types and attributes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152044#M298314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to list all member types in a directory and the corresponding attributes and save in a sas data set ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 11:44:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152044#M298314</guid>
      <dc:creator>Trancho</dc:creator>
      <dc:date>2014-12-16T11:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Listing member types and attributes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152045#M298315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at SASHELP.VCOLUMN, this holds all the variables of each dataset in all libraries.&amp;nbsp; There is also SASHELP.VTABLE which holds the dataset information.&amp;nbsp; These are the same as DICTIONARY.* in SQL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:14:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152045#M298315</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-12-16T12:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Listing member types and attributes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152046#M298316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the useful information, but i am seeking the members of system directory not only SAS.&lt;/P&gt;&lt;P&gt;In other words if i have a list of excel files or word documents etc... how to capture all those files in a sas dataset with the DOS attributes (name,date modified,type,size etc....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:36:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152046#M298316</guid>
      <dc:creator>Trancho</dc:creator>
      <dc:date>2014-12-16T12:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Listing member types and attributes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152047#M298317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either use the x statement or call system routine to execute dir directory &amp;gt; somefile.lst, and then read from somefile.lst, or use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename oscmd pipe "dir directory";&lt;/P&gt;&lt;P&gt;data listing;&lt;/P&gt;&lt;P&gt;infile oscmd truncover;&lt;/P&gt;&lt;P&gt;input dirline $1024.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be aware that all this may not work when SAS operates under the -noxcmd commandline option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:44:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152047#M298317</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-12-16T12:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Listing member types and attributes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152048#M298318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running the above code, a listing of the different members were collected as line records.&lt;/P&gt;&lt;P&gt;Hence a search is required to determine the required factor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 13:35:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152048#M298318</guid>
      <dc:creator>Trancho</dc:creator>
      <dc:date>2014-12-16T13:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Listing member types and attributes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152049#M298319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is it your trying to get, give specific examples?&amp;nbsp; There are many options that you can put on the directory command, in your command prompt window, type dir /? and you will see them.&amp;nbsp; Yes, if you want lots of information then you will need to parse the incoming string, it is not however particularly difficult, substr(1,first blank gives filename, then drop that, then to next blank gives size etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152049#M298319</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-12-16T14:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Listing member types and attributes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152050#M298320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can can use the External files functions to determine this. DOPEN,DOPTNUM,DOPTNAME , FOPEN, FOPTNAME, FOPTNUM to get directory and file information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 16:44:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Listing-member-types-and-attributes/m-p/152050#M298320</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-12-16T16:44:18Z</dc:date>
    </item>
  </channel>
</rss>

