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

Creates a group on SASjs Server. More...

Go to the source code of this file.

Detailed Description

Creates a group on SASjs Server with the following attributes:

  • name
  • description
  • isActive

Examples:

%ms_creategroup(mynewgroup)

%ms_creategroup(mynewergroup, desc=The group description)
Parameters
[in]groupnameThe group name to create. No spaces or special chars.
[in]desc=(0) If no description provided, group name will be used.
[in]isactive=(true) Set to false to create an inactive group.
[in]mdebug=(0) Set to 1 to enable DEBUG messages
[out]outds=(work.ms_creategroup) This output dataset will contain the values from the JSON response (such as the id of the new group)
DESCRIPTION:$1. GROUPID:best. ISACTIVE:best. NAME:$11.
The group description 2 1 mynewergroup

SAS Macros

Related Files

Definition in file ms_creategroup.sas.