Skip to main content

top_n_deposits

1.Description

This program takes cf files and ucic files generated by customer_master_gen to give six different top_n files.

2.1 Process Config Fields

top_n_dep_config

2.1.1 Additional Input file

This file contains:

#FileTypeDescriptionRequired
1Output Metadata filesOutput MetadataProvide the path to the output metadata files of SA,CA,TD and RD.true
2UCICReferenceOutput of customer_master_gentrue
3Exchange RateExchangeRateExchange_rate filetrue

2.2 Process Arguments

top_n_dep_pa

Here enter the process arguments to be passed to the program. The mandatory and non-mandatory fields are given below.

2.2.1 Mandatory Parameters
#ParametersDescriptionExample
1process_configPath to process config file that needs to be processed/path/to/process_config.json
2as_on_dateThe date for which the program has to run2024-11-28
3log_file_pathPath to write logstest-bed/log.txt
4diagnostics_file_pathPath to write diagnostics logstest-bed/diag_log.txt
5currency_idThis gives the currency IDUSD
6country_codeThis gives the country codeUS
7base_ccyBase currencyINR
8connection_stringConnection to DBConnection string should be in json format
9top_cust_countNumber of top customers10
2.2.2 Non-Mandatory Parameters
#ParametersDescriptionDefault ValueExample
1log_levelLevel of diagnostics written to the log fileinfodebug
2is_perf_diagnostics_enabledFlag to enable performance diagnosticsfalsetrue
3prod_typeProduct type""Retail
4optionPipe-separated key-value pairs""key1,value1|key2,value2
5is_consolidatedFlag to indicate if currency is consolidatedfalsetrue

2.3 Derivations

top_n_dep_der

3. Output and data loading to DB

This program generates a total of six files:

1) pp_top_n_deposit.txt: This file data is loaded into TopNDepCust table.

2) pp_top_n_deposit_prod.txt: This file is not loaded to the DB.

3) top_n_dep_acc.txt: This file data is loaded into TopNDepCustAcc table.

4) top_n_dep_adv.txt: This file data is loaded into TopNDepCustAccAdv table.

5) top_n_int_rate.txt: This file is not loaded to the DB.

6) top_n_fcy.txt: This file data is loaded into TopNDepCustProd table.