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     [SOLVED] Parameter value greater than million

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Parameter value greater than million
 Login/Join
 
Silver Member
posted
I'm passing few parameters from graph file to Excel report that are displayed in the header. They all work fine but one of them (PRVR) if PM has a value of 1,000,000 or greater it passes ********* to another report, if it's less it works ok.

ON GRAPH SET STYLE *
TYPE=DATA,
FOCEXEC=app/rpt09.fex(P_NO =
&DISPLAY \
QTR = &YQTR.QUOTEDSTRING \
PGVR = '&PDGP.EVAL' \
PLVR = '&PDLN.EVAL' \
PMVR = PM),
TARGET='_BLANK',
$

This graph is using 2 BY fields.

This message has been edited. Last edited by: Kerry,
 
Posts: 34 | Registered: June 19, 2007Report This Post
Silver Member
posted Hide Post
Code indentation was not correct in previous message.

ON GRAPH SET STYLE *
TYPE=DATA,
FOCEXEC=app/rpt09.fex(P_NO = &DISPLAY \
QTR = &YQTR.QUOTEDSTRING \
PGVR = '&PDGP.EVAL' \
PLVR = '&PDLN.EVAL' \
PMVR = PM),
TARGET='_BLANK',
$
 
Posts: 34 | Registered: June 19, 2007Report This Post
Expert
posted Hide Post
What is the size of PRVR? If it's less than 9, you may try a DEFINE virtual field and use that in the report and the stylesheet drilldown.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
PRVR is not a defined field, just using here. Also, PM, whose value is going in PRVR is a computed field in the middle of the code. That makes it difficult to DEFINE a field on top of the code that would contain PM's vlaue.
If you can specify with an example that would help.
Thanks.
 
Posts: 34 | Registered: June 19, 2007Report This Post
Virtuoso
posted Hide Post
Try increasing the length of the PM computed field. Make sure its length is long enough to fit numbers above 1,000,000.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Silver Member
posted Hide Post
I had PM as D12.6 and PMVAR would not show actual value beyond 1,000,000 I changed PM to D12.3 and it now passes all the values that I've seen so far. Wondering PMVAR has some default size set by WebFocus?
 
Posts: 34 | Registered: June 19, 2007Report This Post
Expert
posted Hide Post
To understand why that worked you really need to understand what the formats actually represent. Unlike some other languages a D12.6 doesn't mean 12 integer positions and 6 decimal places, it actually means 12 characters of which the last 6 are decimals and the 7th to last is the decimal point. So your maximum display in a D12.6 would be 99999.999999.

Read the manual section on formats to get a better understanding of what you are doing and then you might be prepared for the intricasies such as this.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Silver Member
posted Hide Post
I somewhat guessed that when I was testing different values.
Thank you all for your replies.
 
Posts: 34 | Registered: June 19, 2007Report 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     [SOLVED] Parameter value greater than million

Copyright © 1996-2020 Information Builders