<?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: base SAS- error while reading 200 character from 4000 charcater long field in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/base-SAS-error-while-reading-200-character-from-4000-charcater/m-p/542990#M7627</link>
    <description>You haven't shown what you tried already, so this might be a possibility:&lt;BR /&gt;&lt;BR /&gt;length newvar $ 200;&lt;BR /&gt;newvar = oldvar;&lt;BR /&gt;&lt;BR /&gt;There's only room to store 200 characters, so SAS really has no choice about what it should do.</description>
    <pubDate>Thu, 14 Mar 2019 01:47:53 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2019-03-14T01:47:53Z</dc:date>
    <item>
      <title>base SAS- error while reading 200 character from 4000 charcater long field</title>
      <link>https://communities.sas.com/t5/New-SAS-User/base-SAS-error-while-reading-200-character-from-4000-charcater/m-p/542946#M7623</link>
      <description>&lt;P&gt;how to substr any character string which will consider all spaces and special characters in the fields.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to substr a field&amp;nbsp; to 200 character which will consider all spaces and special characters in the sting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently I just used length=200 for the field but it had created string with more than 200 length of characters by putting "" double quotes twice to the string as example below. I suppose I Need to use substr function to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example :&lt;/P&gt;
&lt;P&gt;No wire activity was identified during an extended search from July-September 2018.&amp;nbsp; &lt;BR /&gt;BAU All Trans report&amp;nbsp; identified minimal activity; of note was a debit for $100K stating "OFAC/Funds moved to Omnibus". UAR# xxxx&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;"No&lt;/STRONG&gt; wire activity was identified during an extended search from July-September 2018.&amp;nbsp; &lt;BR /&gt;BAU All Trans report&amp;nbsp; identified minimal activity; of note was a debit for $122K &lt;STRONG&gt;stating ""OFAC&lt;/STRONG&gt;/Funds moved to Omnib"&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 21:17:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/base-SAS-error-while-reading-200-character-from-4000-charcater/m-p/542946#M7623</guid>
      <dc:creator>shuchidxt_gmail_com</dc:creator>
      <dc:date>2019-03-13T21:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: base SAS- error while reading 200 character from 4000 charcater long field</title>
      <link>https://communities.sas.com/t5/New-SAS-User/base-SAS-error-while-reading-200-character-from-4000-charcater/m-p/542968#M7626</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/27156"&gt;@shuchidxt_gmail_com&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;how to substr any character string which will consider all spaces and special characters in the fields.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Consider them for what purpose?&lt;/P&gt;
&lt;P&gt;It is not very clear what you are attempting to actually accomplish.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best is to clearly show a start value and the desired result, ideally in the form of data step code for the starting values.&lt;/P&gt;
&lt;P&gt;Instructions here: &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; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 23:00:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/base-SAS-error-while-reading-200-character-from-4000-charcater/m-p/542968#M7626</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-13T23:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: base SAS- error while reading 200 character from 4000 charcater long field</title>
      <link>https://communities.sas.com/t5/New-SAS-User/base-SAS-error-while-reading-200-character-from-4000-charcater/m-p/542990#M7627</link>
      <description>You haven't shown what you tried already, so this might be a possibility:&lt;BR /&gt;&lt;BR /&gt;length newvar $ 200;&lt;BR /&gt;newvar = oldvar;&lt;BR /&gt;&lt;BR /&gt;There's only room to store 200 characters, so SAS really has no choice about what it should do.</description>
      <pubDate>Thu, 14 Mar 2019 01:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/base-SAS-error-while-reading-200-character-from-4000-charcater/m-p/542990#M7627</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-03-14T01:47:53Z</dc:date>
    </item>
  </channel>
</rss>

