SAS Macro: %metacodaPersonLocationExtract
Purpose
This macro is used to extract basic attribute values for SAS metadata Location (physical address) objects that are associated with Person (user) objects.
Parameters
%macro metacodaPersonLocationExtract(
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 location metadata for all users:
%metacodaPersonLocationExtract(table=work.personLocations)
For more examples see metacodaPersonLocationExtractSample.sas.