Retail Predictive Application Server (MOSC)

MOSC Banner

example Java expression "copy Measure" in RPAS Extension Development Guide does not work/ 0 cell is

edited Apr 27, 2015 10:00AM in Retail Predictive Application Server (MOSC) 1 commentAnswered

The java expression does not see the SrcMeasure data. From log file:

"

RHS Measure Info

  measure:       srcmeas

  popcount:      0

"

But there are data exists.

I fix popMeasure to Left hand side, but 0 cells copied still. Has anybody succeeded with that example form the doc?

1/ I have prepeared  .java and Makefile.

the code from .java:

"import java.util.*;

import com.oracle.rpas.utils.*;

public class copyMeasure implements RpasExpression {.....etc

"

2/ I run "gmake install" in the folder with .java file.

3/  and set path to RPAS_JAVA_CLASSPATH for copuMeasure.jar and RpasUtils.jar.

4/ I have created in the Config tool dstMeas, srcMeas, cellCountMeas (scalar), putched and registered RpasJavaExcperrion library with "regfunction -d .. -l"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center