<?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 Question on using the Batch Export Tool to export (Folder Objects) (DI Studio/Management Console) in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Question-on-using-the-Batch-Export-Tool-to-export-Folder-Objects/m-p/418449#M12789</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have googled far and wide to no avail. I am using the Batch Export Tool (&lt;A href="http://documentation.sas.com/?docsetId=bisag&amp;amp;docsetTarget=n008xsxs34mvcwn1qrgcmugpzu6i.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n01c236lnwpclgn1g39ppo1tc19u" target="_blank"&gt;http://documentation.sas.com/?docsetId=bisag&amp;amp;docsetTarget=n008xsxs34mvcwn1qrgcmugpzu6i.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n01c236lnwpclgn1g39ppo1tc19u&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully use the tool no problem. But I am having an issue in getting 'Folder Objects'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the export wizard in DI Studio or Management console, I can right click at the highest folder level and create an export package. If I then select a job, then it will be exported &lt;STRONG&gt;along with all the above folder objects&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the Batch Export Tool, I cannot find that I can do the same thing. I can select jobs and export them, but it doesn't include the above folder objects. I can select the folder the job is in, and just choose to export jobs (-types Job), &lt;STRONG&gt;but it exports every job in the folder &lt;/STRONG&gt;(not what I need, some folders are massive). Lastly, I have tried to&amp;nbsp;export the&amp;nbsp;job, and then separately export the&amp;nbsp;folder, but the option '-types Folder' is not valid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the end I am trying to achieve a package that can be imported, using the import tool, to a target folder, and within that target folder it keeps the same folder path down to the job (this can be achieved using the manual wizards).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2017 12:07:10 GMT</pubDate>
    <dc:creator>r_d</dc:creator>
    <dc:date>2017-12-05T12:07:10Z</dc:date>
    <item>
      <title>Question on using the Batch Export Tool to export (Folder Objects) (DI Studio/Management Console)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Question-on-using-the-Batch-Export-Tool-to-export-Folder-Objects/m-p/418449#M12789</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have googled far and wide to no avail. I am using the Batch Export Tool (&lt;A href="http://documentation.sas.com/?docsetId=bisag&amp;amp;docsetTarget=n008xsxs34mvcwn1qrgcmugpzu6i.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n01c236lnwpclgn1g39ppo1tc19u" target="_blank"&gt;http://documentation.sas.com/?docsetId=bisag&amp;amp;docsetTarget=n008xsxs34mvcwn1qrgcmugpzu6i.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n01c236lnwpclgn1g39ppo1tc19u&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully use the tool no problem. But I am having an issue in getting 'Folder Objects'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the export wizard in DI Studio or Management console, I can right click at the highest folder level and create an export package. If I then select a job, then it will be exported &lt;STRONG&gt;along with all the above folder objects&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the Batch Export Tool, I cannot find that I can do the same thing. I can select jobs and export them, but it doesn't include the above folder objects. I can select the folder the job is in, and just choose to export jobs (-types Job), &lt;STRONG&gt;but it exports every job in the folder &lt;/STRONG&gt;(not what I need, some folders are massive). Lastly, I have tried to&amp;nbsp;export the&amp;nbsp;job, and then separately export the&amp;nbsp;folder, but the option '-types Folder' is not valid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the end I am trying to achieve a package that can be imported, using the import tool, to a target folder, and within that target folder it keeps the same folder path down to the job (this can be achieved using the manual wizards).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 12:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Question-on-using-the-Batch-Export-Tool-to-export-Folder-Objects/m-p/418449#M12789</guid>
      <dc:creator>r_d</dc:creator>
      <dc:date>2017-12-05T12:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Question on using the Batch Export Tool to export (Folder Objects) (DI Studio/Management Console</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Question-on-using-the-Batch-Export-Tool-to-export-Folder-Objects/m-p/418472#M12792</link>
      <description>&lt;P&gt;As usual... I've answered this myself immediately after asking &lt;img id="smileylol" class="emoticon emoticon-smileylol" src="https://communities.sas.com/i/smilies/16x16_smiley-lol.png" alt="Smiley LOL" title="Smiley LOL" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution is.... List the folder path &lt;STRONG&gt;first, &lt;/STRONG&gt;e.g. -objects "/Top Folder/My Folder/Daily/" "/Top Folder/My Folder/Daily/Job_Name(Job)" -subprop -types Job&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to have the effect that, you select the 'Folder Object', you then say exactly which jobs in the folder you want. I'd tried it the wrong way round &lt;img id="smileyindifferent" class="emoticon emoticon-smileyindifferent" src="https://communities.sas.com/i/smilies/16x16_smiley-indifferent.png" alt="Smiley Indifferent" title="Smiley Indifferent" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:59:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Question-on-using-the-Batch-Export-Tool-to-export-Folder-Objects/m-p/418472#M12792</guid>
      <dc:creator>r_d</dc:creator>
      <dc:date>2017-12-05T13:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question on using the Batch Export Tool to export (Folder Objects) (DI Studio/Management Console</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Question-on-using-the-Batch-Export-Tool-to-export-Folder-Objects/m-p/418477#M12793</link>
      <description>&lt;P&gt;Please provide the commands you have tried. The ExportPackage has an option to specify a name pattern you may also explicitly specify the object your interested in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example using the -name option&lt;/P&gt;
&lt;PRE&gt;ExportPackage.exe -profile &amp;lt;yourProfile&amp;gt; -package "c:\temp\test.spk" -objects "/shared data/stp_samples"  -includeEmptyFolders -name display -nameMatchType STARTSWITH&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Dec 2017 14:03:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Question-on-using-the-Batch-Export-Tool-to-export-Folder-Objects/m-p/418477#M12793</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-12-05T14:03:35Z</dc:date>
    </item>
  </channel>
</rss>

