28%irm_session_prepare();
30%let outlib = %scan(&ds_out_sync., 1, .);
31%irmc_gen_attrib_analysis_movmt(ds_in_attribution_config = &ds_in_attribution_config.
32 , ds_in_aggregation_config = &ds_in_aggregation_config.
33 , ds_in_map_movement = &ds_in_map_movement.
34 , ds_in_sync_result = &ds_in_sync_result.
35 , ds_in_var_dependency = &ds_in_dependency_config.
36 , ds_out = &outlib..&mart_table_name.
37 , dr_libref = &dr_libref.
38 , dr_library_name = &dr_library_name.
39 , tmp_libref = &tmp_libref.
41 , mart_table_name = &mart_table_name.
42 , scenario_selection = &scenario_selection.
43 , base_dt = %sysfunc(datepart(&base_dttm.))
44 , stage_var = ECL_STAGE
45 , ecl_12m_var = ECL_12M
46 , ecl_lifetime_var = ECL_LIFETIME
48 , stage_attribution_method = &stage_attribution_method.
49 , analysis_run_id = &analysis_run_id.
50 , analysis_run_name = &analysis_run_name.
51 , analysis_run_type = &analysis_run_type.
52 , cycle_name = &cycle_name.
54 , rgf_protocol = &rgf_protocol.
55 , rgf_host = &rgf_host.
56 , rgf_port = &rgf_port.
57 , rgf_service = &rgf_service.
58 , rgf_solution = &rgf_solution.
59 , tgt_ticket = &tgt_ticket.
60 , irm_user_id = &irm_user_id.
61 , irm_user_password = &irm_user_password.
70 table_name =
"&outlib..&mart_table_name.";
75data &ds_out_datastore_config.;
76 set &ds_in_datastore_config. (where = (datastore_group_id =
"Credit Risk"));
77 results_category =
"ATTRIBUTION";
78 %
if(%symexist(OUT_ANALYSIS_DATA_NAME)) %then %
do;
79 analysis_data_name = cats(
"&OUT_ANALYSIS_DATA_NAME",
' - ¤t_dt_ymd. ¤t_tm_tod.');
81 %
if(%symexist(OUT_ANALYSIS_DATA_DESC)) %then %
do;
82 analysis_data_desc = cats(
"&OUT_ANALYSIS_DATA_DESC",
'for the base date <MONTH, 0, SAME, yymmddd10.>.\nCreated by user &IRM_USER_ID. on %sysfunc(datetime(), nldatmw200.)');