<?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 I am unable to see weekdays as mon-sun in the result... instead it shows number as 1-7 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-am-unable-to-see-weekdays-as-mon-sun-in-the-result-instead-it/m-p/896180#M354090</link>
    <description>&lt;P&gt;4. Using the SAS data set called “main”, create a new dataset “four” by doing the following: a. Add formatting to the variable “weekdayb” in the following format: 1 = Monday, 2 = Tuesday, … 7 = Sunday. Hint: Don’t forget that formatting takes TWO steps! b. Check your work by creating a frequency table for “weekdayb”. Unfinished Code *lab 8 – Problem 4; proc; data proc; run;&lt;/P&gt;&lt;P&gt;i did as follows;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value weekdayb&lt;BR /&gt;1 = 'Monday'&lt;BR /&gt;2 = 'Tuesday'&lt;BR /&gt;3 = 'Wednesday'&lt;BR /&gt;4 = 'Thursday'&lt;BR /&gt;5 = 'Friday'&lt;BR /&gt;6 = 'Saturday'&lt;BR /&gt;7 = 'Sunday';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data lab.four;&lt;BR /&gt;set lab.main;&lt;BR /&gt;format weekdayb;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc freq data=lab.four;&lt;BR /&gt;tables weekdayb;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 03:40:17 GMT</pubDate>
    <dc:creator>Markanti</dc:creator>
    <dc:date>2023-09-28T03:40:17Z</dc:date>
    <item>
      <title>I am unable to see weekdays as mon-sun in the result... instead it shows number as 1-7</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-unable-to-see-weekdays-as-mon-sun-in-the-result-instead-it/m-p/896180#M354090</link>
      <description>&lt;P&gt;4. Using the SAS data set called “main”, create a new dataset “four” by doing the following: a. Add formatting to the variable “weekdayb” in the following format: 1 = Monday, 2 = Tuesday, … 7 = Sunday. Hint: Don’t forget that formatting takes TWO steps! b. Check your work by creating a frequency table for “weekdayb”. Unfinished Code *lab 8 – Problem 4; proc; data proc; run;&lt;/P&gt;&lt;P&gt;i did as follows;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value weekdayb&lt;BR /&gt;1 = 'Monday'&lt;BR /&gt;2 = 'Tuesday'&lt;BR /&gt;3 = 'Wednesday'&lt;BR /&gt;4 = 'Thursday'&lt;BR /&gt;5 = 'Friday'&lt;BR /&gt;6 = 'Saturday'&lt;BR /&gt;7 = 'Sunday';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data lab.four;&lt;BR /&gt;set lab.main;&lt;BR /&gt;format weekdayb;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc freq data=lab.four;&lt;BR /&gt;tables weekdayb;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 03:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-unable-to-see-weekdays-as-mon-sun-in-the-result-instead-it/m-p/896180#M354090</guid>
      <dc:creator>Markanti</dc:creator>
      <dc:date>2023-09-28T03:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: I am unable to see weekdays as mon-sun in the result... instead it shows number as 1-7</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-unable-to-see-weekdays-as-mon-sun-in-the-result-instead-it/m-p/896182#M354092</link>
      <description>&lt;P&gt;Your FORMAT statement requires both the variable you are using your FORMAT on and the format name you are applying:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format weekdayb weekdayb.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Sep 2023 03:51:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-unable-to-see-weekdays-as-mon-sun-in-the-result-instead-it/m-p/896182#M354092</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-09-28T03:51:17Z</dc:date>
    </item>
  </channel>
</rss>

