<?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: IF statements with SET in Developers</title>
    <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218176#M4739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't you start this conversation with a list like D0 D1 D2?&lt;/P&gt;&lt;P&gt;So are trying to change the students status to the next in the list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So first figure out a method to do what you want by writing out the code in full detail.&amp;nbsp; Perhaps something like&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if status='D0' then new_status='D1';&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;else if status='D1' then new_status='D2';&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;....&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P&gt;Then see if there is a way to generate the code using macro.&lt;/P&gt;&lt;P&gt;Or re-imagine the problem so that it uses the data directly without code generation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 18:51:01 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-05-21T18:51:01Z</dc:date>
    <item>
      <title>IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218166#M4729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a structure like the below where I loop through multiple times.&amp;nbsp; The first time that I loop though I enter the if statement. The second time I loop through the if statement does not detect that &amp;amp;columnIdText = “&amp;amp;next_name”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve tried the following.&lt;/P&gt;&lt;P&gt;Next_name = D5;&lt;/P&gt;&lt;P&gt;Next_name = “D5”;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neither of which seems to work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m thinking that the usage of the word SET changes the syntax requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make the if statement work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA _NULL_;&lt;/P&gt;&lt;P&gt;FILE _WEBOUT;&lt;/P&gt;&lt;P&gt;SET &amp;amp;DATASET END=LAST;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF &amp;amp;columnIdText="&amp;amp;next_name" THEN DO;&lt;/P&gt;&lt;P&gt;&amp;nbsp; next_name = D5;&lt;/P&gt;&lt;P&gt;END;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 17:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218166#M4729</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-05-21T17:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218167#M4730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without seeing how the macro variables resolve and what's in your datasets, I doubt anyone can provide an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share with us a portion of your dataset, and what the macro variables resolve to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What loop are you referring to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 17:05:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218167#M4730</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-05-21T17:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218168#M4731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;amp;columnIdText should resolve to a variable name. Is that variable in all of the data sets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a variable named D5 if all of the data sets?&lt;/P&gt;&lt;P&gt;Are you trying to set the value of a variable D5 to the value of Next_name or set Next_name to have the value "D5"?&lt;/P&gt;&lt;P&gt;%let Next_name=D5; would have the following behavior:&lt;/P&gt;&lt;P&gt;IF &amp;amp;columnIdText="&amp;amp;next_name" should be testing a variable to have the value D5 UNLESS you did something such as put quotes in &amp;amp;columnIdText. You don't show how that variable is created so guessing here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF &amp;amp;columnIdText=&amp;amp;next_name would be testing if a variable has the value of the variable D5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 17:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218168#M4731</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-21T17:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218169#M4732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Set… Run loops through the datset from the start of the dataset until the end of the dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 17:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218169#M4732</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-05-21T17:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218170#M4733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The key to the answer:&amp;nbsp; give us an example of what the correct syntax would be for the DATA step if there were no macro language involved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 17:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218170#M4733</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-05-21T17:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218171#M4734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;CREATE TABLE ENUM_OPDS_STU_S_D_LEV_LIST (&lt;/P&gt;&lt;P&gt;&amp;nbsp; DEGREE_STUD_LEVEL_ID varchar(50)&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp; INSERT INTO ENUM_OPDS_STU_S_D_LEV_LIST (DEGREE_STUD_LEVEL_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp; VALUES ('D');&lt;/P&gt;&lt;P&gt;&amp;nbsp; INSERT INTO ENUM_OPDS_STU_S_D_LEV_LIST (DEGREE_STUD_LEVEL_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp; VALUES ('D1');&lt;/P&gt;&lt;P&gt;&amp;nbsp; INSERT INTO ENUM_OPDS_STU_S_D_LEV_LIST (DEGREE_STUD_LEVEL_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp; VALUES ('D2');&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let degStudLev = D D2;&lt;/P&gt;&lt;P&gt;%macro createDropdown(DATASET, columnIdText, CHOICE);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let i = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let next_name = %scan(&amp;amp;CHOICE, &amp;amp;i);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA _NULL_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET &amp;amp;DATASET END=LAST;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF DEGREE_STUD_LEVEL_ID="&amp;amp;next_name" THEN DO;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next_name = 'D2'; /*really I want to do a second scan here, but one step at a time, what syntax do I need on this line for the if statement to work a second time.*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "made it";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RUN;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%createDropdown(ENUM_OPDS_STU_S_D_LEV_LIST, &amp;amp;degStudLev, &amp;amp;degStudLev);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:00:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218171#M4734</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-05-21T18:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218172#M4735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, you'll need to get rid of the macro language.&amp;nbsp; For example, if &amp;amp;CHOICE is D D2, do you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set mydataset end=last;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if degree_stud_level_id="D" then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next_name="D";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; else if degree_stud_level_id="D2" then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next_name="D2";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's probably not the exact result you were aiming for, but whatever it is you will have to spell it out without macro language.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:11:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218172#M4735</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-05-21T18:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218173#M4736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking&amp;nbsp; to set Next_name to 'D2' if DEGREE_STUD_LEVEL_ID is any of the values in Choice then this might be more appropriate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if findw("&amp;amp;choice",DEGREE_STUD_LEVEL_ID) &amp;gt; 0 then do;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are you trying to set different values to next_name depending upon the value of DEGREE_STUD_LEVEL_ID?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW creating example datasets with SQL insert statements makes your examples look more complex. A simple datastep with input and datalines is simpler to add values for testing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data ENUM_OPDS_STU_S_D_LEV_LIST;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; length DEGREE_STUD_LEVEL_ID $ 50; /* though 50 is sort of overkill with this data*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input DEGREE_STUD_LEVEL_ID;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;D1&lt;/P&gt;&lt;P&gt;D2&lt;/P&gt;&lt;P&gt;D5&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218173#M4736</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-21T18:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218174#M4737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: #000000;"&gt;I am looking to do something very close to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;"&gt;&lt;SPAN style="background: white;"&gt;“Are you looking to set Next_name to 'D2' if DEGREE_STUD_LEVEL_ID is any of the values in Choice then this might be more appropriate:&lt;/SPAN&gt;”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: #000000; background: white;"&gt;If the current value of next_name is found while looping through the dataset then I want to do an action and change the value of next_name so I can do the action again if the new value of next_name is found.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: #000000; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: #000000; background: white;"&gt;Findw will likely work researching.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:27:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218174#M4737</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-05-21T18:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218175#M4738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is very confusing.&amp;nbsp; Can you just make an example input data step and the desired output data step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the variable names it almost looks like you are trying to calculate if the student has finished the degree program.&amp;nbsp; I assume the multiple levels reflect steps along the way to completion?&lt;/P&gt;&lt;P&gt;Does the goal for each student vary?&lt;/P&gt;&lt;P&gt;Are you trying to just tally the results (make a report) or are you trying to make transactions on the data set to reflect completion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218175#M4738</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-05-21T18:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218176#M4739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't you start this conversation with a list like D0 D1 D2?&lt;/P&gt;&lt;P&gt;So are trying to change the students status to the next in the list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So first figure out a method to do what you want by writing out the code in full detail.&amp;nbsp; Perhaps something like&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if status='D0' then new_status='D1';&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;else if status='D1' then new_status='D2';&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;....&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P&gt;Then see if there is a way to generate the code using macro.&lt;/P&gt;&lt;P&gt;Or re-imagine the problem so that it uses the data directly without code generation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:51:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218176#M4739</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-05-21T18:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218177#M4740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt;I am using the code to produce a checked html dropdownlist with specified options checked.&amp;nbsp; I have a string that contains the values in the dropdownlist that should be checked. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em; background-color: white;"&gt;E.g. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em; background-color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D D2 should be checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But D1 should not be checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt;My string for choice is D D2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt;The lookup table for the dropdown contains the values D D1 D2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt;Ballardw’s solution using &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica',sans-serif; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if findw("&amp;amp;choice",DEGREE_STUD_LEVEL_ID) &amp;gt; 0 then do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica',sans-serif; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where &lt;SPAN style="font-family: Helvetica, sans-serif; font-size: 13.3333330154419px; background-color: #ffffff;"&gt;,DEGREE_STUD_LEVEL_ID changes each loop iteration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt;Should work.&amp;nbsp; I’m currently researching what I’m missing, its probably something simple involving which item should have “” around it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 19:04:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218177#M4740</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-05-21T19:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218178#M4741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt; background: white;"&gt;I simplified the code as far as it can be simplified.&amp;nbsp; I’m not sure why the findw line does not evaluate properly.&amp;nbsp; I need to be able to pass in degStudLev.&amp;nbsp; &lt;SPAN style="background: white;"&gt;I tried a number of permutations including:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; background: white;"&gt;&amp;nbsp; if findw("&amp;amp;CHOICE", DEGREE_STUD_LEVEL_ID) &amp;gt; 0 then do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; background: #ffffff;"&gt;&amp;nbsp; if findw("&amp;amp;CHOICE", "DEGREE_STUD_LEVEL_ID") &amp;gt; 0 then do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; background: #ffffff;"&gt;_______________&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;proc sql;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;CREATE TABLE ENUM_OPDS_STU_S_D_LEV_LIST (&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; DEGREE_STUD_LEVEL_ID varchar(50)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; INSERT INTO ENUM_OPDS_STU_S_D_LEV_LIST (DEGREE_STUD_LEVEL_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; VALUES ('D');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; INSERT INTO ENUM_OPDS_STU_S_D_LEV_LIST (DEGREE_STUD_LEVEL_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; VALUES ('D1');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; INSERT INTO ENUM_OPDS_STU_S_D_LEV_LIST (DEGREE_STUD_LEVEL_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; VALUES ('D2');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;%let degStudLev = D D2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;%macro createDropdown(CHOICE);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; DATA _NULL_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; SET ENUM_OPDS_STU_S_D_LEV_LIST END=LAST;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; if findw("&amp;amp;CHOICE", "DEGREE_STUD_LEVEL_ID") &amp;gt; 0 then do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; put "made it";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; END;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;%mend;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;%createDropdown(&amp;amp;degStudLev);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 20:15:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218178#M4741</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-05-21T20:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218179#M4742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;if findw("&amp;amp;CHOICE",strip( DEGREE_STUD_LEVEL_ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the previous version had some blanks likely at the end of the variable not removed in the comparison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 20:28:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218179#M4742</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-21T20:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218180#M4743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt;Ballardw,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt;Thanks for helping me out.&amp;nbsp; I’ll look over the strip API it should give me more information. Below is my dropdown that loads up with two criteria selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="twocriteriapng.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/10550_twocriteriapng.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 20:45:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218180#M4743</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-05-21T20:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218181#M4744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. That is trivial.&amp;nbsp; No need for a MACRO.&lt;/P&gt;&lt;P&gt;So let's assume you have a control dataset and a list of selected items. You could then go through the data set and spit out which ones are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; degree_list ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; code :&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;$5.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; name &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;$20.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;D Associate Degree&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;D1 Bachelor Degree&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;D2&amp;nbsp; Masters Degree&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;D3&amp;nbsp; Doctorate&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;;;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; choice=D D1 D2 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; degree_list ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; indexw(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"&amp;amp;choice"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;,code) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;put&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'Has '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; name ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;Has Associate Degree&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;Has Bachelor Degree&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;Has Masters Degree&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 21:04:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218181#M4744</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-05-21T21:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218182#M4745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial',sans-serif; background: white;"&gt;I need the macro for 7 other dropdowns.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 21:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218182#M4745</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-05-21T21:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218183#M4746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write the code to do one.&amp;nbsp; Then figure out how to make it flexible.&lt;/P&gt;&lt;P&gt;So if you have 7 different menus then your control data set needs another column to indicate which menu it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 21:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218183#M4746</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-05-21T21:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218184#M4747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt; if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt; menu = "&amp;amp;menu_name" then put code name @;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt; indexw(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"&amp;amp;choice"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;,code) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt;put&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt; &lt;SPAN style="color: #800080;"&gt;'selected'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt; @ ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt; put ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 21:19:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218184#M4747</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-05-21T21:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: IF statements with SET</title>
      <link>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218185#M4748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background: white;"&gt;I coded the dropdowns outside of the checkboxes a while back.&amp;nbsp; Both features are working.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 12:36:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/IF-statements-with-SET/m-p/218185#M4748</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-05-22T12:36:25Z</dc:date>
    </item>
  </channel>
</rss>

