<?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: Create Macro that runs freq if character, means if numeric in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573668#M161998</link>
    <description>&lt;P&gt;The general idea I've tried is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc contents data =&amp;nbsp;original output out = new; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro Freq_means (var = BMI);&lt;/P&gt;&lt;P&gt;data new;&lt;/P&gt;&lt;P&gt;set new;&lt;/P&gt;&lt;P&gt;if Name = "&amp;amp;Var" and Type = 1 then do;&lt;/P&gt;&lt;P&gt;proc means data = original;&lt;/P&gt;&lt;P&gt;var &amp;amp;var;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Name = "&amp;amp;Var" and Type = 2 then do;&lt;/P&gt;&lt;P&gt;proc freq data = original;&lt;/P&gt;&lt;P&gt;tables &amp;amp;var;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%Freq_means ();&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2019 19:40:11 GMT</pubDate>
    <dc:creator>Ian_Tfirn</dc:creator>
    <dc:date>2019-07-15T19:40:11Z</dc:date>
    <item>
      <title>Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573664#M161995</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the subject says, I'd like to create a macro that does the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;Identifies a specific variable&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. determines if that variable is character or numeric&lt;/P&gt;&lt;P&gt;3. If it's character, runs proc freq. If it's numeric, runs proc means&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been attempting various macros that do this but none of have been remotely successful. Any ideas are greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:32:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573664#M161995</guid>
      <dc:creator>Ian_Tfirn</dc:creator>
      <dc:date>2019-07-15T19:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573665#M161996</link>
      <description>&lt;P&gt;Post what you've tried so far please.&lt;BR /&gt;&lt;BR /&gt;This macro does some of that, except you need to specify what is continuous and what is categorical and binary. The reason I designed it this way is that a numeric variable could still be categorical so using user defined rules seems easier.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://gist.github.com/statgeek/2f27939fd72d1dd7d8c8669cd39d7e67" target="_blank" rel="noopener"&gt;https://gist.github.com/statgeek/2f27939fd72d1dd7d8c8669cd39d7e67&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/269856"&gt;@Ian_Tfirn&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the subject says, I'd like to create a macro that does the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;Identifies a specific variable&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. determines if that variable is character or numeric&lt;/P&gt;
&lt;P&gt;3. If it's character, runs proc freq. If it's numeric, runs proc means&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've been attempting various macros that do this but none of have been remotely successful. Any ideas are greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573665#M161996</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-15T19:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573667#M161997</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro analyze(dataset);



proc means data=&amp;amp;dataset;

var _numeric_;

run;



proc freq data=&amp;amp;dataset;

table _character_;

run;



%mend;



%analyze(sashelp.class);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And that would be a very basic approach to this as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/statgeek/SAS-Tutorials/blob/master/Turning%20a%20program%20into%20a%20macro.md" target="_blank"&gt;https://github.com/statgeek/SAS-Tutorials/blob/master/Turning%20a%20program%20into%20a%20macro.md&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573667#M161997</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-15T19:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573668#M161998</link>
      <description>&lt;P&gt;The general idea I've tried is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc contents data =&amp;nbsp;original output out = new; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro Freq_means (var = BMI);&lt;/P&gt;&lt;P&gt;data new;&lt;/P&gt;&lt;P&gt;set new;&lt;/P&gt;&lt;P&gt;if Name = "&amp;amp;Var" and Type = 1 then do;&lt;/P&gt;&lt;P&gt;proc means data = original;&lt;/P&gt;&lt;P&gt;var &amp;amp;var;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Name = "&amp;amp;Var" and Type = 2 then do;&lt;/P&gt;&lt;P&gt;proc freq data = original;&lt;/P&gt;&lt;P&gt;tables &amp;amp;var;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%Freq_means ();&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:40:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573668#M161998</guid>
      <dc:creator>Ian_Tfirn</dc:creator>
      <dc:date>2019-07-15T19:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573669#M161999</link>
      <description>Ok, I've posted a working version of your attempt above, and a much cleaner one above that. I doubt it's super efficient but it's written and works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:45:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573669#M161999</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-15T19:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573670#M162000</link>
      <description>&lt;P&gt;Hey Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, your most recent suggestion will run proc means on all numeric variables and proc freq on all character variables. In datasets with hundreds of variables, that's a lot of results!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only want the macro to identify a single variable, determine if it is character or numeric, and then run the appropriate procedure.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573670#M162000</guid>
      <dc:creator>Ian_Tfirn</dc:creator>
      <dc:date>2019-07-15T19:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573675#M162003</link>
      <description>&lt;P&gt;1. SASHELP.VCOLUMN has all variable types, use PROC SQL to get variable types&lt;/P&gt;
&lt;P&gt;2. Write macro conditions to execute as necessary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are various ways to do #1, proc contents is another, using functions is another option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%macro analyze_custom(libname=, dset=, var=);

/***insert step 1****/
proc sql noprint;
select type into :vtype where libname = upcase("&amp;amp;libname") and memname = upcase("&amp;amp;dset") and upcase(name) = upcase("&amp;amp;var");
quit;

%if vtype = N %then %do;

/*Insert proc means*/

%end;

%else %do;

/*insert proc freq*/

%end;


%mend;

