<?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: CREATE SAS Metadata Folder Structure from Excel in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483304#M15069</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/33513"&gt;@sanalitics&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;It could be done but I'm not aware of any ready-to-use code for it and though you would have to write this code yourself.&lt;/P&gt;
&lt;P&gt;The metadata API is not very "user-friendly" and it would be quite a bit of work to implement something robust where you don't risk to corrupt metadata.&lt;/P&gt;
&lt;P&gt;For this reason: If this is about getting the job done then I'd only consider something like this for 200+ folders. Else: Use SMC or DIS and do it manually. That's going to be faster and safer.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Aug 2018 07:49:19 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2018-08-02T07:49:19Z</dc:date>
    <item>
      <title>CREATE SAS Metadata Folder Structure from Excel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483002#M15054</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly let me know if there is an automation process/procedure that could be used to create the metadata folder from the folder structure saved in EXCEL...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sandeep&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 06:59:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483002#M15054</guid>
      <dc:creator>sanalitics</dc:creator>
      <dc:date>2018-08-01T06:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: CREATE SAS Metadata Folder Structure from Excel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483010#M15055</link>
      <description>&lt;P&gt;The proper way to export/import metadata structures is to create SAS packages with Management Console.&lt;/P&gt;
&lt;P&gt;I would only try to manipulate the metadata with an Excel source if&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;I had a strong masochistic streak&lt;/LI&gt;
&lt;LI&gt;I had too much time at hand&lt;/LI&gt;
&lt;LI&gt;I had a good backup&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;As it is, I only have the third item.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 07:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483010#M15055</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-01T07:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: CREATE SAS Metadata Folder Structure from Excel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483015#M15056</link>
      <description>&lt;P&gt;Hi Kurt,&lt;/P&gt;
&lt;P&gt;Thanks for the reply. But what I need to know is if there is way to automate where&amp;nbsp;we have created all the folder structure and hierarchy in an excel and instead of creating the metadata folder structure manually&amp;nbsp;in DI or SMC.. I want to&amp;nbsp;know&amp;nbsp;a method which could help me copy the same structure as in EXCEL.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 08:07:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483015#M15056</guid>
      <dc:creator>sanalitics</dc:creator>
      <dc:date>2018-08-01T08:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: CREATE SAS Metadata Folder Structure from Excel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483016#M15057</link>
      <description>&lt;P&gt;I'm in total agreement with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need any further confirmation of the complexities of SAS metadata read on:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=omaref&amp;amp;docsetTarget=maincontents.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=omaref&amp;amp;docsetTarget=maincontents.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then agree with us that there are better things to do than building your own metadata interface tool...&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 08:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483016#M15057</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-08-01T08:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: CREATE SAS Metadata Folder Structure from Excel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483018#M15058</link>
      <description>&lt;P&gt;Why, in $DEITY's name, do you &lt;EM&gt;create&lt;/EM&gt; the folder structure in Excel? That's just a colossal waste of time. The tool for this is the Management Console. Just look at the Authorization tab of one folder and see how you represent that reliably in Excel, followed by code to get that into SAS without destroying your folder structure (up to the point where it crashes the metadata server).&lt;/P&gt;
&lt;P&gt;Just follow the link provided by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt; to get an idea of the work that awaits you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using any other tool than the SMC only makes sense if you have a &lt;EM&gt;very good&lt;/EM&gt; understanding of the internal works of the SAS metadata. (eg you are working in Cary, NC).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 08:17:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483018#M15058</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-01T08:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: CREATE SAS Metadata Folder Structure from Excel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483304#M15069</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/33513"&gt;@sanalitics&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;It could be done but I'm not aware of any ready-to-use code for it and though you would have to write this code yourself.&lt;/P&gt;
&lt;P&gt;The metadata API is not very "user-friendly" and it would be quite a bit of work to implement something robust where you don't risk to corrupt metadata.&lt;/P&gt;
&lt;P&gt;For this reason: If this is about getting the job done then I'd only consider something like this for 200+ folders. Else: Use SMC or DIS and do it manually. That's going to be faster and safer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 07:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/483304#M15069</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-08-02T07:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: CREATE SAS Metadata Folder Structure from Excel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/636838#M19070</link>
      <description>&lt;P&gt;It's possible, you could create a stored process or even upload your excel to a &lt;A href="https://sasjs.io" target="_self"&gt;web application&lt;/A&gt;&amp;nbsp;and run this &lt;A href="https://github.com/sasjs/core/blob/main/meta/mm_createfolder.sas" target="_self"&gt;macro&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%mm_createfolder(path=/some/meta/folder)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We use it in our automated builds for &lt;A href="https://docs.datacontroller.io" target="_self"&gt;Data Controller&lt;/A&gt;.&amp;nbsp; The Viya version of the macro is &lt;A href="https://github.com/sasjs/core/blob/main/viya/mv_createfolder.sas" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 18:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CREATE-SAS-Metadata-Folder-Structure-from-Excel/m-p/636838#M19070</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-05-21T18:48:25Z</dc:date>
    </item>
  </channel>
</rss>

