<?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>ArtC Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>ArtC Tracker</description>
    <pubDate>Fri, 08 May 2026 10:31:29 GMT</pubDate>
    <dc:date>2026-05-08T10:31:29Z</dc:date>
    <item>
      <title>Re: How Far Are You Willing To Go To Get To SAS Global Forum 2018</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/How-Far-Are-You-Willing-To-Go-To-Get-To-SAS-Global-Forum-2018/m-p/452026#M272</link>
      <description>&lt;P&gt;At just over 2300 miles from Anchorage, those of us coming from AK will probably be the furthest within US travelers.&amp;nbsp; But that distance is nothing compared to those coming from down under.&amp;nbsp; In CA distance is measured in units of time.&amp;nbsp; It seems to me that same principle should apply when flying - hours in coach (half credit if flying business class).&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:07:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/How-Far-Are-You-Willing-To-Go-To-Get-To-SAS-Global-Forum-2018/m-p/452026#M272</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-04-06T18:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dress Code</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/Dress-Code/m-p/450788#M187</link>
      <description>&lt;P&gt;Most attendees wear business casual, although often presenters will step it up just a bit.&amp;nbsp; Remember that convention center presentation rooms tend to be on the COLD side.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 18:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/Dress-Code/m-p/450788#M187</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-04-03T18:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Merge cell vertically in proc report, with missing cells, keep the order of file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Merge-cell-vertically-in-proc-report-with-missing-cells-keep-the/m-p/441318#M20565</link>
      <description>&lt;P&gt;One way would be to change the value of the missings to different non printable characters.&amp;nbsp; This version of the CONTROL data set will insert nonprintable values into cells with missing values.&amp;nbsp; because they are different they will not group but will still be blank.&amp;nbsp; You would need to adjust the code if there are more than 30 or so missing values.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input variable $ @10 group $1. @13 num;
datalines;
name        1
drugA       2
drugB    D  3
d_drug01 B  4
d_drug02 B  5
d_drug03 B  6
d_drug04 B  7
d_drug05 B  8
d_drug06 B  9
d_drug07 B  10
DrugF    C  11
DrugX    F  12
Drugy       13
Drugz       14
Drugq       15
Drugr       16
run;
data control(keep=fmtname start label);
   retain fmtname 'numord';
   set have(rename=(num=start));
   if group=' ' then do;
      cnt+1;
      label=byte(4+put(cnt,3.));
   end;
   else label=group;
   run;

proc format cntlin=control;
   run;

proc report data=have spanrows;
   column num variable;
   define num / order f=numord1. order=internal
                style(column)={vjust=c just=c};
   define variable / display;
   run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The BYTE function creates a hex code.&amp;nbsp; Hex codes from 0 - 31 are not printable so will appear as blanks (some nonprintable characters actually print in some fonts).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This seems like a hack to me so i am hoping someone else will come up with something more robust.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 18:32:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Merge-cell-vertically-in-proc-report-with-missing-cells-keep-the/m-p/441318#M20565</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-03-01T18:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Merge cell vertically in proc report, with missing cells, keep the order of file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Merge-cell-vertically-in-proc-report-with-missing-cells-keep-the/m-p/440621#M20531</link>
      <description>&lt;P&gt;The SPANROWS option will get you closer, however the missing cells will also merge.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=have spanrows;
   column num variable;
   define num / group f=numord. style(column)={vjust=c just=c};
   define variable / display;
   run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Feb 2018 18:27:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Merge-cell-vertically-in-proc-report-with-missing-cells-keep-the/m-p/440621#M20531</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-02-27T18:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc REport</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-REport/m-p/440613#M110107</link>
      <description>&lt;P&gt;You may want to try using a multilabel format.&amp;nbsp; Note the (multilabel) option on the VALUE statement and the MLF option on the DEFINE statement.&amp;nbsp; Unless you are writing to the LISTING destination, you can also eliminate a number of REPORT options e.g. HEADLINE, HEADSKIP, SKIP, OL&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data TBl;
INPUT grade $ Model $ Obligo;
Cards;
a.0        a   10
a.0        b   20
b.1-6      a   30
c.7-10     a   40
d.11       a   50
d.11       b   60
e.12       a   70
e.12       b   80
;
Run;
proc format;
 value $grade (multilabel)
   'a.0'     = 'Primary'   
   'b.1-6'   = 'Primary'
   'c.7-10'  = 'Primary'
   'd.11'    = 'Primary'
   'a.0'     = 'Secondary'   
   'b.1-6'   = 'Secondary'
   'c.7-10'  = 'Secondary'
   'd.11'    = 'Secondary'
   'e.12'    = 'Secondary';
   run;


