<?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 Splitting dataset into multiple datasets in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575194#M75442</link>
    <description>&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I need to split my dataset into several datasets based on a certain variable. Searching the forums I found this old thread which almost does the exact same:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Splitting-a-dataset-into-multiple-dataset/m-p/399904#M66679" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Procedures/Splitting-a-dataset-into-multiple-dataset/m-p/399904#M66679&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;The difference is that in this thread the procedure is done by looking at one variable to split the dataset and another variable for naming the datasets. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I’m still relatively new to SAS so I don’t fully understand what the code does.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines truncover;
input @1 deptid 1. deptdescription $ &amp;amp; 3-20;
datalines;
1 Maths
2 Astronomy
1 Maths
3 Physics
4 Public Health
3 Physics
;
run;
 
/* Sort by Deptid so first./last. logic can be used in the next step */
proc sort data=have;
by deptid;
run;
 
/* CALL SYMPUTX creates macro variables &amp;amp;Subj1, &amp;amp;Subj2, etc from the values of Deptdescription.*/
/* The total unique values of Deptdescription are stored in &amp;amp;Total                             */
data _null_;
set have;
by deptid;
if first.deptid then do;
i+1;
call symputx('subj'|| left(put(i,2.)),deptdescription);
end;
if last.deptid then call symputx('total',i);
run;
 
/* Within a macro %DO loop the data sets are created and those observations with the same */
/* Deptdescription values are read with a WHERE clause                                    */
%macro test;
%do i=1 %to &amp;amp;total;
data &amp;amp;&amp;amp;subj&amp;amp;i;
set have;
where deptdescription="&amp;amp;&amp;amp;subj&amp;amp;i";
run;
%end;
%mend test;
 
/* invoke the macro */
%test&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;In my case the data would look something like this: &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;(I changed the Input Statements for this example accordinlgy I hope. The actual data I'm working with is a SAS dataset)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#b00000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines truncover;
input @1 dept $1-13 Variable1  4.;
datalines;
Maths 213
Astronomy 34
Maths 43
Physics 34
Public Health 54
Physics 324
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#b00000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I think I Need to change These two lines:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;call symputx('subj'|| left(put(i,2.)),deptdescription);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where deptdescription="&amp;amp;&amp;amp;subj&amp;amp;i";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;However, I&amp;nbsp; tried several changes such as:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;call symputx('subj'|| compress(dept),Variable1);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #333333; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;plus&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where variable1="&amp;amp;&amp;amp;subj&amp;amp;i";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;SPAN style="margin: 0px; color: #333333; font-family: 'Courier New'; font-size: 10pt;"&gt;But they didn’t work. Note that compress is not an elegant solution, but I needed a quick way to get rid of the space in the dataset Name.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jul 2019 10:49:04 GMT</pubDate>
    <dc:creator>Sledgehamma</dc:creator>
    <dc:date>2019-07-21T10:49:04Z</dc:date>
    <item>
      <title>Splitting dataset into multiple datasets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575194#M75442</link>
      <description>&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I need to split my dataset into several datasets based on a certain variable. Searching the forums I found this old thread which almost does the exact same:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Splitting-a-dataset-into-multiple-dataset/m-p/399904#M66679" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Procedures/Splitting-a-dataset-into-multiple-dataset/m-p/399904#M66679&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;The difference is that in this thread the procedure is done by looking at one variable to split the dataset and another variable for naming the datasets. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I’m still relatively new to SAS so I don’t fully understand what the code does.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines truncover;
input @1 deptid 1. deptdescription $ &amp;amp; 3-20;
datalines;
1 Maths
2 Astronomy
1 Maths
3 Physics
4 Public Health
3 Physics
;
run;
 
/* Sort by Deptid so first./last. logic can be used in the next step */
proc sort data=have;
by deptid;
run;
 
/* CALL SYMPUTX creates macro variables &amp;amp;Subj1, &amp;amp;Subj2, etc from the values of Deptdescription.*/
/* The total unique values of Deptdescription are stored in &amp;amp;Total                             */
data _null_;
set have;
by deptid;
if first.deptid then do;
i+1;
call symputx('subj'|| left(put(i,2.)),deptdescription);
end;
if last.deptid then call symputx('total',i);
run;
 
/* Within a macro %DO loop the data sets are created and those observations with the same */
/* Deptdescription values are read with a WHERE clause                                    */
%macro test;
%do i=1 %to &amp;amp;total;
data &amp;amp;&amp;amp;subj&amp;amp;i;
set have;
where deptdescription="&amp;amp;&amp;amp;subj&amp;amp;i";
run;
%end;
%mend test;
 
/* invoke the macro */
%test&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;In my case the data would look something like this: &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;(I changed the Input Statements for this example accordinlgy I hope. The actual data I'm working with is a SAS dataset)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#b00000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines truncover;
input @1 dept $1-13 Variable1  4.;
datalines;
Maths 213
Astronomy 34
Maths 43
Physics 34
Public Health 54
Physics 324
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#b00000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I think I Need to change These two lines:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;call symputx('subj'|| left(put(i,2.)),deptdescription);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where deptdescription="&amp;amp;&amp;amp;subj&amp;amp;i";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;However, I&amp;nbsp; tried several changes such as:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;call symputx('subj'|| compress(dept),Variable1);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #333333; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;plus&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where variable1="&amp;amp;&amp;amp;subj&amp;amp;i";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;SPAN style="margin: 0px; color: #333333; font-family: 'Courier New'; font-size: 10pt;"&gt;But they didn’t work. Note that compress is not an elegant solution, but I needed a quick way to get rid of the space in the dataset Name.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jul 2019 10:49:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575194#M75442</guid>
      <dc:creator>Sledgehamma</dc:creator>
      <dc:date>2019-07-21T10:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting dataset into multiple datasets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575257#M75444</link>
      <description>&lt;P&gt;I too hope that the actual data you work with is a SAS data set.&amp;nbsp; &amp;nbsp;The INPUT statements you are creating are not going to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a handful of changes to make.&amp;nbsp; One approach would be to use an additional macro variable.&amp;nbsp; You now have (and should keep):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;call symputx('subj'|| left(put(i,2.)),deptdescription);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Add another macro variable at that point in the program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;call symputx('dsname'|| left(put(i,2.)),compress(deptdescription));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then change the macro loop so it refers to both variables:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro test;
%do i=1 %to &amp;amp;total;
data &amp;amp;&amp;amp;dsname&amp;amp;i;
set have;
where deptdescription="&amp;amp;&amp;amp;subj&amp;amp;i";
run;
%end;
%mend test;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Let me know if you run into any difficulties with that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a general rule, it's a good idea to avoid macro language when you are just starting to learn SAS.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 03:22:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575257#M75444</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-07-22T03:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting dataset into multiple datasets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575265#M75445</link>
      <description>&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Thank you very much! &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I changed the code accordingly but I’m getting the following errors:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; margin: 0px; color: teal; font-family: 'Courier New';"&gt;&lt;FONT size="3"&gt;WARNING: Apparent symbolic reference TOTAL not resolved.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; margin: 0px; color: red; font-family: 'Courier New';"&gt;&lt;FONT size="3"&gt;ERROR: A character operand was found in the %EVAL function or %IF condition where a numeric operand is required. The condition was: &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; margin: 0px; color: red; font-family: 'Courier New';"&gt;&lt;FONT size="3"&gt;&lt;SPAN style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;amp;total &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; margin: 0px; color: red; font-family: 'Courier New';"&gt;&lt;FONT size="3"&gt;ERROR: The %TO value of the %DO I loop is invalid.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; margin: 0px; color: red; font-family: 'Courier New';"&gt;&lt;FONT size="3"&gt;ERROR: The macro TEST will stop executing.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 05:42:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575265#M75445</guid>
      <dc:creator>Sledgehamma</dc:creator>
      <dc:date>2019-07-22T05:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting dataset into multiple datasets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575305#M75446</link>
      <description>Apparently you are not creating &amp;amp;TOTAL.  Show the final DATA step (before running the %DO loop).</description>
      <pubDate>Mon, 22 Jul 2019 09:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575305#M75446</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-07-22T09:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting dataset into multiple datasets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575644#M75464</link>
      <description>&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I was just about to copy the data step when I noticed that I hadn’t changed two variables….they were still called „deptdescription“ from the early example. No wonder why it didn’t work. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;The error wasn’t in the program but in front of the computer. Thanks again for your help, its much appreciated!&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 05:31:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Splitting-dataset-into-multiple-datasets/m-p/575644#M75464</guid>
      <dc:creator>Sledgehamma</dc:creator>
      <dc:date>2019-07-23T05:31:55Z</dc:date>
    </item>
  </channel>
</rss>

