This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*This code illustrates how to rename data sets dynamically*/ | |
data _new_list; | |
set sashelp.vtable | |
(where=(upcase(libname)='WORK')) end=eof; | |
*filter list for only tables of interest; | |
*start proc datasets; | |
if _n_=1 then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
[script info] | |
version = 2.5 | |
description = wrap selected text in %symbols% | |
author = davebrny | |
source = https://gist.github.com/davebrny/088c48d6678617876b34f53571e92ee6 | |
*/ | |
sendMode input | |
return ; end of auto-execute |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************** | |
Example : Call macro using parameters from data set | |
********************************************************************/ | |
*define macro to be called later; | |
%macro summary(age=, sex=); | |
proc print data=sashelp.class; | |
where age=&age and sex="&sex"; | |
run; |