<?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: CPT files to XPT files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301107#M63679</link>
    <description>&lt;P&gt;The SAS Viewer can only read SAS transport files created with the XPORT engine. If the CPORT procedure was used then it isn't going to work. Either re-export the dataset using the XPORT engine, or use CIMPORT to import the dataset into a form that works with the viewer:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/42/356.html" target="_blank"&gt;http://support.sas.com/kb/42/356.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think you can convert a CPORTed SAS file to an XPT one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2016 19:28:16 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2016-09-27T19:28:16Z</dc:date>
    <item>
      <title>CPT files to XPT files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301050#M63662</link>
      <description>&lt;P&gt;Please tell me how to convert CPT files to XPT files???&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 15:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301050#M63662</guid>
      <dc:creator>mani0211</dc:creator>
      <dc:date>2016-09-27T15:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: CPT files to XPT files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301053#M63663</link>
      <description>&lt;P&gt;Sure. Define what you mean by CPT and what you mean by XPT.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 15:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301053#M63663</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-09-27T15:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: CPT files to XPT files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301065#M63666</link>
      <description>&lt;P&gt;when i try to open the xpt file in sas viewer 9.130. gettign the error file not valid sas dataset or catalogue.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 16:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301065#M63666</guid>
      <dc:creator>mani0211</dc:creator>
      <dc:date>2016-09-27T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: CPT files to XPT files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301107#M63679</link>
      <description>&lt;P&gt;The SAS Viewer can only read SAS transport files created with the XPORT engine. If the CPORT procedure was used then it isn't going to work. Either re-export the dataset using the XPORT engine, or use CIMPORT to import the dataset into a form that works with the viewer:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/42/356.html" target="_blank"&gt;http://support.sas.com/kb/42/356.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think you can convert a CPORTed SAS file to an XPT one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 19:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301107#M63679</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-09-27T19:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: CPT files to XPT files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301119#M63683</link>
      <description>&lt;P&gt;SAS&amp;nbsp;System Viewer 9.1 can read SAS datasets,but it is really old and might not be able to read SAS datasets made by current versions of SAS. I know we had trouble with it not reading datasets made using 64-bit Unix version of SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is how to convert a file made with PROC CPORT back into SAS datasets (or catalogs).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname out 'my directory name';
proc cimport file='myfilename' lib=out;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or you can use it to view &amp;nbsp;V5 transport files that have only one member. Note that V5 Transport files are limited to 8 character member and variable names and 200 character character variables. &amp;nbsp;But if your data fits into those limitations then you could try having PROC CIMPORT write directly to the V5 transport file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname out xport  'my new file name';
proc cimport file='my old file name' lib=out;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 20:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CPT-files-to-XPT-files/m-p/301119#M63683</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-09-27T20:55:41Z</dc:date>
    </item>
  </channel>
</rss>

