<?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: Batch Export Tool.How to save path to exported meta-object? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-Export-Tool-How-to-save-path-to-exported-meta-object/m-p/154120#M1864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Small addition:&lt;BR /&gt;Partly solved the issue by adding folders ,except root, to the command line,like that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;ExportPackage &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-profile "profName"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-package "c:\Documents and Settings\...\test.spk" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-types Folder -excludeSubTypes &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-objects "/folder1(Folder)" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-objects "/folder1/folder2(Folder)" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;"/sasproject/.../tablename2(Table)" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-objects "/sasproject/.../tablename1(Table)" "/sasproject/.../tablename2(Table)" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-types Table –excludeSubTypes &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-log "c:\Documents and Settings\...\test_log.log"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thats partly solved the issue but require from me to make additional code, that will parse fill path and put -object command for each folder connected to each job/table.Suppose should be some more clever solution, more quick and reliable. Maybe some option or smth. like that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 13:02:40 GMT</pubDate>
    <dc:creator>Yura2301</dc:creator>
    <dc:date>2014-11-03T13:02:40Z</dc:date>
    <item>
      <title>Batch Export Tool.How to save path to exported meta-object?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-Export-Tool-How-to-save-path-to-exported-meta-object/m-p/154119#M1863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Here is small description of problem:&lt;/P&gt;&lt;P&gt;I tried to export big flow with a lot of src/trg tables from one environment to another.&lt;/P&gt;&lt;P&gt;Folder structure same on both servers.&lt;/P&gt;&lt;P&gt;Initially I tried to do it usual way - create spk manually from DI studio,by check-in needed ETLs and related src/trg tables. But obviously all that process takes time and very easy accidentially lost something , due there are really a lot of Jobs and related tables to the flow.&lt;/P&gt;&lt;P&gt;So I find info that SAS provides "Batch Export Tool" that can automate similar process.&lt;/P&gt;&lt;P&gt;So what I already did:&lt;/P&gt;&lt;P&gt;I created small&amp;nbsp; macro with proc metadata, xmlmaps/xpath syntax, and that macro by flow name extract from metadata list of flows ETLs and targte source tables , soon will finish code that will also add pathes(folders) to that meta-objects.&lt;/P&gt;&lt;P&gt;Then I tried to make spk not manually ,but using simple batch export tool syntax , smth. like that:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;ExportPackage &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-profile "profName"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-package "c:\Documents and Settings\...\test.spk" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-objects "/sasproject/.../tablename1(Table)" "/sasproject/.../tablename2(Table)" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-types Table –excludeSubTypes &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-log "c:\Documents and Settings\...\test_log.log"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;And that command executes ok from command line, spk package creates normally and contains metadata for needed 2 tables(tablename1 and tablename2),BUT, after I tried import that package to be sure all is ok with it - I mentioned that folders structure lost, only root folder stais(&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;sasproject&lt;/STRONG&gt;&lt;/SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;It's not acceptbale for me, due target spk will contains a lot of tables/jobs from different meta pathes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;So I suppose should be some option that will "save" pathes to meatobjects in target spk packages. I tries subprop option, but it doesn't help...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Whould be appriciate for any help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 10:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Batch-Export-Tool-How-to-save-path-to-exported-meta-object/m-p/154119#M1863</guid>
      <dc:creator>Yura2301</dc:creator>
      <dc:date>2014-11-03T10:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Export Tool.How to save path to exported meta-object?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-Export-Tool-How-to-save-path-to-exported-meta-object/m-p/154120#M1864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Small addition:&lt;BR /&gt;Partly solved the issue by adding folders ,except root, to the command line,like that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;ExportPackage &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-profile "profName"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-package "c:\Documents and Settings\...\test.spk" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-types Folder -excludeSubTypes &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-objects "/folder1(Folder)" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-objects "/folder1/folder2(Folder)" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;"/sasproject/.../tablename2(Table)" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-objects "/sasproject/.../tablename1(Table)" "/sasproject/.../tablename2(Table)" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-types Table –excludeSubTypes &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-log "c:\Documents and Settings\...\test_log.log"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thats partly solved the issue but require from me to make additional code, that will parse fill path and put -object command for each folder connected to each job/table.Suppose should be some more clever solution, more quick and reliable. Maybe some option or smth. like that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 13:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Batch-Export-Tool-How-to-save-path-to-exported-meta-object/m-p/154120#M1864</guid>
      <dc:creator>Yura2301</dc:creator>
      <dc:date>2014-11-03T13:02:40Z</dc:date>
    </item>
  </channel>
</rss>

