<?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: Use macro to determine variable format type in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901304#M356196</link>
    <description>&lt;P&gt;You might also like the TYPEF variable created by this &lt;A href="https://github.com/sasutils/macros/blob/master/contents.sas" target="_self"&gt;%CONTENTS() macro&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%contents(sashelp.stocks,out=contents);
proc print;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Results&lt;/P&gt;
&lt;PRE&gt;Obs libname memname varnum name     length typen type typef format    informat formatn formatl formatd informn informl informd

 1  SASHELP STOCKS     1   Stock       9     2   char char                                 0      0                0      0
 2  SASHELP STOCKS     2   Date        8     1   num  date  DATE.     DATE.    DATE        0      0     DATE       0      0
 3  SASHELP STOCKS     3   Open        8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0
 4  SASHELP STOCKS     4   High        8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0
 5  SASHELP STOCKS     5   Low         8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0
 6  SASHELP STOCKS     6   Close       8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0
 7  SASHELP STOCKS     7   Volume      8     1   num  num   COMMA12.  BEST32.  COMMA      12      0     BEST      32      0
 8  SASHELP STOCKS     8   AdjClose    8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0

Obs     label      nvar nobs              crdate              modate typemem memtype                   memlabel

 1                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 2                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 3                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 4                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 5                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 6                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 7                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 8  Adjusted Close   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 21:20:40 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2023-11-02T21:20:40Z</dc:date>
    <item>
      <title>Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901293#M356186</link>
      <description>&lt;P&gt;This quick macro displays the format type for a variable.&amp;nbsp; &amp;nbsp;Is there a macro function that will do the same without having to create a null dataset, limit the input file to the first observation and use symput?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;29 /*Determine the type of format of a variable in a dataset*/&lt;BR /&gt;30 %macro det_format(memname,var_name);&lt;BR /&gt;31 data _null_;&lt;BR /&gt;32 set &amp;amp;memname(obs=1);&lt;BR /&gt;33 call symput('formval',fmtinfo(vformatn(&amp;amp;var_name),'cat'));&lt;BR /&gt;34 run;&lt;BR /&gt;35&lt;BR /&gt;36 %put &amp;amp;formval;&lt;BR /&gt;37 %mend;&lt;BR /&gt;38 %det_format(dat.AP_455021_9_5,enroll_dt)&lt;BR /&gt;MPRINT(DET_FORMAT): data _null_;&lt;BR /&gt;MPRINT(DET_FORMAT): set dat.AP_455021_9_5(obs=1);&lt;BR /&gt;MPRINT(DET_FORMAT): call symput('formval',fmtinfo(vformatn(enroll_dt),'cat'));&lt;BR /&gt;MPRINT(DET_FORMAT): run;&lt;/P&gt;&lt;P&gt;NOTE: There were 1 observations read from the data set DAT.AP_455021_9_5.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.09 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;date&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 19:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901293#M356186</guid>
      <dc:creator>Batman</dc:creator>
      <dc:date>2023-11-02T19:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901294#M356187</link>
      <description>&lt;P&gt;Is there a reason you can't use dictionary.columns?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select
	name
	, type
from
	dictionary.columns
where
	libname = "SASHELP"
	and memname = "CARS";
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or even PROC CONTENTS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the purpose of the macro variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to, you can still place it in a macro variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select
	type
from
	dictionary.columns
where
	libname = "SASHELP"
	and memname = "CARS"
	and name = "MSRP";
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Nov 2023 20:03:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901294#M356187</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2023-11-02T20:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901295#M356188</link>
      <description>Dictionary.columns will give me the format itself, i.e. yymmdd10. but it won't give me the type (num, char, date, etc).&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Nov 2023 20:17:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901295#M356188</guid>
      <dc:creator>Batman</dc:creator>
      <dc:date>2023-11-02T20:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901296#M356189</link>
      <description>&lt;P&gt;Sorry, it will give the type as "num" or "char" but not "date"&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 20:19:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901296#M356189</guid>
      <dc:creator>Batman</dc:creator>
      <dc:date>2023-11-02T20:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901297#M356190</link>
      <description>&lt;P&gt;My apologies - sometimes I read too quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
x = TODAY();
format x yymmddn8.;
run;

proc sql;
select
	format
from
	dictionary.columns
where
	libname = "WORK"
	and memname = "WANT";
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Nov 2023 20:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901297#M356190</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2023-11-02T20:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901298#M356191</link>
      <description>&lt;P&gt;The is no variable type "date" in SAS. The only variable types in SAS are number or text (character).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A variable can be treated as a date if the human programmer uses DATE functions, formats and informats on the variable. SAS thinks it is simply a number.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 20:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901298#M356191</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-11-02T20:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901301#M356194</link>
      <description>&lt;P&gt;Actually, the&amp;nbsp;&lt;SPAN&gt;fmtinfo does give the format type (see my example in the first post on this topic).&amp;nbsp; &amp;nbsp; I'm just looking for a way to generate the result without having to run a data step.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 21:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901301#M356194</guid>
      <dc:creator>Batman</dc:creator>
      <dc:date>2023-11-02T21:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901303#M356195</link>
      <description>&lt;P&gt;So you don't want the variable TYPE or the FORMAT attached to the variable.&lt;/P&gt;
