<?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: Error message: Variable POSITION not found in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Error-message-Variable-POSITION-not-found/m-p/683708#M24185</link>
    <description>&lt;P&gt;Hi, would you mind re-posting the three images above your code? We are unable to see them. Also, did your proc import step successfully run to create the table?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Sep 2020 16:32:43 GMT</pubDate>
    <dc:creator>brzcol</dc:creator>
    <dc:date>2020-09-14T16:32:43Z</dc:date>
    <item>
      <title>Error message: Variable POSITION not found</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-message-Variable-POSITION-not-found/m-p/683548#M24184</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaeYi_0-1600052416117.png"&gt;&lt;img src="https://communities.sas.com/skins/images/8D8B612AA6AB1DC7E9A0812281D56E02/responsive_peak/images/image_not_found.png" alt="TaeYi_0-1600052416117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaeYi_0-1600053730483.png"&gt;&lt;img src="https://communities.sas.com/skins/images/8D8B612AA6AB1DC7E9A0812281D56E02/responsive_peak/images/image_not_found.png" alt="TaeYi_0-1600053730483.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaeYi_1-1600053765303.png"&gt;&lt;img src="https://communities.sas.com/skins/images/8D8B612AA6AB1DC7E9A0812281D56E02/responsive_peak/images/image_not_found.png" alt="TaeYi_1-1600053765303.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PROC IMPORT OUT= employees DATAFILE=&lt;BR /&gt;""&lt;BR /&gt;DBMS=xlsx REPLACE;&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;RUN;&lt;BR /&gt;PROC PRINT DATA= employees;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PROC TABULATE DATA= employees;&lt;BR /&gt;CLASS position;&lt;BR /&gt;TABLE position ALL;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;DATA employees;&lt;BR /&gt;SET employees;&lt;BR /&gt;IF endDate =. THEN endDate = TODAY();&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;DATA truckers;&lt;BR /&gt;SET employees;&lt;BR /&gt;IF JOB ne 'Truck Driver' THEN DELETE;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;DATA truckers;&lt;BR /&gt;SET employees;&lt;BR /&gt;yearsOfService=INT(YRDIF(hireDate,endDate));&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;PROC PRINT DATA=truckers;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;ODS EXCEL &lt;BR /&gt;FILE=""&lt;BR /&gt;&lt;BR /&gt;OPTIONS(sheet_interval='table');&lt;BR /&gt;PROC FREQ DATA=truckers;&lt;BR /&gt;TABLE yearsOfService;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;ODS EXCEL CLOSE;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 03:23:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-message-Variable-POSITION-not-found/m-p/683548#M24184</guid>
      <dc:creator>TaeYi</dc:creator>
      <dc:date>2020-09-14T03:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error message: Variable POSITION not found</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-message-Variable-POSITION-not-found/m-p/683708#M24185</link>
      <description>&lt;P&gt;Hi, would you mind re-posting the three images above your code? We are unable to see them. Also, did your proc import step successfully run to create the table?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 16:32:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-message-Variable-POSITION-not-found/m-p/683708#M24185</guid>
      <dc:creator>brzcol</dc:creator>
      <dc:date>2020-09-14T16:32:43Z</dc:date>
    </item>
  </channel>
</rss>

