<?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: Why arent my labels working in proc print? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Why-arent-my-labels-working-in-proc-print/m-p/893501#M352997</link>
    <description>&lt;P&gt;thank you for your help&lt;/P&gt;</description>
    <pubDate>Sun, 10 Sep 2023 22:16:22 GMT</pubDate>
    <dc:creator>EricB40</dc:creator>
    <dc:date>2023-09-10T22:16:22Z</dc:date>
    <item>
      <title>Why arent my labels working in proc print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-arent-my-labels-working-in-proc-print/m-p/893499#M352995</link>
      <description>&lt;P&gt;data MARRIAGE;&lt;BR /&gt;infile '/home/u63556826/sasuser.v94/MARR500 (2).DAT';&lt;/P&gt;&lt;P&gt;input WOMAN 1-5&lt;BR /&gt;MARRSTAT $ 7&lt;BR /&gt;GATTPREG 25-26&lt;BR /&gt;HATTPREG 27-28;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if MARRSTAT = 8 then MARRSTAT = .;&lt;BR /&gt;if MARRSTAT = 9 then MARRSTAT = .;&lt;BR /&gt;if GATTPREG &amp;gt; 8 then GATTPREG = .;&lt;BR /&gt;IF HATTPREG &amp;gt; 8 then HATTPREG = .;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if 0&amp;lt;= GATTPREG &amp;lt; 5 then GR_ATTITUDE = 1;&lt;BR /&gt;if GATTPREG &amp;gt;=5 then GR_ATTITUDE = 0;&lt;/P&gt;&lt;P&gt;if 0&amp;lt;= HATTPREG &amp;lt; 5 then HB_ATTITUDE = 1;&lt;BR /&gt;if HATTPREG &amp;gt;=5 then HB_ATTITUDE = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data=marriage;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;label WOMAN = "Mother's ID";&lt;BR /&gt;label MARRSTAT = "Marital Status";&lt;BR /&gt;label GATTPREG = "Gravida's Attitude Towards Pregnancy";&lt;BR /&gt;label HATTPREG = "Husband's Attitude Towards Pregnancy";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In procprint, the labels still say Woman, MARRSTAT, etc.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2023 21:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-arent-my-labels-working-in-proc-print/m-p/893499#M352995</guid>
      <dc:creator>EricB40</dc:creator>
      <dc:date>2023-09-10T21:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why arent my labels working in proc print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-arent-my-labels-working-in-proc-print/m-p/893500#M352996</link>
      <description>&lt;P&gt;Proc Print is very old and needs to be told explicitly to use labels:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc print data=marriage LABEL;&lt;/PRE&gt;
&lt;P&gt;Parially has to do with some of the options designed for line printers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't actually want the observation number column then the option NOOBS will suppress those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2023 22:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-arent-my-labels-working-in-proc-print/m-p/893500#M352996</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-10T22:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why arent my labels working in proc print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-arent-my-labels-working-in-proc-print/m-p/893501#M352997</link>
      <description>&lt;P&gt;thank you for your help&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2023 22:16:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-arent-my-labels-working-in-proc-print/m-p/893501#M352997</guid>
      <dc:creator>EricB40</dc:creator>
      <dc:date>2023-09-10T22:16:22Z</dc:date>
    </item>
  </channel>
</rss>