&lt;P&gt;Instead you want what FMTINFO() calls the CAT or category of the format that is attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the VARFMT() function to get the FORMAT specification that is attached.&lt;/P&gt;
&lt;P&gt;You can use a little trickery to convert that into the NAME of the format.&lt;/P&gt;
&lt;P&gt;You also will probably want to know the TYPE of the variable in case the variable does not have any format specification attached to it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Everything you need to do this can be retrieved by the &lt;A href="https://github.com/sasutils/macros/blob/master/varexist.sas" target="_self"&gt;VAREXIST() macro&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's use SASHELP.STOCKS as our test dataset since it has some different types of variables and different types (categories) or formats attached.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tom_0-1698959284766.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/89352i029EBD0F02A940D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Tom_0-1698959284766.png" alt="Tom_0-1698959284766.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So here is a macro that uses %VAREXIST().&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro fmtcat(ds,var);
%local format ;
%let format=%varexist(&amp;amp;ds,&amp;amp;var,fmt);
%if %length(&amp;amp;format) %then 
  %let format=%sysfunc(substrn(&amp;amp;format,1,%sysfunc(findc(&amp;amp;format,.,-49,sdk))))
;
%if %length(&amp;amp;format) %then %sysfunc(fmtinfo(&amp;amp;format,cat));
%else %if %varexist(&amp;amp;ds,&amp;amp;var,type)=C %then char;
%else num;
%mend fmtcat;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So let's test it:&lt;/P&gt;
&lt;PRE&gt;1    %put %fmtcat(sashelp.stocks,stock);
char
2    %put %fmtcat(sashelp.stocks,date);
date
3    %put %fmtcat(sashelp.stocks,open);
curr
4    %put %fmtcat(sashelp.stocks,volume);
num
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 21:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901303#M356195</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-11-02T21:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901304#M356196</link>
      <description>&lt;P&gt;You might also like the TYPEF variable created by this &lt;A href="https://github.com/sasutils/macros/blob/master/contents.sas" target="_self"&gt;%CONTENTS() macro&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%contents(sashelp.stocks,out=contents);
proc print;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Results&lt;/P&gt;
&lt;PRE&gt;Obs libname memname varnum name     length typen type typef format    informat formatn formatl formatd informn informl informd

 1  SASHELP STOCKS     1   Stock       9     2   char char                                 0      0                0      0
 2  SASHELP STOCKS     2   Date        8     1   num  date  DATE.     DATE.    DATE        0      0     DATE       0      0
 3  SASHELP STOCKS     3   Open        8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0
 4  SASHELP STOCKS     4   High        8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0
 5  SASHELP STOCKS     5   Low         8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0
 6  SASHELP STOCKS     6   Close       8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0
 7  SASHELP STOCKS     7   Volume      8     1   num  num   COMMA12.  BEST32.  COMMA      12      0     BEST      32      0
 8  SASHELP STOCKS     8   AdjClose    8     1   num  curr  DOLLAR8.2 BEST32.  DOLLAR      8      2     BEST      32      0

Obs     label      nvar nobs              crdate              modate typemem memtype                   memlabel

 1                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 2                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 3                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 4                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 5                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 6                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 7                   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
 8  Adjusted Close   8   699  06SEP2017:23:02:27  06SEP2017:23:02:27          DATA   Performance of Three Stocks from 1996 to 2005
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 21:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901304#M356196</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-11-02T21:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901306#M356197</link>
      <description>&lt;P&gt;You can retrieve the format name from DICTIONARY.COLUMNS, and then use the FMTINFO function with %SYSFUNC.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 21:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901306#M356197</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-11-02T21:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901309#M356199</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;You can retrieve the format name from DICTIONARY.COLUMNS, and then use the FMTINFO function with %SYSFUNC.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;But DICTIONARY.COLUMNS does not have the format name.&amp;nbsp; It has the full format specification.&amp;nbsp; And FMTINFO() only works with the bare name.&amp;nbsp; See above for algorithm to extract the format name from a format specification.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 21:36:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901309#M356199</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-11-02T21:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901323#M356209</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data stocks;
 set sashelp.stocks ;
 format stock $40.;
run;

%let dsn= stocks ;
%let vname= stock ;




%let dsid=%sysfunc(open(&amp;amp;dsn.));
%let var_n=%sysfunc(varnum(&amp;amp;dsid.,&amp;amp;vname.));
%let var_fmt=%sysfunc(prxchange(s/[\.\d]+$//,1,%sysfunc(varfmt(&amp;amp;dsid.,&amp;amp;var_n.))));
%let fmt_type=%sysfunc(fmtinfo(&amp;amp;var_fmt.,cat));
%let dsid=%sysfunc(close(&amp;amp;dsid.));

%put &amp;amp;=var_n. &amp;amp;=var_fmt. &amp;amp;=fmt_type.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Nov 2023 02:54:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901323#M356209</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-11-03T02:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901325#M356211</link>
      <description>&lt;P&gt;Why did you attach the $ format to STOCK?&amp;nbsp; It is just a normal character variable it does not need to have a format attached.&lt;/P&gt;
&lt;P&gt;Why did you remove all of the digits from the format value?&amp;nbsp; That would convert something like S370FRB8. (which is a valid SAS supplied numeric format specification) to SFRB which is not a SAS supplied format name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 02:43:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901325#M356211</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-11-03T02:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901326#M356212</link>
      <description>&lt;P&gt;By default, there is no FORMAT attached with STOCK as showed in your picture. Otherwise,my code would get a NULL value .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. since OP only need the FORMAT , So no need to consider the variable on which there is no format.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 03:05:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901326#M356212</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-11-03T03:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to determine variable format type</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901327#M356213</link>
      <description>"Why did you remove all of the digits from the format value?  That would convert something like S370FRB8."&lt;BR /&gt;OK. You are right. I didn't consider it. The code has been updated .</description>
      <pubDate>Fri, 03 Nov 2023 02:55:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-macro-to-determine-variable-format-type/m-p/901327#M356213</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-11-03T02:55:29Z</dc:date>
    </item>
  </channel>
</rss>

