<?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: SAS query - Dataset Owner in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413239#M101122</link>
    <description>&lt;P&gt;I'm not sure about other applications, but it is not available in Base SAS at least &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2017 09:12:13 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2017-11-14T09:12:13Z</dc:date>
    <item>
      <title>How to find the file Owner information from the Operating System metadata.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413230#M101117</link>
      <description>&lt;P&gt;May I know how to find the owner of a SAS dataset in SAS codes? Any example? Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:17:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413230#M101117</guid>
      <dc:creator>scb</dc:creator>
      <dc:date>2017-11-14T09:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS query - Dataset Owner</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413231#M101118</link>
      <description>&lt;P&gt;What do you mean by the owner? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 08:59:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413231#M101118</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-11-14T08:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS query - Dataset Owner</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413236#M101119</link>
      <description>&lt;P&gt;The creator of the SAS dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:06:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413236#M101119</guid>
      <dc:creator>scb</dc:creator>
      <dc:date>2017-11-14T09:06:56Z</dc:date>
    </item>
    <item>
      <title>How to find creator of a Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413237#M101120</link>
      <description>&lt;P&gt;What software are you using?&amp;nbsp; In Base SAS this information is not available.&amp;nbsp; If your using one of the DI pakcages or something like that it may be in the metadata.&amp;nbsp; Please post your question in the relevant area and give your thread titles meaningful titles: "SAS Query", or "SAS Macro query" are not good thread titles.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413237#M101120</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-11-14T09:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS query - Dataset Owner</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413238#M101121</link>
      <description>&lt;P&gt;The creator of the SAS dataset.&amp;nbsp; Please refer to the file.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:11:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413238#M101121</guid>
      <dc:creator>scb</dc:creator>
      <dc:date>2017-11-14T09:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS query - Dataset Owner</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413239#M101122</link>
      <description>&lt;P&gt;I'm not sure about other applications, but it is not available in Base SAS at least &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:12:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413239#M101122</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-11-14T09:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS query - Dataset Owner</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413240#M101123</link>
      <description>&lt;P&gt;Unless the code is properly documented, which of course all code is &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:13:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413240#M101123</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-11-14T09:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS query - Dataset Owner</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413241#M101124</link>
      <description>&lt;P&gt;What you show there is the operating system information, therefore you need to be able to execute command line syntax to access it:&lt;/P&gt;
&lt;PRE&gt;filename tmp pipe 'dir "c:\temp" /q';

data want;
  length buff $2000;
  infile tmp;
  input;
  buff=_infile_;
run;
  &lt;/PRE&gt;
&lt;P&gt;Do note however that that information is nothing to SAS, its also very easy to change that kind of information, so any process using that information is inherently flawed.&amp;nbsp; You are better off using a metadata control system like DI or something if you need to track creation/access etc.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413241#M101124</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-11-14T09:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS query - Dataset Owner</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413247#M101125</link>
      <description>&lt;P&gt;"Owner" is not very specific&lt;/P&gt;
&lt;P&gt;- is it the design owner&lt;/P&gt;
&lt;P&gt;- is it (one of) the people who use it&lt;/P&gt;
&lt;P&gt;- is it the userid used when physically writing the dataset file&lt;/P&gt;
&lt;P&gt;- is it the userid used when registering table metadata&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dataset file format has no information for owner, AFAIK.&lt;/P&gt;
&lt;P&gt;How to determine the physical userid depends on the operating system where SAS is used.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/413247#M101125</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-14T09:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS query - Dataset Owner</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/414810#M101666</link>
      <description>&lt;P&gt;You can use the "Finfo" (=file information item) function which is offered by SAS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="codeFragment"&gt;data info;
   length infoname infoval $60;
   drop rc fid infonum i close;
   rc=filename('abc','&lt;SPAN class="userSuppliedValue"&gt;physical-filename&lt;/SPAN&gt;');
   fid=fopen('abc');
   infonum=foptnum(fid);
   do i=1 to infonum;
      infoname=foptname(fid,i);
      infoval=finfo(fid,infoname);
      output;
   end;
   close=fclose(fid);
run;&lt;/PRE&gt;&lt;P&gt;Depending on the Operating System (Windows, UNIX, z/Os, etc.) you get some information bits about your DataSet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p0cpuq4ew0dxipn1vtravlludjm7.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p0cpuq4ew0dxipn1vtravlludjm7.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;FK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 12:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-file-Owner-information-from-the-Operating-System/m-p/414810#M101666</guid>
      <dc:creator>FK1</dc:creator>
      <dc:date>2017-11-20T12:04:37Z</dc:date>
    </item>
  </channel>
</rss>

