SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

Computing scoring of Business Rules using Expression node in SAS DataFlux DMP

Reply
Contributor
Posts: 42

Computing scoring of Business Rules using Expression node in SAS DataFlux DMP


Hi All,

We are trying to figure out a precision based  scoring for the business rules within dimension, wherein in the Data Job we are using the information such as No of Triggers / No of Rows as part of the calculation.

The following is our code in the expression node

Integer Score

Score = No of Triggers \ No of Rows Processed

e.g  Score = 15/ 100

The above should ideally give us something like 0.15, but instead of this value we obtain the result as 0, 

Would like to understand, which part of the computation we are doing wrong.

Appreciate your help

Cheers

Ronny

SAS Employee
Posts: 85

Re: Computing scoring of Business Rules using Expression node in SAS DataFlux DMP

Ronny,

Change the data type to a 'real' and you will get the precision you are expecting:

real Score


Score = No of Triggers \ No of Rows Processed

-shawn

Ask a Question
Discussion stats
  • 1 reply
  • 216 views
  • 1 like
  • 2 in conversation