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.
I have two hold files that need to be merged into one hold file. The two hold files have the same number of columns and the column names are the same but the formats are different. Is there a way to get these merged?
SET HOLDLIST=PRINTONLY
SET HOLDFORMAT=ALPHA
-* create two hold files with different formats
TABLE FILE CAR
SUM SALES/D20.2
BY COUNTRY
ON TABLE HOLD AS H001
END
TABLE FILE CAR
SUM SALES/I8
BY COUNTRY
ON TABLE HOLD AS H002
END
-* merge two files with columns of different formats
DEFINE FILE H001
SALESD/D20.2 = SALES;
END
DEFINE FILE H002
SALESD/D20.2 = SALES;
END
TABLE FILE H001
SUM
SALESD AS SALES
BY COUNTRY
MORE
FILE H002
END
Even better, if you're working with hold files, why not format the column when you create the hold file?
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
I would suggest to add an extra field that gives you information about the origin. So,mething like A for the first hold file and B for the second. After merging the two you might want to know where the data came from
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006