<?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: I want the original data and a format version in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636531#M189120</link>
    <description>&lt;P&gt;PROC REPORT is more flexible; you can define an alias for a variable and use this without the format.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 13:24:17 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-04-01T13:24:17Z</dc:date>
    <item>
      <title>I want the original data and a format version</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636527#M189117</link>
      <description>&lt;P&gt;I have run the following code below to make gender display male and female and if its 1 display yes and 0 = no&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i want to do is in one table add a extra column that would display the original value of the formatted data.Every time i try adding the coloumn&amp;nbsp;&lt;/P&gt;&lt;P&gt;OrgGender and OrgMarried it gives me error messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;PROC FORMAT;&lt;BR /&gt;VALUE FMTMARRIED 0="No"&lt;BR /&gt;1="Yes";&lt;BR /&gt;VALUE $FMTGENDER "F" = "Female"&lt;BR /&gt;"M" = "Male";&lt;BR /&gt;RUN;&lt;BR /&gt;PROC PRINT DATA="/folders/myfolders/CourseWork/SURVEY";&lt;BR /&gt;VAR SUBJECT MARRIED GENDER;&lt;BR /&gt;FORMAT MARRIED FMTMARRIED. GENDER $FMTGENDER.;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636527#M189117</guid>
      <dc:creator>Kman1234</dc:creator>
      <dc:date>2020-04-01T13:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: I want the original data and a format version</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636528#M189118</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/320021"&gt;@Kman1234&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have run the following code below to make gender display male and female and if its 1 display yes and 0 = no&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what i want to do is in one table add a extra column that would display the original value of the formatted data.Every time i try adding the coloumn&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OrgGender and OrgMarried it gives me error messages.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You want to add this extra column in the data set, or in PROC PRINT? I think it has to be done in the data set, and then you can PROC PRINT it.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:20:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636528#M189118</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-01T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: I want the original data and a format version</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636529#M189119</link>
      <description>So i can not add to columns as i create the proc print?</description>
      <pubDate>Wed, 01 Apr 2020 13:21:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636529#M189119</guid>
      <dc:creator>Kman1234</dc:creator>
      <dc:date>2020-04-01T13:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: I want the original data and a format version</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636531#M189120</link>
      <description>&lt;P&gt;PROC REPORT is more flexible; you can define an alias for a variable and use this without the format.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636531#M189120</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-01T13:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: I want the original data and a format version</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636535#M189123</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/320021"&gt;@Kman1234&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;So i can not add to columns as i create the proc print?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Correct.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;correctly points out that PROC REPORT will allow this without first creating a new column in the data set.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:28:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-the-original-data-and-a-format-version/m-p/636535#M189123</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-01T13:28:13Z</dc:date>
    </item>
  </channel>
</rss>

