<?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: convert into xpt file in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357664#M18581</link>
    <description>&lt;P&gt;We are required to export datasets into XPT file. &amp;nbsp;I am not sure who will use this file. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2017 20:19:02 GMT</pubDate>
    <dc:creator>Niugg2010</dc:creator>
    <dc:date>2017-05-10T20:19:02Z</dc:date>
    <item>
      <title>convert into xpt file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357651#M18579</link>
      <description>&lt;P&gt;I want to transfer datasets into xpt file.&lt;/P&gt;&lt;P&gt;there are two datasets x and x2;&lt;/P&gt;&lt;P&gt;for dataset x &amp;nbsp;the code produces errors:&amp;nbsp;The variable name aaaaaaaaa is illegal for the version 6 file XPTFILE.X.DATA.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the reason is variable aaaaaaaaa length is over 8;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for dataset x2 the code has errors:&amp;nbsp;The character variable b has too long a value for the XPTFILE library.&lt;/P&gt;&lt;P&gt;the reason is value of b length is over 200.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not want to change the variable name and value. How can I deal with these two issues?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data x;&lt;BR /&gt;aaaaaaaaa="aaa";&lt;BR /&gt;b="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data x2;&lt;BR /&gt;aaaaaaa="aaa";&lt;BR /&gt;b="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;libname xptfile XPORT "G:\XXXX\abc.xpt";&lt;BR /&gt;proc copy in=work out = xptfile memtype=data;&lt;BR /&gt;select x;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;libname xptfile XPORT "G:\XXXXX\abc2.xpt";&lt;BR /&gt;proc copy in=work out = xptfile memtype=data;&lt;BR /&gt;select x2;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 19:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357651#M18579</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-05-10T19:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: convert into xpt file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357660#M18580</link>
      <description>&lt;P&gt;About your only option is not to attempt to send them to a VERSION 6 file. The version 6 will not support either of those: longer variable name or character value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you attempting to make set that can be imported by someone on a different operating system that actualy is NOT using Version 6?&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 19:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357660#M18580</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-10T19:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: convert into xpt file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357664#M18581</link>
      <description>&lt;P&gt;We are required to export datasets into XPT file. &amp;nbsp;I am not sure who will use this file. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 20:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357664#M18581</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-05-10T20:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: convert into xpt file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357683#M18584</link>
      <description>&lt;P&gt;You may need to ask someone to describe the actual file format. It seems that there is another type of file with an XPT format that is not actually a SAS Version 6 Transport file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is supposed to be a Version 6 transport then you may need guidance on what they want to do with incompatable variable names, labels or character variable lengths.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 21:12:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357683#M18584</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-10T21:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: convert into xpt file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357691#M18585</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Another type of file with an XPT format that is not actually a SAS Version 6 Transport file"? &amp;nbsp;can you please give me more details? I googled and have not figure out a method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 21:31:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/convert-into-xpt-file/m-p/357691#M18585</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-05-10T21:31:22Z</dc:date>
    </item>
  </channel>
</rss>

