<?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>art297 Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>art297 Tracker</description>
    <pubDate>Thu, 07 May 2026 12:30:35 GMT</pubDate>
    <dc:date>2026-05-07T12:30:35Z</dc:date>
    <item>
      <title>Re: Dummy SAS project for learning.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dummy-SAS-project-for-learning/m-p/951971#M372101</link>
      <description>&lt;P&gt;I noticed that the link to the presentation was broken. Thanks to Chris Hemedinger I was able to find the original pdf on the Wayback Machine. Here is the link it provided:&amp;nbsp;&lt;A title="Expert_Panel_Tabachneck_MWSUG_2013Powerpoint.pdf" href="https://web.archive.org/web/20160923165822/http://www.sascommunity.org/wiki/Expert_Panel_Solution_MWSUG_2013-Tabachneck" target="_self"&gt;Link to my MWSUG 2013 expert panel solution presentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 18:24:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dummy-SAS-project-for-learning/m-p/951971#M372101</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2024-11-26T18:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to "Split Data" (By Group Processing)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-quot-Split-Data-quot-By-Group-Processing/m-p/926471#M46083</link>
      <description>KSharp, Long time no see or hear. I also have not seen or been in contact with Peter for some years now. If you want, you could always try to reach him via his LinkedIn page, namely:&lt;A href="https://www.linkedin.com/in/petereberhardt/?originalSubdomain=ca" target="_blank"&gt;https://www.linkedin.com/in/petereberhardt/?originalSubdomain=ca&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Apr 2024 14:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-quot-Split-Data-quot-By-Group-Processing/m-p/926471#M46083</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2024-04-30T14:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to "Split Data" (By Group Processing)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-quot-Split-Data-quot-By-Group-Processing/m-p/926283#M46070</link>
      <description>&lt;P&gt;Paul, Nice to hear from you but, while my name is attached to it, I don't think I wrote the post to which you were replying. I never got into incorporating hash into my code like you, Don, Richard and Kilovolt did. However, as I mentioned in response to another post in this thread, I haven't used SAS in years and am simply enjoying retirement. On a different note, I think that Montreal was the first global forum I ever attended. You bring back a bunch of memories.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 12:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-quot-Split-Data-quot-By-Group-Processing/m-p/926283#M46070</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2024-04-29T12:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to "Split Data" (By Group Processing)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-quot-Split-Data-quot-By-Group-Processing/m-p/926277#M46069</link>
      <description>&lt;P&gt;Sorry, I haven't used SAS in years and I no longer own the domain (or company) AnalystFinder.com. In fact, I don't even recall participating in the post that you're asking about. It looks like someone else used my logon to participate. However, at my age, memory is no longer as good as it used to be, so I may have participated and simply forgotten.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 11:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-quot-Split-Data-quot-By-Group-Processing/m-p/926277#M46069</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2024-04-29T11:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting from SAS to Excel Worksheet without overwriting formatting and tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-to-Excel-Worksheet-without-overwriting/m-p/690065#M209859</link>
      <description>&lt;P&gt;I don't think the macro will work with Enterprise Guide. If you have access to a copy of SAS, on either a Windows-based machine or Windows-based server, the macro would do what you want. It's intended to submit code, like your proc export code, but that uses vb script to (1) copy and paste your data to a range that you specify (i.e., not a predefined range); (2) not alter existing formats; and/or (3) use an existing workbook or template as a template to paste data into a range.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, it can be run as a totally hands-off approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-to-Excel-Worksheet-without-overwriting/m-p/690065#M209859</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-10-08T15:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting from SAS to Excel Worksheet without overwriting formatting and tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-to-Excel-Worksheet-without-overwriting/m-p/690041#M209845</link>
      <description>&lt;P&gt;If you're on Windows then the following macro might be what you need:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/FriedEgg/Papers/tree/master/Excelling_to_Another_Level_with_SAS/doc" target="_blank"&gt;https://github.com/FriedEgg/Papers/tree/master/Excelling_to_Another_Level_with_SAS/doc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;Art&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:14:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-to-Excel-Worksheet-without-overwriting/m-p/690041#M209845</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-10-08T15:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using FOR LOOPS to query a dataset multiple times by date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-FOR-LOOPS-to-query-a-dataset-multiple-times-by-date/m-p/689039#M209434</link>
      <description>&lt;P&gt;If you're going to do what you asked, take a look at the hash method as shown in the following presentation:&amp;nbsp;&lt;A href="https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/TASS/Tabachneck-SASTips-2011.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/TASS/Tabachneck-SASTips-2011.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;Art&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 23:25:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-FOR-LOOPS-to-query-a-dataset-multiple-times-by-date/m-p/689039#M209434</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-10-05T23:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Transposing blocks of observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transposing-blocks-of-observations/m-p/688611#M209219</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12283"&gt;@MiraKr_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could do this using proc transpose, but I find the transpose macro makes it easier when you are transposing more than one variable.&lt;/P&gt;
&lt;P&gt;The following code will accomplish what you want:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data need;
  set have;
  if variable='INTERCEPT' then order=1;
  else if variable eq 'PRIOR_CSA' then order=2;
  else if variable eq 'MALE' then order=3;
  else if variable eq 'EASI0141' then order=4;
  else if variable eq 'AAGE' then order=5;
  else if variable eq 'EASI0142' then order=6;
run;

proc sort data=need;
  by order step;
run;

filename tr url 'https://raw.githubusercontent.com/art297/transpose/master/transpose.sas';
%include tr ;

