<?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: Metadata location in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Metadata-location/m-p/229250#M41469</link>
    <description>&lt;P&gt;Have a look at the &lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0l1mpdt430djgn1bl1c3euei85w.htm" target="_self"&gt;%MDSECDS&lt;/A&gt; macro, it will extract the data you are interested. Since it is a SAS Macro, the source code is available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get all Stored Processes your user can read run this this code. Provided you have a connection to a Metadata Server.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%mdsecds(
  membertypes="StoredProcess"
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It will create several SAS data Sets and a view. The WORK.MDSECDS_OBJS will contain all the Stored Processes with their folder location. You can the use the a WHERE statement to just get the one Stored Process&amp;nbsp; you are interested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the &lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0l1mpdt430djgn1bl1c3euei85w.htm" target="_self"&gt;%MDSECDS&lt;/A&gt; documentation, there is also a MEMBERFILTER parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Fri, 09 Oct 2015 11:58:24 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2015-10-09T11:58:24Z</dc:date>
    <item>
      <title>Metadata location</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Metadata-location/m-p/229127#M41427</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I'm looking the way to get full Metadata path for specific report in SAS code.&lt;/P&gt;&lt;P&gt;For example: The full path for Sample: European Demographic Data Detail is : /Products/SAS Intelligence Platform/Samples&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:10:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Metadata-location/m-p/229127#M41427</guid>
      <dc:creator>borissoudler</dc:creator>
      <dc:date>2015-10-08T14:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata location</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Metadata-location/m-p/229250#M41469</link>
      <description>&lt;P&gt;Have a look at the &lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0l1mpdt430djgn1bl1c3euei85w.htm" target="_self"&gt;%MDSECDS&lt;/A&gt; macro, it will extract the data you are interested. Since it is a SAS Macro, the source code is available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get all Stored Processes your user can read run this this code. Provided you have a connection to a Metadata Server.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%mdsecds(
  membertypes="StoredProcess"
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It will create several SAS data Sets and a view. The WORK.MDSECDS_OBJS will contain all the Stored Processes with their folder location. You can the use the a WHERE statement to just get the one Stored Process&amp;nbsp; you are interested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the &lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0l1mpdt430djgn1bl1c3euei85w.htm" target="_self"&gt;%MDSECDS&lt;/A&gt; documentation, there is also a MEMBERFILTER parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 11:58:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Metadata-location/m-p/229250#M41469</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2015-10-09T11:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata location</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Metadata-location/m-p/229468#M41530</link>
      <description>&lt;P&gt;Thank you Bruno.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2015 06:56:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Metadata-location/m-p/229468#M41530</guid>
      <dc:creator>borissoudler</dc:creator>
      <dc:date>2015-10-11T06:56:07Z</dc:date>
    </item>
  </channel>
</rss>

