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     Explaining a COMPUTE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Explaining a COMPUTE
 Login/Join
 
Member
posted
Hello all,

Just wondering whether anyone has attempted to explain what COMPUTE does to a "layperson".

While I understand what a COMPUTE does and when to use it, I find myself having to explain COMPUTE by example rather than a simple statement. The manual's definition is good (ie what is the difference between a DEFINE and a COMPUTE), but it is still a little daunting for some.

Any ideas would be appreciated.

Thanks in advance

Andrew W
 
Posts: 27 | Location: Sydney, Australia | Registered: May 27, 2003Report This Post
Expert
posted Hide Post
A Define works on each individual record.
A Compute works on the aggregations you make in your program.
You allright now?
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
A define is performed on each record as it is input to the TABLE request. The compute is performed after the TABLE request processes the selection criteria and any sorting, you can do a compute without sorting; the computed field is part of the output of the TABLE request, a defined field is only present in the ouput if included in the SUM/PRINT/WRITE variable list.
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
A Define is applied to the data coming in
A Compute is applied to the data going out

There is a bit more to it of course, but I have found the above to be a good start for newbies.
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     Explaining a COMPUTE

Copyright © 1996-2020 Information Builders