<?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 Assigning labels to variables in a proc print in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Assigning-labels-to-variables-in-a-proc-print/m-p/214848#M52897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expected the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=mylib.masterlist(obs=5);&lt;/P&gt;&lt;P&gt;label crashCode='Crash Code';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to produce "Crash Code" as the column heading for the variable crashCode. It did not. Within proc print can I change how a variable is displayed? If not, once a data set is created, can I decide I want to add or change labels?&lt;/P&gt;&lt;P&gt;Thanks, Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 14:24:16 GMT</pubDate>
    <dc:creator>brucehughw</dc:creator>
    <dc:date>2015-07-31T14:24:16Z</dc:date>
    <item>
      <title>Assigning labels to variables in a proc print</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Assigning-labels-to-variables-in-a-proc-print/m-p/214848#M52897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expected the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=mylib.masterlist(obs=5);&lt;/P&gt;&lt;P&gt;label crashCode='Crash Code';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to produce "Crash Code" as the column heading for the variable crashCode. It did not. Within proc print can I change how a variable is displayed? If not, once a data set is created, can I decide I want to add or change labels?&lt;/P&gt;&lt;P&gt;Thanks, Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 14:24:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Assigning-labels-to-variables-in-a-proc-print/m-p/214848#M52897</guid>
      <dc:creator>brucehughw</dc:creator>
      <dc:date>2015-07-31T14:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning labels to variables in a proc print</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Assigning-labels-to-variables-in-a-proc-print/m-p/214849#M52898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With proc print you need to have the LABEL option on the proc line to tell it to print labels instead of variable name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=mylib.masterlist(obs=5) LABEL;&lt;/P&gt;&lt;P&gt;label crashCode='Crash Code';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 14:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Assigning-labels-to-variables-in-a-proc-print/m-p/214849#M52898</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-07-31T14:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning labels to variables in a proc print</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Assigning-labels-to-variables-in-a-proc-print/m-p/214850#M52899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;looks like someone already asked this. found solution here: &lt;A _jive_internal="true" href="https://communities.sas.com/message/148590#148590"&gt;https://communities.sas.com/message/148590#148590&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 14:44:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Assigning-labels-to-variables-in-a-proc-print/m-p/214850#M52899</guid>
      <dc:creator>brucehughw</dc:creator>
      <dc:date>2015-07-31T14:44:51Z</dc:date>
    </item>
  </channel>
</rss>

