<?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 WARNING: The quoted string currently being processed has become more than 262 characters long. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/WARNING-The-quoted-string-currently-being-processed-has-become/m-p/694918#M79761</link>
    <description>&lt;P&gt;I've been banging my head for hours trying to find out where in my code this warning is coming from. It's preventing me from continuing since it kind of breaks SAS(I have to close and reopen SAS every time to get things working again). I suspect maybe I'm missing a ; or some sort of statement somewhere because I couldn't find any unclosed quotes. I also don't see where any macro variables could exceed the 262 char limit...&amp;nbsp;I inherited this code from someone else before they left for paternity leave so I've been having to try and figure out what they did but their code isn't working right. If anyone can see what's wrong and help me fix this it'd be greatly appreciated.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
%macro var_maker();*&amp;lt;==This is where you would add new criteria. Make sure it has a label otherwise it won't be included in the automated processing;

proc sql;

create table count_sums /*&amp;nbsp; Note that I will need to include order count and refill count&amp;nbsp; */
as select
&amp;nbsp; MRN
&amp;nbsp;,Group_Indicator
&amp;nbsp;,Opioid_or_Benzo
&amp;nbsp;,Report_Date
&amp;nbsp;
&amp;nbsp;,sum(Init_fill_and_refills) as fill_refill_count
/*&amp;nbsp; Criteria not combined with fills&amp;nbsp; */&amp;nbsp;
&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;92&amp;nbsp; then 1 else 0 end) &amp;gt;= 1 /*&amp;nbsp; spans 365 days, with the first quarter 92 days and all others 91&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 92&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 183 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;274 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 274 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;365 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_all_quarters&amp;nbsp; label "Orders in All Quarters"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 /* First period 183 days, second 182&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 183 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;366 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_both_halves&amp;nbsp; label "Orders in Both Halves"

%let i=3;
%do %while (&amp;amp;i &amp;lt;= 12);
/*&amp;nbsp; Criteria combined with fills&amp;nbsp; */&amp;nbsp;
&amp;nbsp;,case when sum(Init_fill_and_refills) &amp;lt; &amp;amp;i then 0 
&amp;nbsp;&amp;nbsp;&amp;nbsp; when sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i then 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; else . end as fill_refill_count_&amp;amp;i&amp;nbsp; label "&amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;92&amp;nbsp; then 1 else 0 end) &amp;gt;= 1 /*&amp;nbsp; spans 365 days, with the first quarter 92 days and all others 91&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 92&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 183 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;274 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 274 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;365 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_all_quarters_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in All Quarters AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;92&amp;nbsp; then 1 else 0 end) &amp;gt;= 1 /*&amp;nbsp; spans 365 days, with the first quarter 92 days and all others 91&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 92&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_qneg_1n2_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in -1 and -2 Quarters AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;92&amp;nbsp; then 1 else 0 end) &amp;gt;= 1 /*&amp;nbsp; spans 365 days, with the first quarter 92 days and all others 91&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_qneg_1_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in -1 Quarter AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 /* First period 183 days, second 182&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 183 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;366 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_both_halves_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in Both Halves AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 /* First period 183 days, second 182&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_halfneg_1_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in -1 Half AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;181 then 1 else 0 end) &amp;gt;= 1 /* First period 180 days, no 2nd&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_last180_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in last 180 AND &amp;amp;i Orders or More"

,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;121 then 1 else 0 end) &amp;gt;= 1 /* First period 120 days, no 2nd&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_last120_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in last 120 AND &amp;amp;i Orders or More"

,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;121 then 1 else 0 end) &amp;gt;= 1 /* First period 90 days, no 2nd&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_last90_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in last 90 AND &amp;amp;i Orders or More"

%let i = %sysevalf(&amp;amp;i + 1);
%end;

from data3.analytic_file
group by Opioid_or_Benzo, Group_Indicator, MRN, Report_Date
;
quit;

title "Fill Counts by Opioid/Benzo and Group";
proc univariate data=count_sums;
var fill_refill_count;
histogram;
by Opioid_or_Benzo Group_Indicator;
run;

/*&amp;nbsp; Checking 1-fill patients&amp;nbsp; */
proc sql;

create table one_fill_patients
as select distinct a.*
from data3.analytic_file as a inner join count_sums as b
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;on a.MRN = b.MRN
where fill_refill_count = 1 /*&amp;nbsp; Eliminates patients included in error&amp;nbsp; */
;
quit;

%mend;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 28 Oct 2020 16:32:49 GMT</pubDate>
    <dc:creator>Leon27607</dc:creator>
    <dc:date>2020-10-28T16:32:49Z</dc:date>
    <item>
      <title>WARNING: The quoted string currently being processed has become more than 262 characters long.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/WARNING-The-quoted-string-currently-being-processed-has-become/m-p/694918#M79761</link>
      <description>&lt;P&gt;I've been banging my head for hours trying to find out where in my code this warning is coming from. It's preventing me from continuing since it kind of breaks SAS(I have to close and reopen SAS every time to get things working again). I suspect maybe I'm missing a ; or some sort of statement somewhere because I couldn't find any unclosed quotes. I also don't see where any macro variables could exceed the 262 char limit...&amp;nbsp;I inherited this code from someone else before they left for paternity leave so I've been having to try and figure out what they did but their code isn't working right. If anyone can see what's wrong and help me fix this it'd be greatly appreciated.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
%macro var_maker();*&amp;lt;==This is where you would add new criteria. Make sure it has a label otherwise it won't be included in the automated processing;

proc sql;

