<?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: Problems reading CPORT file from c# in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452094#M283869</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/203057"&gt;@csiege&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Is there any way to programmatically access the data within the CPORT file from .NET?&lt;/P&gt;
&lt;P&gt;I see some references to&amp;nbsp;&lt;SPAN&gt;SAS Integrated Object Model (&lt;/SPAN&gt;&lt;EM&gt;IOM&lt;/EM&gt;&lt;SPAN&gt;) Server as a possible option, but wanted to see if that was the right path before going that direction.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You might search .NET oriented sites as this site would say to use Proc Cimport to recover the information in a CPORT transport file since that is the SAS tool for doing so. I don't know if SAS has ever made the file layout/description/binary coding for Cport files available.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Apr 2018 20:11:24 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-04-06T20:11:24Z</dc:date>
    <item>
      <title>Problems reading CPORT file from c#</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452038#M283866</link>
      <description>&lt;P&gt;I've figured out a way to read XPORT and sas7bdat formats from C#, but having trouble with CPORT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The format doesn't appear to be recognized using the methods for the other two formats.&lt;/P&gt;&lt;P&gt;I've tried:&lt;/P&gt;&lt;P&gt;- sas.LocalProvider for sas7bdat&lt;/P&gt;&lt;P&gt;-&amp;nbsp;SAS.UV.Transport for XPORT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neither work for CPORT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452038#M283866</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2018-04-06T18:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems reading CPORT file from c#</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452045#M283867</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;BR /&gt;
&lt;P&gt;The format doesn't appear to be recognized using the methods for the other two formats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since CPORT creates differently structured files than Xport and is not in data set structure I would be very surprised that a method for either of the those would work. Note that XPORT only works for data members. CPORT exports&amp;nbsp;can contain all sorts of different things stored in SAS catalogs: macro instructions, SAS formats, menus, SCL lists, graphics, AF widgets or programs and more. Each of which may have different binary storage requirements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:43:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452045#M283867</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-06T18:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems reading CPORT file from c#</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452048#M283868</link>
      <description>&lt;P&gt;Is there any way to programmatically access the data within the CPORT file from .NET?&lt;/P&gt;&lt;P&gt;I see some references to&amp;nbsp;&lt;SPAN&gt;SAS Integrated Object Model (&lt;/SPAN&gt;&lt;EM&gt;IOM&lt;/EM&gt;&lt;SPAN&gt;) Server as a possible option, but wanted to see if that was the right path before going that direction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452048#M283868</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2018-04-06T18:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems reading CPORT file from c#</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452094#M283869</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/203057"&gt;@csiege&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Is there any way to programmatically access the data within the CPORT file from .NET?&lt;/P&gt;
&lt;P&gt;I see some references to&amp;nbsp;&lt;SPAN&gt;SAS Integrated Object Model (&lt;/SPAN&gt;&lt;EM&gt;IOM&lt;/EM&gt;&lt;SPAN&gt;) Server as a possible option, but wanted to see if that was the right path before going that direction.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You might search .NET oriented sites as this site would say to use Proc Cimport to recover the information in a CPORT transport file since that is the SAS tool for doing so. I don't know if SAS has ever made the file layout/description/binary coding for Cport files available.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 20:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452094#M283869</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-06T20:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problems reading CPORT file from c#</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452113#M283870</link>
      <description>&lt;P&gt;I think XPORT is the only one ever described.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.loc.gov/preservation/digital/formats/fdd/fdd000464.shtml" target="_blank"&gt;https://www.loc.gov/preservation/digital/formats/fdd/fdd000464.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 21:23:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problems-reading-CPORT-file-from-c/m-p/452113#M283870</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2018-04-06T21:23:19Z</dc:date>
    </item>
  </channel>
</rss>

