mpeinit2.sas
Go to the documentation of this file.
1 /**
2  @file mpeinit2.sas
3  @brief Helper macro to enable interactive debugging
4  @details
5 
6  Just need two variables:
7 
8  %let apploc=
9  %let mpelib=
10 
11  @version 9.2
12  @author 4GL Apps Ltd
13  @copyright 4GL Apps Ltd. This code may only be used within Data Controller
14  and may not be re-distributed or re-sold without the express permission of
15  4GL Apps Ltd.
16 
17  <h4> SAS Macros </h4>
18  @li mf_fmtdttm.sas
19 
20 **/
21 
22 %macro mpeinit2(lib);
23 %global mpeinit
24  mpeadmins /* group with unrestricted Meditor access */
25  mpelocapprovals /* location for landing and staging files */
26  mpelib /* location of configuration tables for DC */
27  dc_repo_users /* location of user / group metadata */
28  ;
29  %global _metauser;
30  %let _metauser=&sysuserid;
31  /* to mimic a "real" _program we need to give a dummy role and stp name */
32  %let root=/dummyRole/dummyName;
33 
34  %global dc_repo_users;
35  %let dc_repo_users=foundation;
36 
37  %let dc_dttmtfmt="%sysfunc(datetime(),%mf_fmtdttm())"dt;
38  %put &=dc_dttmtfmt;
39 
40 %mend mpeinit2;