SAS Documentation
SASĀ® Solution for Stress Testing
Reference manual - version 08.2021
Loading...
Searching...
No Matches
irmst_node_sync_enrichment.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 Synchronize data objects for downstream execution
7
8 \details
9
10 This node ensure that all required tasks have been completed before the execution can proceed to the downstream processing (RGF data registration)
11
12 In addition the following macro utilities are called:
13
14 | Macro name | Description | Further information |
15 |---------------------------|--------------------------------------------------------------------------------------------------------------|-----------------------------------------------|
16 | irm_session_prepare | Reads RUN_OPTION table and sets logging options | \link irm_session_prepare.sas \endlink |
17 | 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 |
18
19 \ingroup nodes
20 \author SAS Institute Inc.
21 \date 2018
22*/
23
24/* Initialize session */
25%irm_session_prepare();
26
27data &ds_out_enrichment_result.;
28 set
29 &ds_in_enrichment_stage1.
30 &ds_in_enrichment_stage2.
31 &ds_in_enrichment_stage3.
32 &ds_in_enrichment_stage4.
33 &ds_in_enrichment_stage5.
34 ;
35run;
36
37data &ds_out_datastore_config.;
38 set &ds_in_datastore_config.
39 (where = (datastore_group_id = "Enrichment"
40 /* Subset the list of tables to process (if provided) */
41 %if(%sysevalf(%superq(dstore_table_list) ne, boolean)) %then %do;
42 and upcase(schema_name) in (%sysfunc(prxchange(s/(\w+)/"\U$1"/i, -1, &dstore_table_list.)))
43 %end;
44 )
45 );
46run;
47
48/* Cleanup session */
49%irm_session_cleanup;