Retail Predictive Application Server (MOSC)

MOSC Banner

Format change in exportmeasure utility

edited Sep 2, 2016 3:35AM in Retail Predictive Application Server (MOSC) 4 commentsAnswered ✓

Hi,

I have a real measure mstst(intx loc) which have data as below

1001,0.42980035386604

I want to export this value as below into mstst1.casv.ovr file

1001,0.42

Then I want load this data to string measure mstst1(intx loc) with loadmeasure

I have a script where I put a variable as below

exp_data_type_real="%0.2f"

export_meas_spec="${exp_measure}.precision(0.01).format(${exp_data_type_real})

then run teh below command in in script

exportMeasure -d ${RDF_DOMAIN} -out mstst1.csv.ovr -intx $loc -meas mstst -processes 2

but it gave me data in mstst1.csv.ovr as below

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