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     what is the use of variables after computations??

Read-Only Read-Only Topic
Go
Search
Notify
Tools
what is the use of variables after computations??
 Login/Join
 
Silver Member
posted
Hi All,

Can anybody please suggest me for what purpose we are using variables "&ShTotDmd &ShowPrev &ComOptP" after computation?

I am not getting if they are used to store result of something else? Please suggest...


 

 COMPUTE Tot_DmdDiffP/D7% 	= ((Tot_Dmd - PrevTot_Dmd)/ PrevTot_Dmd) * 100 ; AS '%Tot Dmd Diff' &ShTotDmd    &ShowPrev  &ComOptP


version-773
platform-windows
All Outputs
 
Posts: 42 | Location: Chandigarh, India | Registered: February 24, 2012Report This Post
<JG>
posted
A variable name is of no value whatever except that it identifies a memory location that stores a value.

I would suggest that you read your code and see what values are assigned to those variables.
you never know you might even have some documentation that explains what is expected.
 
Report This Post
Virtuoso
posted Hide Post
They are probably some fields to show after the computation or flags for how to display the field in the report (NOPRINT, for example).


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Guru
posted Hide Post
From the looks of it, &ShTotDmd, &ShowPrev, and &ComOptP looks like additional columns in the report that appear after the computed field that will only show if the variables are populated.
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Guru
posted Hide Post
I agree with Wep,

I've seen that method used many times. They are setting those variables to either '', FOC_NONE or NOPRINT. That COMPUTE plays a different role in the report based on the launch senario, and those vars control it's behavior.


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
 
Posts: 291 | Location: Greater Cincinnati  | Registered: May 11, 2005Report 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     what is the use of variables after computations??

Copyright © 1996-2020 Information Builders