<?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: How to avoid name truncation with proc cport in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-name-truncation-with-proc-cport/m-p/478412#M123385</link>
    <description>&lt;P&gt;Turns out the problem was with my code.&amp;nbsp; I had:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc cport library=source out=dest;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... instead of...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc cport library=source &lt;STRONG&gt;file&lt;/STRONG&gt;=dest;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simple mistake to make (difficult to debug) as I previously was trying xport which uses the former convention.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jul 2018 16:33:56 GMT</pubDate>
    <dc:creator>RobP</dc:creator>
    <dc:date>2018-07-16T16:33:56Z</dc:date>
    <item>
      <title>How to avoid name truncation with proc cport</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-name-truncation-with-proc-cport/m-p/478402#M123381</link>
      <description>&lt;P&gt;I need to move my files from Windows -&amp;gt; Linux.&amp;nbsp; Same version of SAS (9.4 TS1M5).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run proc cport, I am getting the message:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;ERROR: The variable name wk_net7_start is illegal for the version 6 file DEST.DATES.DATA.&lt;BR /&gt;NOTE: Set the VALIDVARNAME=V6 option to enable automatic truncation of long variable names.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How can I prepare the files for transfer without any naming truncation?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 15:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-name-truncation-with-proc-cport/m-p/478402#M123381</guid>
      <dc:creator>RobP</dc:creator>
      <dc:date>2018-07-16T15:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid name truncation with proc cport</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-name-truncation-with-proc-cport/m-p/478408#M123383</link>
      <description>&lt;P&gt;Do you have some actual SAS version 6 data sets? That is what the error implies. In those data sets variable names are limited to 8 characters. You may need to look at the definition of the libraries involved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a minimum it might not hurt to show the actual code along with the error from log.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 16:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-name-truncation-with-proc-cport/m-p/478408#M123383</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-07-16T16:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid name truncation with proc cport</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-name-truncation-with-proc-cport/m-p/478412#M123385</link>
      <description>&lt;P&gt;Turns out the problem was with my code.&amp;nbsp; I had:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc cport library=source out=dest;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... instead of...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc cport library=source &lt;STRONG&gt;file&lt;/STRONG&gt;=dest;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simple mistake to make (difficult to debug) as I previously was trying xport which uses the former convention.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 16:33:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-name-truncation-with-proc-cport/m-p/478412#M123385</guid>
      <dc:creator>RobP</dc:creator>
      <dc:date>2018-07-16T16:33:56Z</dc:date>
    </item>
  </channel>
</rss>

