dc_getgroups.sas
Go to the documentation of this file.
1 /**
2  @file dc_getgroups.sas
3  @brief Gets all groups
4  @details There are two versions of this macro - a META and a VIYA version (in
5  different folders). The interfaces is the same. This version is META.
6 
7  <h4> SAS Macros </h4>
8  @li mv_getgroups.sas
9 
10  @version 3.4
11  @author 4GL Apps Ltd
12  @copyright 4GL Apps Ltd. This code may only be used within Data Controller
13  and may not be re-distributed or re-sold without the express permission of
14  4GL Apps Ltd.
15 **/
16 
17 %macro dc_getgroups(outds=mm_getgroups);
18  %mv_getgroups(outds=&outds)
19  proc sort
20  data=&outds(rename=(id=groupuri name=groupname description=groupdesc))
21  out=&outds (keep=groupuri groupname groupdesc);
22  by groupname;
23  run;
24 %mend dc_getgroups;