<?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: Ranuni function and imported Excel file with character data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314370#M68456</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IMO you should really look into PROC SURVEYSELECT.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2016 21:23:29 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-11-25T21:23:29Z</dc:date>
    <item>
      <title>Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314342#M68444</link>
      <description>&lt;P&gt;&lt;BR /&gt;You are a perinatal and reproductive epidemiologist and are given an Excel spreadsheet, Project3.xlsx, which contains 1000 records. There are a total of 5 hospitals in the dataset and in each of these hospitals, there were three possible types of infant outcomes: normal (&amp;gt;= 2500 grams), low birth weight (&amp;lt;2500 grams but &amp;gt;= 1500 grams), and very low birth weight (&amp;lt; 1500 grams).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are interested in conducting a sub-study in which you would like to randomly select 3 very low birth weight, 10 low birth weight, and 25 normal infants from each hospital.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2016 17:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314342#M68444</guid>
      <dc:creator>Gpepsicola</dc:creator>
      <dc:date>2016-11-26T17:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314343#M68445</link>
      <description>&lt;P&gt;Will I get course credit for doing this homework?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 18:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314343#M68445</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2016-11-25T18:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314350#M68449</link>
      <description>No. I'm looking for suggestions to complete it myself. Thanks for inquiring.</description>
      <pubDate>Fri, 25 Nov 2016 18:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314350#M68449</guid>
      <dc:creator>Gpepsicola</dc:creator>
      <dc:date>2016-11-25T18:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314359#M68452</link>
      <description>&lt;P&gt;OK, here's the randomizing part, untested.&amp;nbsp; It assumes dataset HAVE is sorted by hospital.&amp;nbsp; I know that RANUNI is deprecated but you can substitute SAS's improved uniform random number generator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want (drop=av_: w_: w ninfants);

  array avail {3} av_vlbw av_lbw av_nw;
  do w=1 to 3; avail{w}=0; end;

  array want  {3} w_vlbw w_lbw w_nw;
  w_vlbw=3;
  w_lbw=10; 
  w_nw=25;

  /* Get total available infants by weight group */
  do ninfants=1 by 1 until (last.hospital);
    set have;
    by hospital;
    w=1+(weight&amp;gt;=1500)+(weight&amp;gt;=2500);
    avail{w}=avail{w}+1;
  end;

  /* re-read and randomly draw */
  do until (last.hospital);
    set have;
    by hospital;
    w=1+(weight&amp;gt;=1500)+(weight&amp;gt;=2500);

    if want{w}/avail{w}&amp;gt;=ranuni(09184065) then do;
      output;
      want{w}=want{w}-1;
    end;
    avail{w}=avail{w}-1;
  end;
run;  
	  &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Nov 2016 19:38:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314359#M68452</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2016-11-25T19:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314363#M68454</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 20:15:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314363#M68454</guid>
      <dc:creator>Gpepsicola</dc:creator>
      <dc:date>2016-11-25T20:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314370#M68456</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IMO you should really look into PROC SURVEYSELECT.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 21:23:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314370#M68456</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-25T21:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314433#M68475</link>
      <description>&lt;PRE&gt;

proc import datafile='/folders/myfolders/project3.xlsx' out=have dbms=xlsx replace;
run;
proc sort data=have;by hospnm bthwt;run;
proc surveyselect data=have sampsize=25 selectall out=temp;
strata hospnm bthwt;
run;
data want;
do until(last.bthwt);
 set temp;
 by hospnm bthwt;
end;
_bthwt=bthwt;

do i=1 by 1 until(last.bthwt);
 set temp;
 by hospnm bthwt;
 if _bthwt='VLBW' then do;
  if i le 3 then output;
 end;
 else  if _bthwt='LBW' then do;
        if i le 10 then output;
       end;
   else output;
end;
keep hospnm bthwt subjno;
run;
proc print noobs;run;
&lt;/PRE&gt;</description>
      <pubDate>Sat, 26 Nov 2016 07:00:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314433#M68475</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-11-26T07:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314434#M68476</link>
      <description>&lt;PRE&gt;

proc import datafile='/folders/myfolders/project3.xlsx' out=have dbms=xlsx replace;
run;
proc sort data=have;by hospnm bthwt;run;
proc surveyselect data=have sampsize=25 selectall out=temp;
strata hospnm bthwt;
run;
data want;
 set temp;
 by hospnm bthwt;
 if first.bthwt then i=0;
 i+1;
 if bthwt='VLBW' then do;
  if i le 3 then output;
 end;
 else  if bthwt='LBW' then do;
        if i le 10 then output;
       end;
   else output;

keep hospnm bthwt subjno;
run;
proc print noobs;run;


