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     [CLOSED] Compare two columns from two different tables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Compare two columns from two different tables
 Login/Join
 
Gold member
posted
Hi All,

I want to know that is there any technique in Webfocus where I can compare two columns form different hold files?

For Eg.

DEFINE FILE MAIN1
ID
NAME

DEFINE FILE MAIN2
MARKS

I want to print marks of file MAIN2 based on the ids in MAIN1.

Thank you for the help.

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


Webfocus 7.7.03
Windows XP
Excel, PDF, HTML, APDF, AHTML, Maintain
 
Posts: 59 | Registered: July 22, 2009Report This Post
<JG>
posted
JOIN or MATCH

Read the docs.
 
Report This Post
Silver Member
posted Hide Post
TABLE FILE EMPLOYEE
PRINT COMPUTE BREAKX/I2 = 1;
LAST_NAME FIRST_NAME
ON TABLE HOLD AS H1
END
TABLE FILE EMPLOYEE
PRINT COMPUTE BREAKX/I2 = 2;
DEPARTMENT
ON TABLE HOLD AS H2
END
-RUN
-*
MATCH FILE H1
PRINT LAST_NAME FIRST_NAME
BY BREAKX
RUN
FILE H2
PRINT DEPARTMENT
BY BREAKX
AFTER MATCH HOLD OLD-OR-NEW
END
-RUN[/CODE]


Webfocus 8002M, 8009
OS: Windows7
 
Posts: 33 | Registered: July 31, 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     [CLOSED] Compare two columns from two different tables

Copyright © 1996-2020 Information Builders