1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-09 18:30:06 +00:00

chore: updating docs

This commit is contained in:
munja
2022-01-14 20:31:08 +01:00
parent dd355d1ddf
commit 15d9db822b
2 changed files with 25 additions and 36 deletions

View File

@@ -49,41 +49,23 @@
@param [in] appds= (0) Dataset with appended records @param [in] appds= (0) Dataset with appended records
@param [in] modds= (0) Dataset with modified records @param [in] modds= (0) Dataset with modified records
@param [out] outds= (work.mp_storediffs) Output table containing stored data. @param [out] outds= (work.mp_storediffs) Output table containing stored data.
Has the following format: DDL as follows: %mp_coretable(DIFFTABLE)
proc sql; @param [in] processed_dttm= (0) Provide a datetime constant in relation to
create table &outds( the actual load time. If not provided, current timestamp is used.
load_ref char(36) label='unique load reference', @param [in] mdebug= set to 1 to enable DEBUG messages and preserve outputs
processed_dttm num format=E8601DT26.6 label='Processed at timestamp', @param [out] loadref= (0) Provide a unique key to reference the load,
libref char(8) label='Library Reference (8 chars)', otherwise a UUID will be generated.
dsn char(32) label='Dataset Name (32 chars)',
key_hash char(32) label=
'MD5 Hash of primary key values (pipe seperated)',
move_type char(1) label='Either (A)ppended, (D)eleted or (M)odified',
is_pk num label='Is Primary Key Field? (1/0)',
is_diff num label=
'Did value change? (1/0/-1). Always -1 for appends and deletes.',
tgtvar_type char(1) label='Either (C)haracter or (N)umeric',
tgtvar_nm char(32) label='Target variable name (32 chars)',
oldval_num num format=best32. label='Old (numeric) value',
newval_num num format=best32. label='New (numeric) value',
oldval_char char(32765) label='Old (character) value',
newval_char char(32765) label='New (character) value',
constraint pk_mpe_audit
primary key(load_ref,libref,dsn,key_hash,tgtvar_nm)
);
@param [in] processed_dttm= (0) Provide a datetime constant in relation to
the actual load time. If not provided, current timestamp is used.
@param [in] mdebug= set to 1 to enable DEBUG messages and preserve outputs
@param [out] loadref= (0) Provide a unique key to reference the load,
otherwise a UUID will be generated.
<h4> SAS Macros </h4> <h4> SAS Macros </h4>
@li mf_getquotedstr.sas @li mf_getquotedstr.sas
@li mf_getuniquename.sas @li mf_getuniquename.sas
@li mf_getvarlist.sas @li mf_getvarlist.sas
<h4> Related Macros </h4>
@li mp_stackdiffs.sas
@li mp_storediffs.test.sas
@version 9.2 @version 9.2
@author Allan Bowe @author Allan Bowe
**/ **/

View File

@@ -1,21 +1,28 @@
/** /**
@file @file
@brief Creates dataset with all members of a metadata group @brief Creates dataset with all members of a metadata group
@details @details This macro will query SAS metadata and return all the members
of a particular group.
usage: Usage:
%mm_getgroupmembers(someGroupName %mm_getgroupmembers(someGroupName
,outds=work.mm_getgroupmembers ,outds=work.mm_getgroupmembers
,emails=YES) ,emails=YES
)
@param group metadata group for which to bring back members @param group metadata group for which to bring back members
@param outds= the dataset to create that contains the list of members @param outds= (work.mm_getgroupmembers) The dataset to create that contains
@param emails= set to YES to bring back email addresses the list of members
@param id= set to yes if passing an ID rather than a group name @param emails= (NO) Set to YES to bring back email addresses
@param id= (NO) Set to yes if passing an ID rather than a group name
@returns outds dataset containing all members of the metadata group @returns outds dataset containing all members of the metadata group
<h4> Related Macros </h4>
@li mm_getgorups.sas
@li mm_adduser2group.sas
@version 9.2 @version 9.2
@author Allan Bowe @author Allan Bowe