<?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: Set Statement Not Populating in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712573#M219717</link>
    <description>&lt;P&gt;"&lt;SPAN&gt;&amp;nbsp;Nothing in the log and nothing in my output."-- That sounds a bit vague. Can you please try restarting your system and run the code again in piecemeal.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Once you have successfully imported&amp;nbsp;SOWED, please take a look at the PROC CONTENTS and PROC PRINT restricting to 50 records (OBS=50) to check if the dataset&amp;nbsp;SOWED import&amp;nbsp;worked as expected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you could post your full code and the log.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2021 02:52:27 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2021-01-20T02:52:27Z</dc:date>
    <item>
      <title>Set Statement Not Populating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712569#M219714</link>
      <description>&lt;P&gt;I have a dataset that I brought in using PROC IMPORT that I called SOWED. It was 9 variables in that dataset and I want to use those 9 variables to create 70 other variables in a new dataset that I'm calling SOWED1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I want the 70 variables to each have a length of 100 (character) and want two of the variables to have a date format. So in short: I want to create a new dataset using the old dataset but want to have a lengths and formats specified. The problem is nothing happens when I run the data step. Nothing in the log and nothing in my output. This seems to happen because of my length and format statements because when I take them out, the data step runs and I get a log and output. What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data sowed1;&lt;BR /&gt;format graduation_year year4. university_thru_date mmddyy10.;&lt;BR /&gt;length&lt;/P&gt;&lt;P&gt;newvar1&lt;/P&gt;&lt;P&gt;newvar2&lt;/P&gt;&lt;P&gt;newvar3&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;newvar70&lt;BR /&gt;$ 100;&amp;nbsp;&lt;BR /&gt;set SOWED;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 02:35:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712569#M219714</guid>
      <dc:creator>InspectahDex</dc:creator>
      <dc:date>2021-01-20T02:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Statement Not Populating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712573#M219717</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;&amp;nbsp;Nothing in the log and nothing in my output."-- That sounds a bit vague. Can you please try restarting your system and run the code again in piecemeal.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Once you have successfully imported&amp;nbsp;SOWED, please take a look at the PROC CONTENTS and PROC PRINT restricting to 50 records (OBS=50) to check if the dataset&amp;nbsp;SOWED import&amp;nbsp;worked as expected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you could post your full code and the log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 02:52:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712573#M219717</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2021-01-20T02:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Statement Not Populating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712576#M219720</link>
      <description>&lt;P&gt;Most likely your LENGTH or FORMAT statements contain a opening comment or quote characters without closing them. Remove unmatched characters such as these /* */ ' " *&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 03:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712576#M219720</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-01-20T03:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Statement Not Populating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712583#M219727</link>
      <description>If all your variables have the same prefix you can list them as newvar1-newvar70, you don't need to manually list them all.</description>
      <pubDate>Wed, 20 Jan 2021 03:48:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712583#M219727</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-01-20T03:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Statement Not Populating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712586#M219728</link>
      <description>&lt;P&gt;How did you "import" the original data?&amp;nbsp; If the original file is a text file, like a CSV file, then just write your own data step to read it and you can create the variables the way you want the first time.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 04:25:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/712586#M219728</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-01-20T04:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Statement Not Populating</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/716265#M221330</link>
      <description>The file was xlsx. I changed it to CSV and it worked!</description>
      <pubDate>Tue, 02 Feb 2021 23:29:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-Statement-Not-Populating/m-p/716265#M221330</guid>
      <dc:creator>InspectahDex</dc:creator>
      <dc:date>2021-02-02T23:29:23Z</dc:date>
    </item>
  </channel>
</rss>

