SAS Documentation
SASĀ® Solution for Stress Testing
Reference manual - version 08.2021
Loading...
Searching...
No Matches
irmst_task_enrich_credit_cashflow.sas
Go to the documentation of this file.
1/*
2 Copyright (C) 2018 SAS Institute Inc. Cary, NC, USA
3*/
4
5/** \file
6 \brief Enrich cashflows
7
8 \details
9
10 This node extract from the input CASHFLOW table the records that match entries in the input portfolio table.
11
12 \ingroup nodes
13 \author SAS Institute Inc.
14 \date 2018
15*/
16
17%if(%rsk_dsexist(st_lnd.CASHFLOW) and %rsk_dsexist(st_lnd.credit_portfolio) ) %then %do;
18
19 /* ************************************** */
20 /* Create Enriched Cashflow table */
21 /* ************************************** */
22 %irmc_enrich_cashflow(ds_in_portfolio = st_lnd.credit_portfolio
23 , ds_in_cashflow = st_lnd.CASHFLOW
24 , ds_in_entity = st_stg.ENTITY
25 , ds_out = st_stg.CASHFLOW
26 );
27
28 /* *********************************************************************** */
29 /* Create Result List table: list all outputs created by this program */
30 /* *********************************************************************** */
31 data &ds_out_result_list.;
32 length
33 source_code $256.
34 table_name $100.
35 data_type $20.
36 status $20.
37 ;
38 /* Macro variable PROGRAM_NAME is set by macro irmc_task_runner */
39 source_code = "&program_name.";
40 table_name = "ST_STG.CASHFLOW";
41 data_type = "View";
42 status = "Created";
43 run;
44%end;