SAS Macro: %metacodaIdentityGroupExtract

Purpose

This macro is used to extract basic attribute values for IdentityGroup objects (groups and roles) from SAS metadata.

Parameters

%macro metacodaIdentityGroupExtract(
   table=,
   xmlDir=,
   debug=0
   );

This macro accepts several mandatory and optional named parameters and generates a SAS table as output.

table: (MANDATORY)

The output table name (1 or 2 level) that will be overwritten.

xmlDir: (OPTIONAL)

Path to a directory where PROC METADATA request, response, and map XML files will be written. If unspecified the work directory path will be used by default.

debug: (OPTIONAL)

A flag (0/1) indicating whether to generate additional debug info for troubleshooting purposes. The default is zero for no debug.

Examples

Extract basic metadata attributes for all groups and roles:

%metacodaIdentityGroupExtract(table=work.idGroups)

For more examples see metacodaIdentityGroupExtractSample.sas.