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] Difference between &LINES and &RECORDS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Difference between &LINES and &RECORDS
 Login/Join
 
Member
posted
Can anyone let me know the difference between &LINES and &RECORDS in detail?

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


Prod: WebFOCUS v7.1.4 OS: Windows Outputs: Excel, HTML, Pdf
 
Posts: 15 | Registered: September 18, 2008Report This Post
Virtuoso
posted Hide Post
&RECORDS is the number of records read from the database.
&LINES is the number of records that are actually in the report, so after aggregation and selections have been done.

But, why do you want to know? What do you need it for?


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
GamP, you missed a great opportunity to teach a newbie how to fish. Narayana, do a search on statistical variables. When you find a document called "creating and working with variables", that's the one you want. This document contains information on more than just the statistical variables. I'd recommend you keep it handy.


WebFocus 7.6
Windows
outputs vary: have used HTML, PDF and Excel
 
Posts: 5 | Registered: September 19, 2008Report This Post
Expert
posted Hide Post
Touché Good One but could you update your signature please? Wink
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
Wow, I'm sorry. Breda asked for that specifically as part of my registration (which I provided) so I'm surprised it's not there and I'm sorry I did not notice it was not there. I've updated it.


WebFocus 7.6
Windows
outputs vary: have used HTML, PDF and Excel
 
Posts: 5 | Registered: September 19, 2008Report This Post
Virtuoso
posted Hide Post
quote:
&RECORDS is the number of records read from the database.
&LINES is the number of records that are actually in the report, so after aggregation and selections have been done


Close--

Since the cat's out of the bag, so to speak, &READS is the number of records read, &RECORDS is the number of records retrieved in the final answer set, &LINES is the number of printed lines in the final answer set.
These and more are described in the document mentioned by mstanislov.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
<Shyam L>
posted
&lines and &records are part of WebFOCUS Statistical Variables.

&lines is the number of lines printed in last answer set

&records is the number of records retrieved in last answer set

Execute below code to understand the difference:
TABLE FILE CAR
SUM
DCOST
WHERE COUNTRY EQ 'ENGLAND';
ON TABLE HOLD
END
-RUN
Type &lines and &records to see the difference.
 
Report This Post
Member
posted Hide Post
Thanks everyone for the answers.
mstanislov, the document was very helpful.


Prod: WebFOCUS v7.1.4 OS: Windows Outputs: Excel, HTML, Pdf
 
Posts: 15 | Registered: September 18, 2008Report 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] Difference between &LINES and &RECORDS

Copyright © 1996-2020 Information Builders