<?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: Copying all physical tables, but no folders, using PROC COPY in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Copying-all-physical-tables-but-no-folders-using-PROC-COPY/m-p/119015#M1460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean Metadata folders?&lt;/P&gt;&lt;P&gt;Proc Copy is not aware of metadata folder structure, it just copies physical tables.&lt;/P&gt;&lt;P&gt;Just omit the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p04y85z9f13uaan10s1k40ptx6gs.htm" title="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p04y85z9f13uaan10s1k40ptx6gs.htm"&gt;http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p04y85z9f13uaan10s1k40ptx6gs.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2012 10:27:04 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2012-11-07T10:27:04Z</dc:date>
    <item>
      <title>Copying all physical tables, but no folders, using PROC COPY</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Copying-all-physical-tables-but-no-folders-using-PROC-COPY/m-p/119013#M1458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested that the following code successfully copies the physical table "Employee" from Lib1 to Lib2. However, I need to edit the code so that it copies &lt;STRONG&gt;all&lt;/STRONG&gt; the physical tables in that location, but &lt;STRONG&gt;not&lt;/STRONG&gt; the folders. How can I accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;proc copy in = Lib1 out= Lib2 index=yes constraint=yes;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&amp;nbsp; select Employee;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 10:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Copying-all-physical-tables-but-no-folders-using-PROC-COPY/m-p/119013#M1458</guid>
      <dc:creator>TurnTheBacon</dc:creator>
      <dc:date>2012-11-07T10:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copying all physical tables, but no folders, using PROC COPY</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Copying-all-physical-tables-but-no-folders-using-PROC-COPY/m-p/119014#M1459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC COPY is a subset of PROC DATASETS. Here the code using PROC DATASETS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc datasets nolist nowarn;&lt;/P&gt;&lt;P&gt;&amp;nbsp; copy in=Lib1 out=Lib2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datecopy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; force&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; index=yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; constraint=yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; memtype=(data)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 10:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Copying-all-physical-tables-but-no-folders-using-PROC-COPY/m-p/119014#M1459</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-11-07T10:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copying all physical tables, but no folders, using PROC COPY</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Copying-all-physical-tables-but-no-folders-using-PROC-COPY/m-p/119015#M1460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean Metadata folders?&lt;/P&gt;&lt;P&gt;Proc Copy is not aware of metadata folder structure, it just copies physical tables.&lt;/P&gt;&lt;P&gt;Just omit the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p04y85z9f13uaan10s1k40ptx6gs.htm" title="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p04y85z9f13uaan10s1k40ptx6gs.htm"&gt;http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p04y85z9f13uaan10s1k40ptx6gs.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 10:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Copying-all-physical-tables-but-no-folders-using-PROC-COPY/m-p/119015#M1460</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-11-07T10:27:04Z</dc:date>
    </item>
  </channel>
</rss>

