<?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 Proc cport in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-cport/m-p/447511#M283341</link>
    <description>&lt;P&gt;I'm trying to use proc cport to create transport files&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's works fine with me when I do the data sets one by one&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I try to transport the whole library the I realized that the cportout file is empty&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code that I'm using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname source 'source';&lt;BR /&gt;filename cportout zip 'cportout.zip' ;&lt;/P&gt;&lt;P&gt;proc cport library=source file=cportout memtype=data;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 17:47:02 GMT</pubDate>
    <dc:creator>mona4u</dc:creator>
    <dc:date>2018-03-21T17:47:02Z</dc:date>
    <item>
      <title>Proc cport</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-cport/m-p/447511#M283341</link>
      <description>&lt;P&gt;I'm trying to use proc cport to create transport files&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's works fine with me when I do the data sets one by one&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I try to transport the whole library the I realized that the cportout file is empty&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code that I'm using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname source 'source';&lt;BR /&gt;filename cportout zip 'cportout.zip' ;&lt;/P&gt;&lt;P&gt;proc cport library=source file=cportout memtype=data;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 17:47:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-cport/m-p/447511#M283341</guid>
      <dc:creator>mona4u</dc:creator>
      <dc:date>2018-03-21T17:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc cport</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-cport/m-p/447581#M283342</link>
      <description>&lt;P&gt;It works fine for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cport data is a binary stream however, so you won't see files inside the zip file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
filename CPORTOUT zip "%sysfunc(pathname(WORK))\..\test.zip" ;

proc cport library=WORK file=CPORTOUT memtype=cat;run;
 
libname TMP "%sysfunc(pathname(WORK))\..";

proc cimport file=CPORTOUT lib=TMP; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;NOTE: Entry INDUSTRY_CODE_DESC.FORMATC has been imported.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 20:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-cport/m-p/447581#M283342</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-03-21T20:40:47Z</dc:date>
    </item>
  </channel>
</rss>

