Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mm_getgroupmembers.sas File Reference

Creates dataset with all members of a metadata group. More...

Go to the source code of this file.

Detailed Description

This macro will query SAS metadata and return all the members of a particular group.

Usage:

%mm_getgroupmembers(someGroupName
  ,outds=work.mm_getgroupmembers
  ,emails=YES
)
Parameters
[in]groupmetadata group for which to bring back members
[out]outds=(work.mm_getgroupmembers) The dataset to create that contains the list of members
[in]emails=(NO) Set to YES to bring back email addresses
[in]id=(NO) Set to yes if passing an ID rather than a group name
Returns
outds dataset containing all members of the metadata group

Related Macros

Version
9.2
Author
Allan Bowe

Definition in file mm_getgroupmembers.sas.