%transpose(data=need, out=want, by=variable, id=step,
  delimiter=_, var=Estimate Odd_Ratio)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;Art&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 19:33:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transposing-blocks-of-observations/m-p/688611#M209219</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-10-02T19:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686788#M208450</link>
      <description>&lt;P&gt;I was apparently wrong about that dbms=xlsx can use a range option. I was also wrong about the semi-colon, as I was actually thinking exclamation point, but that wouldn't have helped. Other than getting the macro to work, or DDE or writing your own vb code, I can only think that you might be able to use ODS and proc report. However, I can't be of much/any help there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 17:21:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686788#M208450</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-25T17:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686758#M208446</link>
      <description>&lt;P&gt;Try with the same code, but&lt;/P&gt;
&lt;P&gt;1) remove the sheet option and&lt;/P&gt;
&lt;P&gt;2) add a semicolon, after the sheet name, in the range option&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 16:35:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686758#M208446</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-25T16:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686739#M208442</link>
      <description>&lt;P&gt;You can use range= with proc export if you use dbms=xlsx. However, as I recall, that will allow you to write to a range but not an existing range. I.e., you can't modify an existing worksheet that way.&lt;/P&gt;
&lt;P&gt;I did notice a possible difference between your running proc export and running the macro. With proc export you enclosed the outfile with double quotes. You don't appear to have done that with the macro. Definitely worth a try .. i.e., enclosing the name supplied to the outfile parameter with double quotes.&lt;/P&gt;
&lt;P&gt;You could always try a dde approach but that, of course, comes with all of the problems that has caused everyone to stop using dde.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 15:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686739#M208442</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-25T15:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686669#M208415</link>
      <description>&lt;P&gt;A first step would be to find out where you can actually create a file. Can you use proc export to create an Excel file of sashelp.class? If so, what specifically did you use as the path and name of the file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 12:17:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686669#M208415</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-25T12:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686452#M208309</link>
      <description>&lt;P&gt;I suggest you check with your IT department. They can configure your environment so that the server will recognize c: (or some other drive) that exists on your computer and which you can write to.&lt;/P&gt;
&lt;P&gt;Once that is done, you should be able to use the macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 17:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686452#M208309</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-24T17:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686437#M208301</link>
      <description>&lt;P&gt;In your call to the macro you are setting the outfile to be:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;c:\temp\class.xlsx&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does your server know what c:\temp is? I don't think so because it is trying to write to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;"',"\\laxxxx.com\LMPAPROD\USINE_PRIIPS\5. RETRAITEMENTS MANUELS\Chaine&lt;/P&gt;
&lt;P&gt;Profils\4. Analyse\Marie_TEST\class1.xlsx",'"&lt;/P&gt;
&lt;P&gt;As an outfile the macro needs to be supplied with a file that it can create.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 17:17:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686437#M208301</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-24T17:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686374#M208261</link>
      <description>&lt;P&gt;In order to know what is happening, I'd need to know what is written to your log. Do you know why you're not getting anything written to your log?&lt;/P&gt;
&lt;P&gt;Out of curiosity, what version of SAS are you running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 13:49:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686374#M208261</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-24T13:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686359#M208249</link>
      <description>&lt;P&gt;Out of curiosity, have you downloaded and compiled the macro before trying to use it?&lt;/P&gt;
&lt;P&gt;Does your log provide any feedback?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 13:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686359#M208249</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-24T13:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686140#M208155</link>
      <description>&lt;P&gt;Try running the macro but including the following parameter and value:&lt;/P&gt;
&lt;P&gt;usenotepad=Y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Often, if running on a server, the server doesn't have direct access to your system's clipbrd. As such, the above mentioned parameter will use the server's copy of Notepad to mimic a copy/paste operation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me/us know if that worked.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 17:19:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686140#M208155</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-23T17:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686131#M208151</link>
      <description>&lt;P&gt;What operating system is the server running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 16:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686131#M208151</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-23T16:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help using SASHELP.ZIPCODE</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Help-using-SASHELP-ZIPCODE/m-p/685846#M24335</link>
      <description>&lt;P&gt;I'm not sure how the zipcode file is actually sorted, so I added a recnum to each record and used it to eliminate all but the last record for a given country within a state.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the following will only work as intended if your state and country abbreviations/names are the same as those in the sashelp.zipcode file. That won't be the case for Rifle, CO as there is no such country in the&amp;nbsp;sashelp.zipcode file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  informat County $32. State $2.;
  input ID  County State;
  cards;
1  Denver     CO 
2  Jefferson  CO
3  Rifle      CO
;
run;

data county_zipcode;
  set sashelp.zipcode (keep=zip statecode countynm
                       rename=(statecode=state
                               countynm=county
                               zip=zip_code));
  recnum=_n_;
run;
  
proc sort data=county_zipcode;
  by state county descending recnum;
run;

proc sort data=county_zipcode nodupkey;
  by state county;
run;

data want;
  merge have(in=ina) county_zipcode (drop=recnum);
  by state county;
  if ina;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Art&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;</description>
      <pubDate>Tue, 22 Sep 2020 19:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Help-using-SASHELP-ZIPCODE/m-p/685846#M24335</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-22T19:37:37Z</dc:date>
    </item>
    <item>
      <title>A better way to FLIP (i.e, transpose/make wide) a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Communities-Library/A-better-way-to-FLIP-i-e-transpose-make-wide-a-dataset/ta-p/433620</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This article is a little late as it re-presents a paper that was published, in 2013, by&amp;nbsp;&lt;/SPAN&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;&lt;SPAN&gt;, Joe Whitehurst and me. However, the macro presented was just updated yesterday, and the code can no longer be updated on sasCommunity.org.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 18:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Communities-Library/A-better-way-to-FLIP-i-e-transpose-make-wide-a-dataset/ta-p/433620</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-18T18:39:27Z</dc:date>
    </item>
  </channel>
</rss>