/*libname proclib 'SAS-library';*/
/*options nodate pageno=1 linesize=64 pagesize=60*/
/*fmtsearch=(proclib);*/
proc report data=TBl;
column grade=ggroup grade Model Obligo ;
define ggroup / group 'Grade Group' f=$grade. mlf;
define grade / group 'Grade';

define Model / group 'Model';
define Obligo / analysis sum
                format=comma10.
                'Ob';
/*total after each groupkCat*/
break after grade / 
/*   ol*/
   summarize
   suppress
/*skip*/
;
/*global total*/
/*rbreak after / summarize;*/
/*compute after;*/
/*type = 'Total';*/
/*endcomp;*/
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Feb 2018 18:06:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-REport/m-p/440613#M110107</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-02-27T18:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc REport</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-REport/m-p/440394#M109987</link>
      <description>Do you want e.12 to appear in the report?  I assume so otherwise you could eliminate it with a WHERE.</description>
      <pubDate>Tue, 27 Feb 2018 07:03:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-REport/m-p/440394#M109987</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-02-27T07:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Merge cell vertically in proc report, with missing cells, keep the order of file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Merge-cell-vertically-in-proc-report-with-missing-cells-keep-the/m-p/440393#M20526</link>
      <description>&lt;P&gt;I am not sure exactly what you mean by 'merged cells'.&amp;nbsp; That term has a specific meaning that to me is not implied by your question.,&amp;nbsp; So let me take a guess and see if it gets us closer.&amp;nbsp; Do you mean that you do not want the GROUP variable to not repeat?&amp;nbsp; If so then we can control order and the display of the GROUP variable through the use of a format.&amp;nbsp; The following creates a format that can then be used as a grouping variable without the complicating NUM variable on the COLUMN statement.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input variable $ @10 group $1. @13 num;
datalines;
name        1
drugA       2
drugB    D  3
d_drug01 B  4
d_drug02 B  5
d_drug03 B  6
d_drug04 B  7
d_drug05 B  8
d_drug06 B  9
d_drug07 B  10
DrugF    C  11
DrugX    F  12
run;
data control(keep=fmtname start label);
   retain fmtname 'numord';
   set have(rename=(num=start group=label));
   run;

proc format cntlin=control;
   run;
proc report data=have;
   column num variable;
   define num / group f=numord.;
   define variable / display;
   run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 06:57:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Merge-cell-vertically-in-proc-report-with-missing-cells-keep-the/m-p/440393#M20526</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-02-27T06:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Building Intelligent Macros: Driving a Variable Parameter System with Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Communities-Library/Building-Intelligent-Macros-Driving-a-Variable-Parameter-System/tac-p/440263#M2716</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt; for touching on the use of the %NRSTR quoting function with CALL EXECUTE - nice explanation.&amp;nbsp; I have found that whether to use the PUT / %INCLUDE&amp;nbsp; vs CALL EXECUTE to build the call to mostly be a personal preference.&amp;nbsp; Some find it easier and others find it more confusing.&amp;nbsp; I would recommend that the reader have a good understanding of both techniques and use the one that seems easiest for them.&amp;nbsp; This paper does not deal with the specifics of CALL EXECUTE and as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt; indicates there can be some 'subtle' gotchas with its use.&amp;nbsp; If his comment on %NRSTR was not just a reminder, you may want to read &lt;A href="http://www2.sas.com/proceedings/sugi22/CODERS/PAPER70.PDF" target="_self"&gt;http://www2.sas.com/proceedings/sugi22/CODERS/PAPER70.PDF&lt;/A&gt; .as a starter for CALL EXECUTE.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Communities-Library/Building-Intelligent-Macros-Driving-a-Variable-Parameter-System/tac-p/440263#M2716</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-02-26T17:23:26Z</dc:date>
    </item>
    <item>
      <title>Building Intelligent Macros: Driving a Variable Parameter System with Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Communities-Library/Building-Intelligent-Macros-Driving-a-Variable-Parameter-System/ta-p/439818</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;&lt;P style="margin: 0.4em 0px 0.5em; line-height: 1.5em; color: #000000; font-family: sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM&gt;Abstract and online materials for this paper prepared for WUSS 2017.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Abstract&lt;/P&gt;
