<?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: Incomplete Character while Fetching in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341886#M272771</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/108533"&gt;@vivekarun12&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for your reply. Am a beginner to SAS program.Am using proc sql to extract a data then using&amp;nbsp;"Sent To Excel" option&lt;BR /&gt;&lt;BR /&gt;Proc sql;&lt;/P&gt;
&lt;P&gt;select description&lt;/P&gt;
&lt;P&gt;from&amp;nbsp;&lt;/P&gt;
&lt;P&gt;inc.inc_mast;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expected&amp;nbsp;result - "FAILED. ================================================================= Hostname"&lt;/P&gt;
&lt;P&gt;Result am getting - "&lt;SPAN&gt;FAILED. =================================================================&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to over come this.. pls help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;BTW "Send To" is a very inefficient way to communicate with Excel. The best way to get data from one application to another (IMO) is to use files in an open, textual format like csv. Our whole "from" and "to" communication with the data warehouse happens in this way.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2017 08:12:14 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-03-17T08:12:14Z</dc:date>
    <item>
      <title>Incomplete Character while Fetching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341622#M272764</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;I have column “Description” which contains huge characters, while am fetching the data, it shows incomplete character of this columns. How can I get all the characters.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Columns contains some of the special characters like “x(xx) % ===========================”&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Pls help me. Thanks in advance.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341622#M272764</guid>
      <dc:creator>vivekarun12</dc:creator>
      <dc:date>2017-03-16T15:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Character while Fetching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341625#M272765</link>
      <description>&lt;P&gt;I take it you meant "many", not "huge". "Huge" lets me think of something big made by an artisan, probably out of marble &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using proc import, make sure that the guessingrows= value is sufficient so that proc import finds the longest value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise (manually written data step), adapt the informat to accomodate the longest value, as specified by the file documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341625#M272765</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-16T15:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Character while Fetching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341635#M272766</link>
      <description>&lt;P&gt;Did you use proc import to transfer data in sas dataset ? What do you mean by "fetch"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you used a datastep to read flat file (like .txt, .csv, datalines) then add a length statement to define maximum length available.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:44:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341635#M272766</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-03-16T15:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Character while Fetching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341655#M272767</link>
      <description>&lt;P&gt;Thanks for your reply. Am a beginner to SAS program.Am using proc sql to extract a data then using&amp;nbsp;"Sent To Excel" option&lt;BR /&gt;&lt;BR /&gt;Proc sql;&lt;/P&gt;&lt;P&gt;select description&lt;/P&gt;&lt;P&gt;from&amp;nbsp;&lt;/P&gt;&lt;P&gt;inc.inc_mast;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected&amp;nbsp;result - "FAILED. ================================================================= Hostname"&lt;/P&gt;&lt;P&gt;Result am getting - "&lt;SPAN&gt;FAILED. =================================================================&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to over come this.. pls help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 16:20:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341655#M272767</guid>
      <dc:creator>vivekarun12</dc:creator>
      <dc:date>2017-03-16T16:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Character while Fetching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341680#M272768</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/108533"&gt;@vivekarun12&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for your reply. Am a beginner to SAS program.Am using proc sql to extract a data then using&amp;nbsp;"Sent To Excel" option&lt;BR /&gt;&lt;BR /&gt;Proc sql;&lt;/P&gt;
&lt;P&gt;select description&lt;/P&gt;
&lt;P&gt;from&amp;nbsp;&lt;/P&gt;
&lt;P&gt;inc.inc_mast;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expected&amp;nbsp;result - "FAILED. ================================================================= Hostname"&lt;/P&gt;
&lt;P&gt;Result am getting - "&lt;SPAN&gt;FAILED. =================================================================&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to over come this.. pls help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ar you sure that value is actually "FAILED. ================================================================= Hostname" in the data set inc.inc_mast?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so are you looking at the result in Excel and have you tried making the column wider in Excel? Excel may be wrapping the text because the column is not wide enough.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 17:02:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341680#M272768</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-16T17:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Character while Fetching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341873#M272769</link>
      <description>&lt;P&gt;Apologies for the late reply.. Yes am sure.. i have checked the excel cell itself.. it showing incomplete data for "Description" column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls help me on this..&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 06:23:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341873#M272769</guid>
      <dc:creator>vivekarun12</dc:creator>
      <dc:date>2017-03-17T06:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Character while Fetching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341884#M272770</link>
      <description>&lt;P&gt;Use the macro provided in&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; to convert your dataset&amp;nbsp;inc.inc_mast into a data step and post that here (use firstobs= and obs= to create a subset with the relevant lines, if the dataset is large)&lt;/P&gt;
&lt;P&gt;I just created a dataset with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
x1 = "FAILED. ================================================================= Hostname";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and used "Send to Excel" from Enterprise Guide, and got correct data in Excel.&lt;/P&gt;
&lt;P&gt;Windows 7 Professional SP1&lt;/P&gt;
&lt;P&gt;Enterprise Guide 7.1&lt;/P&gt;
&lt;P&gt;Excel 14 (MS Office Standard 2010)&lt;/P&gt;
&lt;P&gt;SAS 9.2 on AIX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 08:07:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341884#M272770</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-17T08:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Character while Fetching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341886#M272771</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/108533"&gt;@vivekarun12&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for your reply. Am a beginner to SAS program.Am using proc sql to extract a data then using&amp;nbsp;"Sent To Excel" option&lt;BR /&gt;&lt;BR /&gt;Proc sql;&lt;/P&gt;
&lt;P&gt;select description&lt;/P&gt;
&lt;P&gt;from&amp;nbsp;&lt;/P&gt;
&lt;P&gt;inc.inc_mast;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expected&amp;nbsp;result - "FAILED. ================================================================= Hostname"&lt;/P&gt;
&lt;P&gt;Result am getting - "&lt;SPAN&gt;FAILED. =================================================================&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to over come this.. pls help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;BTW "Send To" is a very inefficient way to communicate with Excel. The best way to get data from one application to another (IMO) is to use files in an open, textual format like csv. Our whole "from" and "to" communication with the data warehouse happens in this way.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 08:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incomplete-Character-while-Fetching/m-p/341886#M272771</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-17T08:12:14Z</dc:date>
    </item>
  </channel>
</rss>

