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.
Hi, I have just started working on WebFocus and hope that my queries aren't too amature and silly. I have 3 seperate HOLD files each having some data for each month, say from Jan to March. Eg. HOLD1 has data Jan 10 20 30 HOLD2 has data Feb 1 20 11 etc. I want to combine these 3 files so that i have a file that looks like this Jan Feb 10 1 20 20 30 11
Is this even possible?? I was trying MORE n MATCH but got no success. Any suggestions?? Thanks in advance guys..
Try using the USE statement. I've had success with the following:
TABLE FILE MONTH1 PRINT .... ON TABLE HOLD AS HOLD1 FORMAT FOCUS END
TABLE FILE MONTH2 PRINT ... ON TABLE HOLD AS HOLD2 FORMAT FOCUS END
USE HOLD1 AS HOLD1 HOLD2 AS HOLD1 END
After the USE statement, the data from both HOLD1 and HOLD2 should be in the HOLD1 file. Make sure you hold the file in the FOCUS format. The USE statement will not work otherwise.
END DEFINE FILE HOLD3 RECNUM/I5=RECNUM+1; END MATCH FILE HOLD1 SUM DATA BY RECNUM RUN FILE HOLD2 SUM DATA BY RECNUM RUN FILE HOLD3 SUM DATA BY RECNUM ON TABLE HOLD OLD-AND-NEW END TABLE FILE HOLD PRINT E01 AS 'JAN' E02 AS 'FEB' E03 AS 'MAR' END
First of all, thanks for all the replies. I woudl try them on right away. The HOLD files are genarated dynamically, one for each month. At the beginning the number of months/ dynamic files isn't known. I then need to combine all the data into a single hold file. @Leah The first record need not be the month. I want to display the data in that format finally. The HOLD table could have records in any way. @Susannah Should i post my code right here for you to investigate??