&lt;P style="margin: 0.4em 0px 0.5em; line-height: 1.5em; color: #000000; font-family: sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;When faced with generating a series of reports, graphs, and charts; we will often use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;macro language&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to simplify the process. Commonly we will write a series of generalized macros, each with the capability of creating a variety of outputs that depend the macro parameter inputs. For large projects, potentially with hundreds of outputs, controlling the macro calls can itself become difficult.&lt;/P&gt;
&lt;P style="margin: 0.4em 0px 0.5em; line-height: 1.5em; color: #000000; font-family: sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;The use of control files (metadata) to organize and process when a single macro is to be executed multiple times was discussed by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="text-decoration: none; color: #0b0080; background: none;" title="Are You a Control Freak? Control Your Programs – Don’t Let Them Control You!" href="http://support.sas.com/resources/papers/proceedings15/2220-2015.pdf"&gt;Rosenbloom and Carpenter (2015)&lt;/A&gt;. But those techniques only partially help us when multiple macros each with its own set of parameters are to be called. This paper discusses a technique that allows you to control the order of macro calls along with each macro's parameter set using a metadata control file.&lt;/P&gt;
&lt;P style="margin: 0.4em 0px 0.5em; line-height: 1.5em; color: #000000; font-family: sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0.4em 0px 0.5em; line-height: 1.5em; color: #000000; font-family: sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Excerpt from an example in the paper" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18792i9BD0E00704FFCE9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="excerpt.png" alt="Excerpt from an example in the paper" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Excerpt from an example in the paper&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Online Materials&lt;/P&gt;
&lt;P style="margin: 0.4em 0px 0.5em; line-height: 1.5em; color: #000000; font-family: sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;View the &lt;A href="http://www.lexjansen.com/wuss/2017/16_Final_Paper_PDF.pdf" target="_self"&gt;PDF version of the complete paper here&lt;/A&gt;.&lt;/P&gt;
&lt;P style="margin: 0.4em 0px 0.5em; line-height: 1.5em; color: #000000; font-family: sans-serif; font-size: 12.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Sample code and control files are attached as a ZIP file&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Feb 2018 19:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Communities-Library/Building-Intelligent-Macros-Driving-a-Variable-Parameter-System/ta-p/439818</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-02-23T19:54:28Z</dc:date>
    </item>
    <item>
      <title>A SAS Macro Language Preview in Three Parts</title>
      <link>https://communities.sas.com/t5/SAS-Communities-Library/A-SAS-Macro-Language-Preview-in-Three-Parts/ta-p/439764</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Using the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;macro language&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;adds a layer of complexity to SAS programming that many programmers are reluctant to tackle. The macro language is not intuitive, and some of its syntax and logic runs counter to similar operations in the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DATA step. This makes the transfer of DATA step and PROC step knowledge difficult when first learning the macro language. So why should one make the effort to learn a complex counterintuitive language?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 17:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Communities-Library/A-SAS-Macro-Language-Preview-in-Three-Parts/ta-p/439764</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-02-23T17:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: question about array coding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/question-about-array-coding/m-p/430670#M106464</link>
      <description>&lt;P&gt;As you finalize your code, be sure to make the name of the array consistent.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 20:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/question-about-array-coding/m-p/430670#M106464</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-01-24T20:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with Proc format application.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-with-Proc-format-application/m-p/428139#M105675</link>
      <description>&lt;P&gt;Although not immediately obvious (and a continuing source of confusion) there is a difference between INFORMATs (used by the INPUT statement and the INPUT function) and FORMATs (used by the PUT statement and the PUT function).&amp;nbsp; The INVALUE statement in PROC FORMAT creates INFORMATs and you will notice from the previous post by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt; that the type of the INFORMAT depends on the result (numeric INFORMATS yield a numeric result).&amp;nbsp; FORMATS created by the VALUE statement are numeric if the incoming value is numeric.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 19:31:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-Help-with-Proc-format-application/m-p/428139#M105675</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-01-16T19:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a variable conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-a-variable-conditionally/m-p/427565#M105480</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/42042"&gt;@stat_sas&lt;/a&gt;Nice use of the ODS OUTPUT statement.&amp;nbsp; If more than one variable needs to be dropped a SEPARATED BY phrase could be added to the SQL step which creates &amp;amp;DROP_VARS:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select Variable into :drop_vars separated by ' ' from stats
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also this will eliminate any variable with constant value, other than all missing, not just all 1's.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jan 2018 22:37:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-a-variable-conditionally/m-p/427565#M105480</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-01-14T22:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  improve a proc fcmp?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-improve-a-proc-fcmp/m-p/427309#M105366</link>
      <description>&lt;P&gt;I am not sure that i understand your question, but i can see in your DATA step that you call your FCMP function.&amp;nbsp; That function calls your macro and that macro (M_SeleccionaCalle), which in turn executes a number of data reads (potentially lots of I/O).&amp;nbsp; All of this I/O will happen for every observation in the original incoming data set (PT_V_NEW_SALES_LOTE_ORDER_TEMP1).&amp;nbsp; Without understanding your intent/objective/logic, my first thought is to try to minimize all of this I/O.&amp;nbsp; Can you restructure so that the macro (M_SeleccionaCalle) is called only once instead of N times?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 18:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-improve-a-proc-fcmp/m-p/427309#M105366</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-01-12T18:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for dynamically assigning new values based on random numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-dynamically-assigning-new-values-based-on-random/m-p/426960#M105249</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt; cool code, but would the following be a simpler approach?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;  data want2;
   set data_1;
   random_no=1+floor(id_no*rand('uniform'));
   run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Do we need to be sure that the random identifiers are unique?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 19:03:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-for-dynamically-assigning-new-values-based-on-random/m-p/426960#M105249</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-01-11T19:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: add vars to data sets with macro and call execute. What's wrong with my codes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/add-vars-to-data-sets-with-macro-and-call-execute-What-s-wrong/m-p/426942#M105243</link>
      <description>&lt;P&gt;Your CALL EXECUTE is incorrectly specified.&amp;nbsp; You have:&lt;/P&gt;
