-
Notifications
You must be signed in to change notification settings - Fork 5
/
initialize_parameter.sas
67 lines (54 loc) · 1.93 KB
/
initialize_parameter.sas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/******************************************************************************/
/* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. */
/* SPDX-License-Identifier: Apache-2.0 */
/* ****************************************************************************/
%global
ci360_log_path
token
diBatchControlIn
gdprDeleteTable
eventLogTable
IB_METADATALIB
IB_DBOLIB
IB_STAGELIB
DSC_TENANT_ID
DSC_SECRET_KEY
CI360_server
TokenGenMethod
DSC_CONFIG_PATH
PYTHON_PATH
;
/* ***************************************/
/* CONSTANTS - SHOULD NOT NEED TO CHANGE */
/* ***************************************/
%let ci360_log_path = &IB_GDPR_DELETE_PATH./logs;
/* ***************************************/
/* ALWAYS CUSTOMIZE THESE VARIABLES */
/* ***************************************/
/* CI360-specific variables */
%let DSC_TENANT_ID =%str();
%let DSC_SECRET_KEY=%str();
%let CI360_server = extapigwservice-training.ci360.sas.com;
/* Datamart-specific variables */
%let diBatchControlIn = TABLE_ADMIN;
%let gdprDeleteTable = CI360_GDPR_DELETE;
%let eventLogTable = CI360_EVENT_LOG;
/*Libnames*/
%let IB_METADATALIB = CMDM;
%let IB_DBOLIB = CMDM;
%let IB_STAGELIB = CMDM;
/*===================================== GLOBAL ===================================*/
/* Compile all macro files */
/*================================================================================*/
options
append = (sasautos="&IB_GDPR_DELETE_PATH./macro")
append = (sasautos="&IB_GDPR_DELETE_PATH./util")
;
options mprint mlogic symbolgen;
%PUT NOTE: &=IB_GDPR_DELETE_PATH;
%check_tables_ddl;
%let TokenGenMethod=python;
%let DSC_CONFIG_PATH = &IB_GDPR_DELETE_PATH./util;
%let PYTHON_PATH = python;
%gentoken;
%let token = &DSC_AUTH_TOKEN.;