As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


List Processing Basics Creating and Using Lists of Macro Variables

From sasCommunity
Jump to: navigation, search

Tiny Url: http://tinyurl.com/5p3j2z for this page

http://tinyurl.com/6mmqpj for paper

http://www2.sas.com/proceedings/forum2007/113-2007.pdf

SGF 2007, paper 113, section: Hands On Workshops

List Processing Basics: Creating and Using Lists of Macro Variables

http://tinyurl.com/5p3j2z for .zip

File:SGF-Fehd-Carpenter-HOW-list-processing.zip

contains:

  • paper: 113-2007.pdf
  • presentation: 113-2007-ppt.pdf
  • ~100+ .sas programs: used in paper, exercises, and solutions
  • SASv?.cfg: SASv8.cfg, SASv9.cfg, SASv9-ws.cfg, autoexec.sas

See also:

Combinations

RJF2 2011-04-03

todo: combinations of two at a time:

%do I = 1 %to &N.; %Let ItemI = ...; %do J = &I+1 %to &N.; %Let ItemJ = ...; %end; %end;


BibTex for this paper:

@inproceedings{sgf2007.113,
    booktitle={Proceedings of the SAS Global Forum},
    year     = 2007,
    author   ={Ronald J. Fehd and Art Carpenter},
    title    ={List Processing Basics: Creating and Using Lists of Macro Variables},
    note     ={Hands On Workshop, 20 pp.; comparison of methods:
              making and iterating macro arrays, scanning macro variable,
              writing calls to macro variable, write to file then include,
              call execute and nrstr;
              11 examples, bibliography},
    url      ={http://www2.sas.com/proceedings/forum2007/113-2007.pdf}}

References

-- created by User:Rjf2 10:13, 31 January 2009 (EST)

--Ronald_J._Fehd macro.maven == the radical programmer