&lt;PRE class="bp-text bp-text-plain hljs"&gt;&lt;CODE class="txt"&gt;data _null_;

	set datanames;	

	call execute(cats('%nrstr(%addvar)(',state,sic1,')'));

run&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you need to include a comma between the resolved values of state and sic1.&amp;nbsp; In part:&lt;/P&gt;
&lt;P&gt;,state , ',' , sic1,&amp;nbsp; without the comma state and sic1 are being appended and passed to the first parameter which is state.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 18:13:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/add-vars-to-data-sets-with-macro-and-call-execute-What-s-wrong/m-p/426942#M105243</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-01-11T18:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: add vars to data sets with macro and call execute. What's wrong with my codes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/add-vars-to-data-sets-with-macro-and-call-execute-What-s-wrong/m-p/425858#M104911</link>
      <description>&lt;P&gt;Notice that &amp;amp;state contains both the state and sic codes and that &amp;amp;SIC is null.&amp;nbsp; take a look at your code that reads the control file and builds these two variables.&amp;nbsp; make sure that both are correct at that step. Try %PUT &amp;amp;=STATE &amp;amp;=SIC1;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 19:05:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/add-vars-to-data-sets-with-macro-and-call-execute-What-s-wrong/m-p/425858#M104911</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2018-01-08T19:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: What to do in Denver?</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/What-to-do-in-Denver/m-p/423436#M22</link>
      <description>&lt;P&gt;Although it is a bit different than in the movies, you can also tour the home of Molly Brown (the "unsinkable" one of Titanic fame).&lt;/P&gt;</description>
      <pubDate>Sat, 23 Dec 2017 07:31:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/What-to-do-in-Denver/m-p/423436#M22</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2017-12-23T07:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: What to do in Denver?</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/What-to-do-in-Denver/m-p/422444#M13</link>
      <description>&lt;P&gt;Just outside of Denver in the small town of Golden you can visit the Colorado School of Mines(my grad school). They also have a small brewery in Golden (Coors).&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 19:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/What-to-do-in-Denver/m-p/422444#M13</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2017-12-19T19:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Transposing multiple variables from multiple time points.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transposing-multiple-variables-from-multiple-time-points/m-p/356665#M83646</link>
      <description>&lt;P&gt;SAS variable names cannot contain a dot (.) but we could use an underscore.&amp;nbsp; The following transposes for 5 visits using the DATA step.&amp;nbsp; This could be cleaned up and made more flexible, but it should do what you requested.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input SUBJ VISIT SITE1 SITE2 SITE3;
datalines;
1        1        3.5     4.5      2.5 
1        2        3.6     4.6      2.2
2        1        3.4     3.2      2.1
2        2        4.5     5.2      4.4
run;
data want(keep=subj site1_: site2_: site3_:);
   set have;
   by subj;
   array st1 {5} site1_1 - site1_5;
   array st2 {5} site2_1 - site2_5;
   array st3 {5} site3_1 - site3_5;
   retain site1: site2: site3: .;

   if first.subj then call missing(of st1{*} st2{*} st3{*});

   st1{visit} = site1;
   st2{visit} = site2;
   st3{visit} = site3;

   if last.subj then output want;
   run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 06 May 2017 23:57:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transposing-multiple-variables-from-multiple-time-points/m-p/356665#M83646</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2017-05-06T23:57:28Z</dc:date>
    </item>
  </channel>
</rss>

