Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Problem with formats

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Problem with formats
 Login/Join
 
Silver Member
posted
Background:

The field 'FORECASTDEMANDCOST' is coming from the master file WEBFOCUS_FULL_INFO

FIELDNAME=FORECASTDEMANDCOST, ALIAS=ForeCastDemandCost, USAGE=A254V, ACTUAL=A254V,
MISSING=ON, $


The second field that is of concern is calculated as follows:
TABLE FILE SPR_CURR
PRINT
CUR_RATE
WHERE CUR EQ '&CURR';
ON TABLE SAVE AS CURR1
END
-RUN
-READ CURR1 &CURR1.A20

I then have a define where I do the following:
DEFINE FILE ITDEMANDSHOLD
DFORECASTDEMANDCOST/D12.2 = FORECASTDEMANDCOST/&CURR1;
END

TABLE FILE ITDEMANDSHOLD
PRINT DDEMANDID
DFORECASTDEMANDCOST
END
-EXIT


The problem is with the formats. But I dont know how to fix this...Can you please suggest what is it that I should do?

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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 29 | Registered: February 21, 2011Report This Post
Gold member
posted Hide Post
Shubha,

My first thought would be to convert the FORECASTDEMANDCOST field to a numeric field using the ATODBL function.

You are trying to do a calculation with alpha fields.


WF 7.6.10, Windows, PDF, Excel
 
Posts: 75 | Location: Dallas, TX | Registered: February 12, 2004Report This Post
Virtuoso
posted Hide Post
Is there à relation between the forcastvalue and the currency code?
Is there a time relation ?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Problem with formats

Copyright © 1996-2020 Information Builders