SAS Documentation
SASĀ® Solution for Stress Testing
Reference manual - version 08.2021
Loading...
Searching...
No Matches
irmst_node_mrs_run.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 Retrieve Scenario Data
7
8 \param[in] ST_PRM.RUN_OPTION Parameter table containing runtime configuration values
9 \param[in] %ds_in_cardinality = ST_STG.MRS_CARDINALITY Input table specifying the total number of IRM partitions
10 \param[in] %ds_in = ST_STG.MASTER_RISK_SCENARIOS Input table containing the list of scenarios to retrieve
11 \param[out] %ds_out = ST_PART.RSM_SCENARIO_DATA Output partition table containing scenario data
12
13 \details
14
15 This node makes a call to macro \link irmc_get_mrs_data.sas \endlink to retrieve the scenario data from SAS Risk Scenario Manager. <br>
16 The following parameters are expected inside table ST_PRM.RUN_OPTION (these parameters are set by \link irmc_node_init.sas \endlink based on metadata configuration):
17 - rsm_protocol: http(s) Protocol where SAS Risk Scenario Manager web application is running
18 - rsm_host: hostname where SAS Risk Scenario Manager web application is running
19 - rsm_port: port where SAS Risk Scenario Manager web application is listening
20 - rsm_service: End-point application (i.e. /SASRiskScenarioManager)
21
22 In addition the following macro utilities are called:
23
24 | Macro name | Description | Further information |
25 |---------------------------|--------------------------------------------------------------------------------------------------------------|-----------------------------------------------|
26 | irm_session_prepare | Reads RUN_OPTION table and sets logging options | \link irm_session_prepare.sas \endlink |
27 | irm_session_cleanup | Removes all non-IRM WORK datasets/views and deletes all user-created macro variables from workspace session | \link irm_session_cleanup.sas \endlink |
28
29 \ingroup nodes
30 \author SAS Institute Inc.
31 \date 2018
32*/
33
34/* Initialize session */
35%irm_session_prepare();
36
37/* Get Scenarios for the current irm partition */
38%irmc_get_mrs_data(ds_in_mrs_config = &ds_in.
39 , ds_in_cardinality = &ds_in_cardinality.
40 , partition_no = &rank.
41 , ds_out = &ds_out.
42 , tgt_ticket = &tgt_ticket.
43 , irm_user_id = &irm_user_id.
44 , irm_user_password = &irm_user_password.
45 );
46
47/* Cleanup session */
48%irm_session_cleanup;