<?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: Carriage Return in a Label function (need help) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Carriage-Return-in-a-Label-function-need-help/m-p/857573#M338845</link>
    <description>&lt;P&gt;The label statement is not like the assignment statement, but it does have an implied concatenation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;37   data test;
38       HEDIS_COLON_GAP=1;
39       LABEL HEDIS_COLON_GAP ='Colorectal Cancer Screening' '0D'x '(Display)';
40       label=vlabel(HEDIS_COLON_GAP);
41       put label=$hex60.;
42       run;

label=436F6C6F72656374616C2043616E6365722053637265656E696E67200D20
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 07 Feb 2023 15:59:24 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2023-02-07T15:59:24Z</dc:date>
    <item>
      <title>Carriage Return in a Label function (need help)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Carriage-Return-in-a-Label-function-need-help/m-p/856931#M338565</link>
      <description>&lt;P&gt;Hi, I need Carriage Return help please.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running a SAS program that puts data into an Excel Template. I query a SQL table, use RETAIN, and then LABEL the data. All of this works as intended and has for years. What I need now is to get this one particular LABEL to incorporate a Carriage Return so the words in parenthesis "(Display)" are put on the second line of the Excel Cell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section of Current Code:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LABEL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;HEDIS_COLON_GAP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; =&lt;/SPAN&gt;&lt;SPAN&gt;'Colorectal Cancer Screening (Display)'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried this but it didn't work:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LABEL&amp;nbsp;HEDIS_COLON_GAP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; ='Colorectal Cancer Screening' ||'0D'x || '(Display)'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 20:16:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Carriage-Return-in-a-Label-function-need-help/m-p/856931#M338565</guid>
      <dc:creator>kovamk</dc:creator>
      <dc:date>2023-02-02T20:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Carriage Return in a Label function (need help)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Carriage-Return-in-a-Label-function-need-help/m-p/857573#M338845</link>
      <description>&lt;P&gt;The label statement is not like the assignment statement, but it does have an implied concatenation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;37   data test;
38       HEDIS_COLON_GAP=1;
39       LABEL HEDIS_COLON_GAP ='Colorectal Cancer Screening' '0D'x '(Display)';
40       label=vlabel(HEDIS_COLON_GAP);
41       put label=$hex60.;
42       run;

label=436F6C6F72656374616C2043616E6365722053637265656E696E67200D20
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Feb 2023 15:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Carriage-Return-in-a-Label-function-need-help/m-p/857573#M338845</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2023-02-07T15:59:24Z</dc:date>
    </item>
  </channel>
</rss>

