<?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 Truncation of character variables to length 8 when I get csv file from website in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Truncation-of-character-variables-to-length-8-when-I-get-csv/m-p/922680#M363324</link>
    <description>&lt;P&gt;Truncation of character variables to length 8 when I get csv file from website using proc http. When i set $12. to variable then it read some characters from the next column to. Thanks for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename tempurl TEMP;&lt;/P&gt;&lt;P&gt;proc http&lt;BR /&gt;url= "&lt;A href="https://s3.amazonaws.com/talent-assets.datacamp.com/product_sales.csv" target="_blank"&gt;https://s3.amazonaws.com/talent-assets.datacamp.com/product_sales.csv&lt;/A&gt;"&lt;BR /&gt;method="get"&lt;BR /&gt;out=tempurl ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/* Import the data from the URL into a SAS dataset */&lt;BR /&gt;data work.sales;&lt;BR /&gt;infile tempurl dlm =',' dsd firstobs=2 truncover ; /* Set delimiter and skip header row */&lt;BR /&gt;input week $ sales_method $ customer_id $ nd_sold revenue&lt;BR /&gt;years_as_customer nb_site_visits state $ ;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 08:12:28 GMT</pubDate>
    <dc:creator>nnthieu</dc:creator>
    <dc:date>2024-04-03T08:12:28Z</dc:date>
    <item>
      <title>Truncation of character variables to length 8 when I get csv file from website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Truncation-of-character-variables-to-length-8-when-I-get-csv/m-p/922680#M363324</link>
      <description>&lt;P&gt;Truncation of character variables to length 8 when I get csv file from website using proc http. When i set $12. to variable then it read some characters from the next column to. Thanks for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename tempurl TEMP;&lt;/P&gt;&lt;P&gt;proc http&lt;BR /&gt;url= "&lt;A href="https://s3.amazonaws.com/talent-assets.datacamp.com/product_sales.csv" target="_blank"&gt;https://s3.amazonaws.com/talent-assets.datacamp.com/product_sales.csv&lt;/A&gt;"&lt;BR /&gt;method="get"&lt;BR /&gt;out=tempurl ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/* Import the data from the URL into a SAS dataset */&lt;BR /&gt;data work.sales;&lt;BR /&gt;infile tempurl dlm =',' dsd firstobs=2 truncover ; /* Set delimiter and skip header row */&lt;BR /&gt;input week $ sales_method $ customer_id $ nd_sold revenue&lt;BR /&gt;years_as_customer nb_site_visits state $ ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 08:12:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Truncation-of-character-variables-to-length-8-when-I-get-csv/m-p/922680#M363324</guid>
      <dc:creator>nnthieu</dc:creator>
      <dc:date>2024-04-03T08:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Truncation of character variables to length 8 when I get csv file from website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Truncation-of-character-variables-to-length-8-when-I-get-csv/m-p/922681#M363325</link>
      <description>&lt;P&gt;My code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename tempurl TEMP;&lt;/P&gt;&lt;P&gt;proc http&lt;BR /&gt;url= "&lt;A href="https://s3.amazonaws.com/talent-assets.datacamp.com/product_sales.csv" target="_blank"&gt;https://s3.amazonaws.com/talent-assets.datacamp.com/product_sales.csv&lt;/A&gt;"&lt;BR /&gt;method="get"&lt;BR /&gt;out=tempurl ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/* Import the data from the URL into a SAS dataset */&lt;BR /&gt;data work.sales;&lt;BR /&gt;infile tempurl dlm =',' dsd firstobs=2 truncover ; /* Set delimiter and skip header row */&lt;BR /&gt;input week $ sales_method $ customer_id $ nd_sold revenue&lt;BR /&gt;years_as_customer nb_site_visits state $ ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 08:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Truncation-of-character-variables-to-length-8-when-I-get-csv/m-p/922681#M363325</guid>
      <dc:creator>nnthieu</dc:creator>
      <dc:date>2024-04-03T08:07:51Z</dc:date>
    </item>
  </channel>
</rss>

