<?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: Unwanted cut in the output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646011#M193193</link>
    <description>Yes, I do. But thanks for the interest.</description>
    <pubDate>Thu, 07 May 2020 19:22:00 GMT</pubDate>
    <dc:creator>OGA13</dc:creator>
    <dc:date>2020-05-07T19:22:00Z</dc:date>
    <item>
      <title>Unwanted cut in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/645987#M193180</link>
      <description>&lt;P&gt;I tried to submit the code below, but SAS does't show the word after the blank in the values of the variable "COMPLICATION".&lt;/P&gt;&lt;P&gt;Can anyone fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data complication;&lt;BR /&gt;length SUBJECT 8 COMPLICATION $15;&lt;BR /&gt;input SUBJECT COMPLICATION $ ;&lt;BR /&gt;datalines;&lt;BR /&gt;2076 Pneumonia&lt;BR /&gt;3585 DVT(Lower)&lt;BR /&gt;3630 DVT(Lower)&lt;BR /&gt;4585 Compartment&lt;BR /&gt;4599 Aspiration&lt;BR /&gt;4760 Acute Resp&lt;BR /&gt;4775 Pneumonia&lt;BR /&gt;2076 Heart Attack&lt;BR /&gt;3585 Pneumonia&lt;BR /&gt;3660 Heart Attack&lt;BR /&gt;4585 Pneumonia&lt;BR /&gt;4599 Pneumonia&lt;BR /&gt;4760 Pneumonia&lt;BR /&gt;4775 DVT(Lower)&lt;BR /&gt;2076 Renal Fail&lt;BR /&gt;3585 Renal Fail&lt;BR /&gt;3630 Pancreatit&lt;BR /&gt;4585 Skin Break&lt;BR /&gt;4599 Renal Fail&lt;BR /&gt;4760 Renal Fail&lt;BR /&gt;4775 Pneumonia&lt;BR /&gt;3630 Pneumonia&lt;BR /&gt;4775 Renal Fail&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 18:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/645987#M193180</guid>
      <dc:creator>OGA13</dc:creator>
      <dc:date>2020-05-07T18:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted cut in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646001#M193186</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data complication;
length Subject 8 Complication $15;
input Subject  Complication &amp;amp; $;
datalines;
2076 Pneumonia
3585 DVT(Lower)
3630 DVT(Lower)
4585 Compartment
4599 Aspiration
4760 Acute Resp
4775 Pneumonia
2076 Heart Attack
3585 Pneumonia
3660 Heart Attack
4585 Pneumonia
4599 Pneumonia
4760 Pneumonia
4775 DVT(Lower)
2076 Renal Fail
3585 Renal Fail
3630 Pancreatit
4585 Skin Break
4599 Renal Fail
4760 Renal Fail
4775 Pneumonia
3630 Pneumonia
4775 Renal Fail
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What you need to do is add in the &amp;amp; modifier on the input statement since the values include spaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=lestmtsref&amp;amp;docsetTarget=n0lrz3gb7m9e4rn137op544ddg0v.htm&amp;amp;locale=en#p1wk2kecsf6iz8n1ufug4i5pg6id"&gt;https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=lestmtsref&amp;amp;docsetTarget=n0lrz3gb7m9e4rn137op544ddg0v.htm&amp;amp;locale=en#p1wk2kecsf6iz8n1ufug4i5pg6id&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 18:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646001#M193186</guid>
      <dc:creator>brzcol</dc:creator>
      <dc:date>2020-05-07T18:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted cut in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646004#M193188</link>
      <description>&lt;P&gt;Alternatively to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/102238"&gt;@brzcol&lt;/a&gt;&amp;nbsp;solution you can try next code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data complication;
infile datalines truncover;
length Subject 8 Complication $15;
input Subject  Complication $char15.;
datalines;
2076 Pneumonia
......
; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 May 2020 19:03:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646004#M193188</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-05-07T19:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted cut in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646005#M193189</link>
      <description>You're aware the data you have posted is already truncated as well?</description>
      <pubDate>Thu, 07 May 2020 19:03:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646005#M193189</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-07T19:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted cut in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646011#M193193</link>
      <description>Yes, I do. But thanks for the interest.</description>
      <pubDate>Thu, 07 May 2020 19:22:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646011#M193193</guid>
      <dc:creator>OGA13</dc:creator>
      <dc:date>2020-05-07T19:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted cut in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646386#M193343</link>
      <description>&lt;P&gt;Thanks very much for your help.&lt;/P&gt;&lt;P&gt;I'm just wondering why do i need to specify the format in the input statement as well?&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2020 14:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unwanted-cut-in-the-output/m-p/646386#M193343</guid>
      <dc:creator>OGA13</dc:creator>
      <dc:date>2020-05-09T14:22:30Z</dc:date>
    </item>
  </channel>
</rss>

