Skip to content

Instantly share code, notes, and snippets.

View PavelDvorak's full-sized avatar

Pav PavelDvorak

View GitHub Profile
@statgeek
statgeek / SAS_rename_data_set_proc_datasets.sas
Last active August 11, 2020 15:46
SAS Rename - proc datasets
/*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
@davebrny
davebrny / text wrap.ahk
Last active March 3, 2024 11:50
📇 (autohotkey) - wrap selected text in *symbols*
/*
[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
@statgeek
statgeek / SAS_Call_Execute.sas
Last active January 30, 2019 14:27
SAS - Call macro using parameters from data set
/********************************************************************
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;