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 all iam appending the data from 12 hold files into one hold file by using FILDEF...(APPEND here i am getting the problem is the data is changing for some of the rows is there any workaround for this please let me know.
FILEDEF HOLD1 DISK HOLD1 -RUN TABLE FILE XXXX PRINT ASDFF SDFGH ON TABLE HOLD AS HOLD1 FORMAT ALPHA END FILEDEF HOLD1 DISK HOLD1 (APPEND -RUN TABLE FILE QQQQ PRINT ASDF SDFG ON TABLE HOLD AS HOLD1 FORMAT ALPHA END FILDEF................
Thanks,
Thanks, Kalyan.S ------------------------------------ WebFOCUS 7.1.4, Win XP SP2, Oracle8i. ------------------------------------
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006
FILEDEF HOLD1 DISK HOLD1
-RUN
TABLE FILE CAR
PRINT
RETAIL_COST
BY COUNTRY
WHERE COUNTRY EQ 'ITALY'
ON TABLE HOLD AS HOLD1 FORMAT ALPHA
END
-RUN
FILEDEF HOLD1 DISK HOLD1 (APPEND
-RUN
TABLE FILE CAR
PRINT
RETAIL_COST
BY COUNTRY
WHERE COUNTRY NE 'ITALY'
ON TABLE HOLD AS HOLD1 FORMAT ALPHA
END
-RUN
TABLE FILE HOLD1
PRINT *
END
-RUN
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
HI ALAN, i checked the same what you said inur post for only the first and seconf hold files the values are changing remaining all are ok is there any set command i need to give. Thanks,
Thanks, Kalyan.S ------------------------------------ WebFOCUS 7.1.4, Win XP SP2, Oracle8i. ------------------------------------
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006
Sorry, I should have said "Put a -RUN after every END statement AND every FILEDEF statement". It is very possible that, since there is no -RUN statement after the first END statement, the second FILEDEF messes up the first FILEDEF.
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
There are no SET commands to help, because an APPEND should only add to the file. It cannot change values already there.
Please can you show a limited output of what happens after the first and after the second holds, e.g. the 2 HOLD1 files, and where the file has changed.
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Hi all I am no expert but what about using the MORE command to append the database. From what i see here you data elements are all the same.
TABLE FILE XXXX PRINT ASDFF SDFGH ON TABLE HOLD AS HOLD1 FORMAT ALPHA MORE FILE QQQQ MORE FILE AAAA MORE FILE BBBB END -RUN
TABLE FILE HOLD1 PRINT ASDFF SDFGH END
Prod: WebFOCUS 7.1, 7.13, 7.6 Test: DevStudio 7.1, 7.6 Servlet - Self Service - MS Windows XP SP2 - Apache Tomcat 5.0.28 Output: HTML, Excel 2000 and PDF