create table count_sums /*&amp;nbsp; Note that I will need to include order count and refill count&amp;nbsp; */
as select
&amp;nbsp; MRN
&amp;nbsp;,Group_Indicator
&amp;nbsp;,Opioid_or_Benzo
&amp;nbsp;,Report_Date
&amp;nbsp;
&amp;nbsp;,sum(Init_fill_and_refills) as fill_refill_count
/*&amp;nbsp; Criteria not combined with fills&amp;nbsp; */&amp;nbsp;
&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;92&amp;nbsp; then 1 else 0 end) &amp;gt;= 1 /*&amp;nbsp; spans 365 days, with the first quarter 92 days and all others 91&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 92&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 183 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;274 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 274 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;365 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_all_quarters&amp;nbsp; label "Orders in All Quarters"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 /* First period 183 days, second 182&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 183 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;366 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_both_halves&amp;nbsp; label "Orders in Both Halves"

%let i=3;
%do %while (&amp;amp;i &amp;lt;= 12);
/*&amp;nbsp; Criteria combined with fills&amp;nbsp; */&amp;nbsp;
&amp;nbsp;,case when sum(Init_fill_and_refills) &amp;lt; &amp;amp;i then 0 
&amp;nbsp;&amp;nbsp;&amp;nbsp; when sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i then 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; else . end as fill_refill_count_&amp;amp;i&amp;nbsp; label "&amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;92&amp;nbsp; then 1 else 0 end) &amp;gt;= 1 /*&amp;nbsp; spans 365 days, with the first quarter 92 days and all others 91&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 92&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 183 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;274 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 274 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;365 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_all_quarters_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in All Quarters AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;92&amp;nbsp; then 1 else 0 end) &amp;gt;= 1 /*&amp;nbsp; spans 365 days, with the first quarter 92 days and all others 91&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 92&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_qneg_1n2_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in -1 and -2 Quarters AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;92&amp;nbsp; then 1 else 0 end) &amp;gt;= 1 /*&amp;nbsp; spans 365 days, with the first quarter 92 days and all others 91&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_qneg_1_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in -1 Quarter AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 /* First period 183 days, second 182&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(case when 183 &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;366 then 1 else 0 end) &amp;gt;= 1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_both_halves_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in Both Halves AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;183 then 1 else 0 end) &amp;gt;= 1 /* First period 183 days, second 182&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_halfneg_1_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in -1 Half AND &amp;amp;i Orders or More"

&amp;nbsp;,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;181 then 1 else 0 end) &amp;gt;= 1 /* First period 180 days, no 2nd&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_last180_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in last 180 AND &amp;amp;i Orders or More"

,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;121 then 1 else 0 end) &amp;gt;= 1 /* First period 120 days, no 2nd&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_last120_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in last 120 AND &amp;amp;i Orders or More"

,case when sum(case when 0&amp;nbsp;&amp;nbsp; &amp;lt;= Report_Date - Ordering_Date_Time &amp;lt;121 then 1 else 0 end) &amp;gt;= 1 /* First period 90 days, no 2nd&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; sum(Init_fill_and_refills) &amp;gt;= &amp;amp;i /*&amp;nbsp; Adds in a fill count requirement&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp; then 1 else 0 end as fills_last90_fill_ge_&amp;amp;i&amp;nbsp; label "Orders in last 90 AND &amp;amp;i Orders or More"

%let i = %sysevalf(&amp;amp;i + 1);
%end;

from data3.analytic_file
group by Opioid_or_Benzo, Group_Indicator, MRN, Report_Date
;
quit;

title "Fill Counts by Opioid/Benzo and Group";
proc univariate data=count_sums;
var fill_refill_count;
histogram;
by Opioid_or_Benzo Group_Indicator;
run;

/*&amp;nbsp; Checking 1-fill patients&amp;nbsp; */
proc sql;

create table one_fill_patients
as select distinct a.*
from data3.analytic_file as a inner join count_sums as b
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;on a.MRN = b.MRN
where fill_refill_count = 1 /*&amp;nbsp; Eliminates patients included in error&amp;nbsp; */
;
quit;

%mend;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Oct 2020 16:32:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/WARNING-The-quoted-string-currently-being-processed-has-become/m-p/694918#M79761</guid>
      <dc:creator>Leon27607</dc:creator>
      <dc:date>2020-10-28T16:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The quoted string currently being processed has become more than 262 characters long.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/WARNING-The-quoted-string-currently-being-processed-has-become/m-p/694928#M79762</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/9021"&gt;@Leon27607&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The apostrophe in "&lt;FONT face="courier new,courier"&gt;won't&lt;/FONT&gt;" in the very first comment is the culprit. Never use comment &lt;EM&gt;statements&lt;/EM&gt; (i.e. &lt;FONT face="courier new,courier"&gt;*...;&lt;/FONT&gt;) in macros. Write this comment in the form&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/* ... */&lt;/FONT&gt; and the problem should vanish.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 16:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/WARNING-The-quoted-string-currently-being-processed-has-become/m-p/694928#M79762</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-10-28T16:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The quoted string currently being processed has become more than 262 characters long.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/WARNING-The-quoted-string-currently-being-processed-has-become/m-p/694940#M79763</link>
      <description>Ah, thanks. I couldn't figure it out because it seemed like the comment was still correct(everything within was still green, and text outside was not).</description>
      <pubDate>Wed, 28 Oct 2020 16:40:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/WARNING-The-quoted-string-currently-being-processed-has-become/m-p/694940#M79763</guid>
      <dc:creator>Leon27607</dc:creator>
      <dc:date>2020-10-28T16:40:25Z</dc:date>
    </item>
  </channel>
</rss>

