Retail Predictive Application Server (MOSC)

MOSC Banner

Writing RPAS Special Procedures for RDF

edited Jun 30, 2015 6:14PM in Retail Predictive Application Server (MOSC) 4 commentsAnswered ✓


Hi,

I would just like to ask how to create/register a special procedure in RPAS-RDF.

I'm trying to create a special procedure in RDF so I can run something like: mace -d <dom> -run -expression "mOutput<-Add(mInput1,mInput2)"

I created the Add.xml file under the RPAS_HOME/applib/resources folder which contains the following code:

<usage expression-name="Add" controller-name="assign">

    <description>

      Adds the value of 2 measures together

    </description>

    <lhs-args>

      <arg component-name="mOutput" intersection="sku_str_" data-type="real"/>

    </lhs-args>

    <rhs-args>

      <arg component-name="mInput1" intersection="sku_str_" data-type="real"/>

      <arg component-name="mInput2" intersection="sku_str_" data-type="real"/>

    </rhs-args>

    <component-manifest>

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