%analyze_custom(libname=sashelp, dset=class, var=sex);
%analyze_custom(libname=sashelp, dset=class, var=age);&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/269856"&gt;@Ian_Tfirn&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hey Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, your most recent suggestion will run proc means on all numeric variables and proc freq on all character variables. In datasets with hundreds of variables, that's a lot of results!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I only want the macro to identify a single variable, determine if it is character or numeric, and then run the appropriate procedure.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573675#M162003</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-15T19:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573681#M162005</link>
      <description>&lt;P&gt;I like to use sashelp.vcolumn! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro doAnalysis(libname,tablename,variable);
	%macro dummy(); %mend dummy; *Only here to fix syntax highligthing! ;
	proc sql noprint;
		select type into : type  
		from sashelp.vcolumn 
		where 	libname = upcase("&amp;amp;libname") and 
				memname = upcase("&amp;amp;tablename") and
				upcase(name) = upcase("&amp;amp;variable");
	quit;
	%let type =&amp;amp;type; *Get rid of extra spaces;

	%if "&amp;amp;type" = "char" %then %do;
		proc freq data=&amp;amp;libname..&amp;amp;tablename;
			table &amp;amp;variable;
		run;
	%end;
	%if "&amp;amp;type" = "num" %then %do;
		proc means data=&amp;amp;libname..&amp;amp;tablename;
			var &amp;amp;variable;
		run;
	%end;
%mend doAnalysis;

%doAnalysis(sashelp, class, sex);
%doAnalysis(sashelp, class, age);

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jul 2019 20:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573681#M162005</guid>
      <dc:creator>heffo</dc:creator>
      <dc:date>2019-07-15T20:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573685#M162006</link>
      <description />
      <pubDate>Mon, 15 Jul 2019 20:40:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573685#M162006</guid>
      <dc:creator>Ian_Tfirn</dc:creator>
      <dc:date>2019-07-15T20:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573689#M162008</link>
      <description>Post the full code you ran.</description>
      <pubDate>Mon, 15 Jul 2019 20:39:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573689#M162008</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-15T20:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573690#M162009</link>
      <description>&lt;P&gt;Works perfectly, thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 20:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573690#M162009</guid>
      <dc:creator>Ian_Tfirn</dc:creator>
      <dc:date>2019-07-15T20:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573691#M162010</link>
      <description>&lt;P&gt;&amp;nbsp;Hey Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, the macro in your most recent comment wasn't working for me while Heffo's did.&amp;nbsp;Since they&amp;nbsp;are nearly identical, I'm sure I was doing something wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, thanks for&amp;nbsp;your patience. I appreciate you sticking with me.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 20:44:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573691#M162010</guid>
      <dc:creator>Ian_Tfirn</dc:creator>
      <dc:date>2019-07-15T20:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573692#M162011</link>
      <description>I forgot type returns num/char not N/C but that's an easy fix if you compare the two.</description>
      <pubDate>Mon, 15 Jul 2019 20:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573692#M162011</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-15T20:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573694#M162013</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/261618"&gt;@heffo&lt;/a&gt;, use the TRIMMED option in PROC SQL to avoid the need to get rid of extra spaces issue. You should also remove the quotes from the text comparison.</description>
      <pubDate>Mon, 15 Jul 2019 20:48:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573694#M162013</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-15T20:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573696#M162014</link>
      <description>&lt;P&gt;Even when I change N to num, it still runs proc freq for my numeric var&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 20:55:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573696#M162014</guid>
      <dc:creator>Ian_Tfirn</dc:creator>
      <dc:date>2019-07-15T20:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573698#M162015</link>
      <description>add a &amp;amp; before vtype.</description>
      <pubDate>Mon, 15 Jul 2019 21:01:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573698#M162015</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-15T21:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573700#M162016</link>
      <description>&lt;P&gt;Works perfect now. Thanks for all your help!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 21:05:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573700#M162016</guid>
      <dc:creator>Ian_Tfirn</dc:creator>
      <dc:date>2019-07-15T21:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573708#M162019</link>
      <description>&lt;P&gt;I would also suggest using DICTIONARY.COLUMNS in stead of SASHELP.VCOLUMN in Proc SQL. I notice very different performance, seconds versus minutes, with the number of libraries, datasets and variables involved on my system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the OP says that his datasets have "hundreds of variables" this performance might be noticeable.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 22:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573708#M162019</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-15T22:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573711#M162021</link>
      <description>At one time or another I had some problems with missing values and quotes. So, I started to use the quotes to help this. I don't know if this is the best way to do it.&lt;BR /&gt;It might have been when having x ne &amp;amp;y or similar and not the = .&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jul 2019 22:40:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573711#M162021</guid>
      <dc:creator>heffo</dc:creator>
      <dc:date>2019-07-15T22:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macro that runs freq if character, means if numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573739#M162028</link>
      <description>The difference matters with the number of data sets and libraries, not columns. If that was the case I'd switch to use PROC CONTENTS or FUNCTIONS. The difference between dictionary and sashelp doesn't exist anymore the last time I tested it.</description>
      <pubDate>Tue, 16 Jul 2019 03:58:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Macro-that-runs-freq-if-character-means-if-numeric/m-p/573739#M162028</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-16T03:58:47Z</dc:date>
    </item>
  </channel>
</rss>

