Focal Point
[SOLVED] (FOC016) THE TRUNCATED FIELDNAME IS NOT UNIQUE: FORECAST

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1461084022/m/485107981

July 24, 2009, 12:35 PM
Endre
[SOLVED] (FOC016) THE TRUNCATED FIELDNAME IS NOT UNIQUE: FORECAST
I keep getting Internet Explorer cannot display the webpage when trying to copy paste my message here

PMF 5.1.2 Oracle
.

This message has been edited. Last edited by: Endre,


WebFocus 7.6.8
iWay Data Migrator 7.6.8
PMF 5.1
July 24, 2009, 12:54 PM
Bob Jude Ferrante
Where are you seeing this?

It's happening because PMF has three fields for FORECAST: FORECAST, FORECAST_NUMERATOR and FORECAST_DENOMINATOR and in the FOCEXEC you're running the server is configured to allow partial field names (it's the default).


You can set this to strict, by setting SET FIELDNAME=NOTRUNC in your FOCEXEC.

It doesn't happen in PMF FOCEXECs because we do it automatically in FILTERS.FEX, which is run whenever any content is called through the PMF MRE domain. You can embed SET FIELDNAME=NOTRUNC in your custom FOCEXEC. I don't recommend put it in EDASPROF.PRF (that's a hack and could affect other developers who assume it's on).

thanks


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105

I'll take any questions about PMF - business or technical - anytime!

July 24, 2009, 01:56 PM
Endre
Bob,

At this point, this PMF is pretty much out of box, no customization of any kind. A few dimensions and one measure is loaded.
It is true that there is a WebFOCUS environment at this location and this WebFOCUS environment has been around for a long time. This WebFOCUS app server environment is reporting from Banner ERP.

So somehow, in PMF, that was freshly installed a few weeks back, missing FIELDNAME=NOTRUNC?


WebFocus 7.6.8
iWay Data Migrator 7.6.8
PMF 5.1
July 24, 2009, 02:11 PM
Bob Jude Ferrante
Sorry, I was thinking of post 5.1.2. My bad.

In 5.1.2 you can either put it into FILTERS.FEX which should be getting called in site.wfs for the PMF Domain; or you could, if you choose, put it in EDASPROF, which would make it global everywhere.

thanks


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105

I'll take any questions about PMF - business or technical - anytime!

July 24, 2009, 02:41 PM
Bob Jude Ferrante
I'll be even more precise because I've been way too imprecise!

For 5.1.2, we're recommending that if you get this error, to SET FIELDNAME=NOTRUNC either in FILTERS.FEX (very recommended) or in EDASPROF.PRF. This is so that WebFOCUS doesn't get confused when a HOLD file contains FORECAST and FORECAST_NUMERATOR and FORECAST_DENOMINATOR, and the request asks for FORECAST, etc.

Post 5.1.2, we've made sure the couple places in PMF code where this was not absolutely explicit about what fields are needed so there can be no shorthand field issues, got made perfectly explicit. So you won't need this setting any more after 5.1.2.

thanks


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105

I'll take any questions about PMF - business or technical - anytime!