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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
FOCUS
 Login/Join
 
<Raghuraman>
posted
Hi
I have focus file like a
eeid stype client
01 A aa
01 B bb
02 B bb
03 A aa
03 B bb
03 C cc

I want retrive the data from the file based on stype condition
First i check the stype 'A' if it is true it will display the 'A' related records only no need to other stype but it doesn't have 'A' it goes to second one 'B' if it is true it will display the 'B' related records only no need to other stype and same as 'C' type also
How to retrive the records

Please tell me how to solve this problem
 
Report This Post
<Parag Khanvilkar>
posted
Hi Raghuraman,

you can write Table File Statements to Display records like
TABLE FILE FILE1
PRINT EEID
STYPE
CLIENT
IF STYPE EQ A
END

-IF &LINES NE 0 GOTO EXIT;

TABLE FILE FILE1
PRINT EEID
STYPE
CLIENT
IF STYPE EQ B
END

-IF &LINES NE 0 GOTO EXIT;


TABLE FILE FILE1
PRINT EEID
STYPE
CLIENT
IF STYPE EQ C
END

-EXIT

FINISH

Hope this will help

Regards,
Parag.
 
Report This Post
Platinum Member
posted Hide Post
This will give you the first value of STYPE for each record by eeid.

TABLE FILE yourfile
SUM
client
BY eeid
BY LOWEST 1 stype
END


WF 7.6.11
Output: HTML, PDF, Excel
 
Posts: 123 | Location: UK | Registered: October 09, 2003Report This Post
Expert
posted Hide Post
It's hard to focus when the topic title is "FOCUS". It might be a good idea to use a more descriptive title.


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
Expert
posted Hide Post
It looks to me like there's a new set of recruits and we're giving the training again!!
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders