<?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: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641607#M191248</link>
    <description>&lt;P&gt;It's not 'subract\ but, rather, substring.&lt;/P&gt;
&lt;P&gt;You're currently using:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data Traffic_Ranks_Long;
   merge long_Ranks1 (rename=(Pop1=Pop)) long_Ranks2(rename=(Traffic_Count1=Traffic_Count))
		 long_Ranks3(rename=(Traffic_FR1=Traffic_FR));
   by Counties;
   Year=input(substr(_name_, 11), 4.);
   drop Pop1 Traffic_Count1 Traffic_FR1;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No need to drop Pop1 Count1 and Traffic_FR1, as they no longer exist since you renamed them in the merge statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My suggestion would be to (1)add a drop=_name_ option to two of your merge files (i.e.:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data Traffic_Ranks_Long;
   merge long_Ranks1 (drop=_name_ rename=(Pop1=Pop)) long_Ranks2(drop=_name_ rename=(Traffic_Count1=Traffic_Count))
		 long_Ranks3(rename=(Traffic_FR1=Traffic_FR));
   by Counties;
   Year=input(substr(_name_, 12), 4.);
   drop _name_;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That way you would always be taking the year from 'Traffic_FR_XXXX', beginning with the 12th character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2020 13:41:51 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2020-04-21T13:41:51Z</dc:date>
    <item>
      <title>Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641498#M191190</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all in advance for your help. I am working from SAS 9.4, and am having trouble transposing data. My dataset is currently in a "wide" format and I would like to make it a "long format". Below is an example of my imported data that I am trying to transpose.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Traffic_Fatal_Image.JPG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38507i30A5BDB2A7A63441/image-size/large?v=v2&amp;amp;px=999" role="button" title="Traffic_Fatal_Image.JPG" alt="Traffic_Fatal_Image.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have successfully transposed the data from wide to long using the code below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*Transpose Data from wide to long, Needed to sort first;
Proc sort data=Traffic_Ranks_2;
by Counties;
Run;
Proc Transpose data=Traffic_Ranks_2 out=long_Ranks1 prefix=Pop;
   by Counties;
   var Pop_2014-Pop_2018;
run;
Proc Transpose data=Traffic_Ranks_2 out=long_Ranks2 prefix=Traffic_Count;
   by Counties;
   var Traffic_Count_2014-Traffic_Count_2018;
run;
Proc Transpose data=Traffic_Ranks_2 out=long_Ranks3 prefix=Traffic_FR;
   by Counties;
   var Traffic_FR_2014-Traffic_FR_2018;
run;
proc print data=long_Ranks2 (obs=2);
run;

*Merge Transposed Datasets;
Data Traffic_Ranks_Long;
   merge long_Ranks1 (rename=(Pop1=Pop) drop=_name_) long_Ranks2(rename=(Traffic_Count1=Traffic_Count) drop=_name_)
		 long_Ranks3(rename=(Traffic_FR1=Traffic_FR) drop=_name_);
   by Counties;
   Year=input(substr(_name_, 15), 4.);
   drop _name_;
   drop Pop1 Traffic_Count1 Traffic_FR1;
run;

Proc Print data=Traffic_Ranks_Long (obs=1);
Run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The printed version came out as such:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Traffic_Fatal_Image2.JPG" style="width: 643px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38508i828EA7C608AA88EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Traffic_Fatal_Image2.JPG" alt="Traffic_Fatal_Image2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am needing help extracting the year correctly, after tranposing the data. I have researched substr syntax and found teh following: the&amp;nbsp;&lt;SPAN class="xisDoc-optional"&gt;&amp;lt;&lt;EM&gt;&lt;A title="“variable”" href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0n08xougp40i5n1xw7njpcy0a2b.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1gjyz9bdh4ngnn1qiz9boe2e48h"&gt;variable&lt;/A&gt;&lt;/EM&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="xisDoc-keyword"&gt;SUBSTR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;A title="“string”" href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0n08xougp40i5n1xw7njpcy0a2b.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1bi8qlngdao94n1djskytfkj8x2"&gt;string&lt;/A&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;A title="“position”" href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0n08xougp40i5n1xw7njpcy0a2b.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1kn5lh0ge20zun1cz45cj2663n0"&gt;position&lt;/A&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xisDoc-optional"&gt;&amp;lt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;A title="“length”" href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0n08xougp40i5n1xw7njpcy0a2b.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n00ca3ifw9gzexn1k4g0t5ge9f2i"&gt;length&lt;/A&gt;&lt;/EM&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;), however no numbers that I use are correctly extracting the year. I would like this output dataset to reflect as the above, but have the full year (4 digits).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you again for your help and I look forward to hearing from you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Briana Thrift&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 23:58:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641498#M191190</guid>
      <dc:creator>brianathrift</dc:creator>
      <dc:date>2020-04-20T23:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641501#M191191</link>
      <description>&lt;P&gt;Show us a few typical values of variable _NAME_ from the last data set.&lt;/P&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Apr 2020 00:19:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641501#M191191</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-21T00:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641505#M191192</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output of _name_ for the first transposed dataset:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Name_1.JPG" style="width: 657px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38510i7EAB5D059880A3DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Name_1.JPG" alt="Name_1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output of _name_ for the second transposed dataset:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="name_2.JPG" style="width: 588px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38511i4DA678516744546F/image-size/large?v=v2&amp;amp;px=999" role="button" title="name_2.JPG" alt="name_2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And finally, the output of _name_ for the last transposed dataset:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="name_3.JPG" style="width: 478px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38512iA634E9B7626AEBD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="name_3.JPG" alt="name_3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the merged dataset of all three separate transposed datasets, I dropped the _name_ variable and renamed for each variable to have their own column (Pop, Traffic_Count, Traffic_FR).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 00:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641505#M191192</guid>
      <dc:creator>brianathrift</dc:creator>
      <dc:date>2020-04-21T00:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641506#M191193</link>
      <description>&lt;P&gt;If you are dropping _NAME_ in the MERGE statement, you have nothing for SUBSTR to work with. So you always get missing as the result. &lt;/P&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Apr 2020 00:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641506#M191193</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-21T00:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641512#M191195</link>
      <description>&lt;P&gt;Here is a method that accomplishes the whole task without requiring any sort or multiple steps:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename ut url 'http://tiny.cc/untranspose_macro';
%include ut ;
%untranspose(data=Traffic_Ranks_2, out=want, by=County,
  id=year, var=Pop Traffic_Count Traffic_FR, delimiter=_)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Conversely, yes, given your current method you can easily extract year, using the substr function, as long as you keep the _name_ variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 02:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641512#M191195</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-04-21T02:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641596#M191243</link>
      <description>&lt;P&gt;Thank you for all your response. &lt;STRONG&gt;My issue is knowing what numbers to use in the "subtract" syntax to correctly extract the year variables.&lt;/STRONG&gt; The current code I have, after dropping _name_, is the following:&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;*Merge Transposed Datasets;
Data Traffic_Ranks_Long;
   merge long_Ranks1 (rename=(Pop1=Pop)) long_Ranks2(rename=(Traffic_Count1=Traffic_Count))
		 long_Ranks3(rename=(Traffic_FR1=Traffic_FR));
   by Counties;
   Year=input(substr(_name_, 11), 4.);
   drop Pop1 Traffic_Count1 Traffic_FR1;
run;

Proc Print data=Traffic_Ranks_Long (obs=5);
Run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My output is still missing year, as the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic3.JPG" style="width: 623px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38530i45BF457F16B523B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic3.JPG" alt="pic3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think my main issue in the "subtract" syntax is the number "11 and 4". I know 4 is correct, because I was the year to be formatted to 4 digits (i.e.: year 2020, instead of year 20). &lt;STRONG&gt;However, I am having a hard time figuring out what the first number should be.&lt;/STRONG&gt; I thought the first number represented how many characters/numbers to subtract from an original variable name to yield the variable name of interest. For example, subtract 5 numbers from "Pop_2018" (subtracting letters P,O,P,_) to start on "2" of "2018" and yield 2018 as my final variable name. However, no number seems to yield the year variable correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this explanation makes sense. Please let me know if you have any questions, and I look forward to your answer. Prefer non-macro answers please, as I do not understand SAS macro coding yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 12:51:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641596#M191243</guid>
      <dc:creator>brianathrift</dc:creator>
      <dc:date>2020-04-21T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641607#M191248</link>
      <description>&lt;P&gt;It's not 'subract\ but, rather, substring.&lt;/P&gt;
&lt;P&gt;You're currently using:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data Traffic_Ranks_Long;
   merge long_Ranks1 (rename=(Pop1=Pop)) long_Ranks2(rename=(Traffic_Count1=Traffic_Count))
		 long_Ranks3(rename=(Traffic_FR1=Traffic_FR));
   by Counties;
   Year=input(substr(_name_, 11), 4.);
   drop Pop1 Traffic_Count1 Traffic_FR1;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No need to drop Pop1 Count1 and Traffic_FR1, as they no longer exist since you renamed them in the merge statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My suggestion would be to (1)add a drop=_name_ option to two of your merge files (i.e.:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data Traffic_Ranks_Long;
   merge long_Ranks1 (drop=_name_ rename=(Pop1=Pop)) long_Ranks2(drop=_name_ rename=(Traffic_Count1=Traffic_Count))
		 long_Ranks3(rename=(Traffic_FR1=Traffic_FR));
   by Counties;
   Year=input(substr(_name_, 12), 4.);
   drop _name_;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That way you would always be taking the year from 'Traffic_FR_XXXX', beginning with the 12th character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 13:41:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641607#M191248</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-04-21T13:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641618#M191258</link>
      <description>&lt;P&gt;Thank you so much! That worked perfectly. My last question is,&lt;SPAN&gt;&amp;nbsp;how do I know which variable to refer to for the substring syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance, do I use the following syntax &lt;SPAN&gt;to take year from 'Traffic_FR_XXXX', beginning with the 12th character?&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   Year=input(substr(_name_, 12), 4.);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Or if I should use the following syntax to take year from 'Traffic_Count_XXXX', beginning with the 15th character?:&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;   Year=input(substr(_name_, 15), 4.);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Or if I should use the following syntax&amp;nbsp;take year from 'Pop_XXXX', beginning with the 5th character?&amp;nbsp;:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   Year=input(substr(_name_, 5), 4.);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you again for your help!&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Briana Thrift&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 13:55:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641618#M191258</guid>
      <dc:creator>brianathrift</dc:creator>
      <dc:date>2020-04-21T13:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641623#M191262</link>
      <description>&lt;P&gt;You are merging three files that each have an _name_ variable. However, as suggested, dropping the _name_ variable from two of the three files results in your only having one name variable (namely the one that wasn't dropped). Given the code you posted, the third file will always have an _name_ equal to Traffic_FR_XXXX, where XXXX represents the year).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 14:07:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641623#M191262</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-04-21T14:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose Data and Extract Year Using Subtract Syntax, SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641702#M191308</link>
      <description>Thank you! I really appreciate your help!</description>
      <pubDate>Tue, 21 Apr 2020 18:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-Data-and-Extract-Year-Using-Subtract-Syntax-SAS-9-4/m-p/641702#M191308</guid>
      <dc:creator>brianathrift</dc:creator>
      <dc:date>2020-04-21T18:06:23Z</dc:date>
    </item>
  </channel>
</rss>