&lt;/PRE&gt;</description>
      <pubDate>Sat, 26 Nov 2016 07:05:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314434#M68476</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-11-26T07:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314439#M68480</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a concern about your proposed solution:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're asking SURVEYSELECT for a sample size of 25 for each of 3 birthweight group, so that later you can take the smaller sample sizes of 3 and 10 from 2 of those groups.&amp;nbsp; Let's say the hospital has 5 VLBW births (or any number between 4 and 25), in which case surveyselect would keep all the VLBW births, &lt;EM&gt;&lt;STRONG&gt;presumably in the original order&lt;/STRONG&gt;&lt;/EM&gt;.&amp;nbsp; Then you take the first 3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Frequently the original data might be sorted within hospital, say by date of birth. Then your suggestion risks never drawing VLBW births at the end of the time period.&amp;nbsp; I think you either have to pre-sort the data in random order within hospital (in which case surveyselect is not needed at all), or run surveyselect 3 times, with 3 different WHERE statements and 3 sampsize values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2016 08:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314439#M68480</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2016-11-26T08:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314441#M68481</link>
      <description>&lt;P&gt;My comment to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp﻿&lt;/a&gt;&amp;nbsp;prompted a thought of a simpler approach.&amp;nbsp; It has more steps, but doesn't require counting the number of available births, and preserves equal sampling probability for each record within a hospital/birthweight group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now editted to use orginal var names and values:&lt;/P&gt;
&lt;P&gt;And edditted again - in my first edit I used strikeout font for variable hospital, which I see is not preserved in the final version.&amp;nbsp; Those are gone now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data need / view=need;
  set have;
  rnum=ranuni(01672356);
run;
proc sort data=need out=sorted;
  by hospm  rnum;
run;
data want (drop=rnum w);
  set sorted;
  by hospnm ;
  array need {3} _temporary_ ;
  if first.hospnm then do;
    need{1}=3; need{2}=10; need{3}=25;
  end;&lt;BR /&gt;  w=findw('VLBW LBW Normal',trim(bthwt),' ','e');
  if need{w}&amp;gt;0;
  need{w}=need{w}-1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2016 18:57:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314441#M68481</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2016-11-26T18:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314533#M68517</link>
      <description>&lt;PRE&gt;
Mike,
You are right. I never thought proc surveyselect would not change the order of obs 
when sample size is less than 25. Bad feature for proc surveyselect .

This could be simple as yours :



proc import datafile='/folders/myfolders/project3.xlsx' out=have dbms=xlsx replace;
run;
data have;
 set have;
 _rand=ranuni(0);
run;
proc sort data=have;by hospnm bthwt _rand;run;
data want;
 set have;
 by hospnm bthwt;
 if first.bthwt then i=0;
 i+1;
 if bthwt='VLBW' then do;
  if i le 3 then output;
 end;
 else  if bthwt='LBW' then do;
        if i le 10 then output;
       end;
   else output;

keep hospnm bthwt subjno;
run;
proc print noobs;run;

&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Nov 2016 03:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314533#M68517</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-11-27T03:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314535#M68518</link>
      <description>&lt;PRE&gt;
Opps,
This ought to be right.



proc import datafile='/folders/myfolders/project3.xlsx' out=have dbms=xlsx replace;
run;
data have;
 set have;
 _rand=ranuni(0);
run;
proc sort data=have;by hospnm bthwt _rand;run;
data want;
 set have;
 by hospnm bthwt;
 if first.bthwt then i=0;
 i+1;
 if bthwt='VLBW' then do;
  if i le 3 then output;
 end;
 else  if bthwt='LBW' then do;
        if i le 10 then output;
       end;
   else do;
        if i le 25 then output;
   end;
keep hospnm bthwt subjno;
run;
proc print noobs;run;

&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Nov 2016 03:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314535#M68518</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-11-27T03:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ranuni function and imported Excel file with character data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314541#M68521</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nice program.&amp;nbsp;&amp;nbsp;I like the idea of sorting by hospnm bthwt.&amp;nbsp; But I think further simplification is achieveable:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="SAS Monospace"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; have (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;drop&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt;=imax i rand);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&amp;nbsp; retain&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; imax;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&amp;nbsp; set&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&amp;nbsp; by&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; hospnm bthwt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&amp;nbsp; if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; first.bthwt &lt;/FONT&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;then&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;do&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; bthwt=&lt;/FONT&gt;&lt;FONT color="#800080" face="SAS Monospace"&gt;&lt;FONT color="#800080" face="SAS Monospace"&gt;'VLBW'&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;then&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; imax=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;3&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="SAS Monospace"&gt;; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;else&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; bthwt=&lt;/FONT&gt;&lt;FONT color="#800080" face="SAS Monospace"&gt;&lt;FONT color="#800080" face="SAS Monospace"&gt;'LBW'&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;then&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; imax=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;10&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="SAS Monospace"&gt;; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;else&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; bthwt=&lt;/FONT&gt;&lt;FONT color="#800080" face="SAS Monospace"&gt;&lt;FONT color="#800080" face="SAS Monospace"&gt;'Normal'&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;then&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; imax=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;25&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="SAS Monospace"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;0&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="SAS Monospace"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&amp;nbsp; end&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace"&gt;&amp;nbsp;&amp;nbsp;i+&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;&lt;FONT color="#008080" face="SAS Monospace"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="SAS Monospace"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&lt;FONT color="#0000ff" face="SAS Monospace"&gt;&amp;nbsp; if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt; i&amp;lt;=imax;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="SAS Monospace"&gt;&lt;FONT color="#000080" face="SAS Monospace"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="SAS Monospace"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2016 04:12:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ranuni-function-and-imported-Excel-file-with-character-data/m-p/314541#M68521</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2016-11-27T04:12:20Z</dc:date>
    </item>
  </channel>
</rss>

