<?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: compress space while import excel file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/compress-space-while-import-excel-file/m-p/960137#M374515</link>
    <description>&lt;P&gt;Afaik not possible. You need to post process the data. Something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data rajadhani;
  set rajadhani;
  tr_no=compress(tr_no);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 08:21:26 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2025-02-25T08:21:26Z</dc:date>
    <item>
      <title>compress space while import excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-space-while-import-excel-file/m-p/960136#M374514</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="C:\Users\xxxx\Desktop\Rajadhani_Trains.xlsx"
out=rajadhani
dbms=xlsx 
replace ;
getnames=yes;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2025-02-25 132458.png" style="width: 795px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104916i9C40140BD4556D0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-02-25 132458.png" alt="Screenshot 2025-02-25 132458.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;Here i have excel file in Tr_No variable observations have embeded spaces please see above marking so i want remove embaded space while import that file&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 07:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-space-while-import-excel-file/m-p/960136#M374514</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2025-02-25T07:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: compress space while import excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-space-while-import-excel-file/m-p/960137#M374515</link>
      <description>&lt;P&gt;Afaik not possible. You need to post process the data. Something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data rajadhani;
  set rajadhani;
  tr_no=compress(tr_no);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 08:21:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-space-while-import-excel-file/m-p/960137#M374515</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2025-02-25T08:21:26Z</dc:date>
    </item>
  </channel>
</rss>

