<?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: XPT: LSAF in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/XPT-LSAF/m-p/707944#M217455</link>
    <description>&lt;P&gt;The XPORT engine only support V5 transport files (short names and max of 200 bytes for character strings).&lt;/P&gt;
&lt;P&gt;If you want to create transport files that support newer SAS dataset conventions then either use the macros (or write your own code as the file format is published)&amp;nbsp; or switch to using PROC CPORT to create SAS proprietary format transportable files.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Dec 2020 18:12:46 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2020-12-23T18:12:46Z</dc:date>
    <item>
      <title>XPT: LSAF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-LSAF/m-p/707907#M217436</link>
      <description>&lt;P&gt;1) Did I miss a way to create V8 transport files like through the XPORT engine or COPY procedure or is the&amp;nbsp;&lt;SPAN&gt;%LOC2XPT (&lt;A href="https://support.sas.com/kb/46/944.html" target="_blank"&gt;https://support.sas.com/kb/46/944.html&lt;/A&gt;) the typical route?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) If&amp;nbsp;%LOC2XPT is the route, then has SAS created an LSAF version?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 15:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-LSAF/m-p/707907#M217436</guid>
      <dc:creator>Kevin_Viel</dc:creator>
      <dc:date>2020-12-23T15:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: XPT: LSAF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-LSAF/m-p/707943#M217454</link>
      <description>&lt;P&gt;I believe transport files are version independent and converted to target engine during CIMPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;* one table put out in CPORT format;&lt;BR /&gt;&lt;BR /&gt;filename cpt 'class.xpt';

proc cport data=sashelp.class file=cpt;
run;

proc cimport infile=cpt data=work;
run;
&lt;BR /&gt;* several tables put out in XPORT format;&lt;BR /&gt;
data table1 table2 table3;
  set sashelp.class;
run;

libname manycpt XPORT 'c:\temp\tables.cpt' ;

proc copy inlib=work out=manycpt;
  select table:;
run;

proc sql;
  drop table table1, table2, table3;

proc copy inlib=manycpt outlib=work;
run;&lt;/PRE&gt;
&lt;P&gt;Note: The XPORT engine can not read CPORT created files. You'll get a message&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql; 
  drop table class;

libname cpt XPORT 'class.xpt';

proc copy inlib=cpt outlib=work;
run;
--------
ERROR: File is probably a cport file. XPORT engine unable to read file created by proc cport.
       Please use proc cimport to convert this file to native format.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 18:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-LSAF/m-p/707943#M217454</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-12-23T18:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: XPT: LSAF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-LSAF/m-p/707944#M217455</link>
      <description>&lt;P&gt;The XPORT engine only support V5 transport files (short names and max of 200 bytes for character strings).&lt;/P&gt;
&lt;P&gt;If you want to create transport files that support newer SAS dataset conventions then either use the macros (or write your own code as the file format is published)&amp;nbsp; or switch to using PROC CPORT to create SAS proprietary format transportable files.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 18:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-LSAF/m-p/707944#M217455</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-12-23T18:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: XPT: LSAF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-LSAF/m-p/707949#M217457</link>
      <description>&lt;P&gt;Thanks Richard!&amp;nbsp; Been quite a while, glad to have heard from you again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Kevin&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 18:34:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-LSAF/m-p/707949#M217457</guid>
      <dc:creator>Kevin_Viel</dc:creator>
      <dc:date>2020-12-23T18:34:10Z</dc:date>
    </item>
  </channel>
</rss>

