Generating DATA Step Code for a Rule Flow

You can generate DATA step (DS1) code or DS2 code for a rule flow. In many cases, you will get better performance by specifying DS1. However, consider specifying DS2 if your input data is in Teradata, Greenplum, or Hadoop, and you have installed the SAS Code Accelerator. In addition, the LIKE operator is not supported for DS1.
The brm.runtime.codetype configuration property in SAS Management Console determines whether SAS Decision Manager generates DS1 code or DS2 code during rule flow testing and when a published rule flow is run. By default, this property is set to DS2. You can change this property to specify DS1.See Business Rules Manager Web Advanced Properties in SAS Decision Manager: Administrator’s Guide for more information.
To generate DS1 code for a specific rule flow regardless of the setting of the brm.runtime.codetype property, you can specify the &BRM_CODE_TYPE macro variable in preprocessing code. Define this variable in preprocessing code such as in the Preprocessing Code section of a rule flow test or in the Precode section of the Precode and Postcode tab in SAS Data Integration Studio. Define this variable before calling the %BRM_RULE_FLOW macro:
%let BRM_CODE_TYPE=DS1;
Using this macro variable helps you determine whether you want to change the brm.runtime.codetype setting.
Last updated: February 22, 2017