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     Append to Focus Hold File

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Append to Focus Hold File
 Login/Join
 
Master
posted
I've only been working with webfocus for a few months, so this is probably an easy answer.

We currently build a .FOC Hold file off an SQL statement every night and it takes some time to complete, is there any way to Append to the hold file rather than replacing it altogether everynight?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
Jason,

Do a search on Append on this forum...there are several discussions on this topic...see if any helps.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Master
posted Hide Post
I'm sorry, I shoud have specified that I don't want any duplicates.

I'd like to do the equivalent of a
"select * from
my_db2_database_table
where
some_unique_value
not in
(select some_unique_value from my_foc_hold)"


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Expert
posted Hide Post
Jason,
you can (and probably should) use the MODIFY and UPDATE syntax for updating, adding and deleting records from a focus db. Its brilliant.
Go to your tech support page and locate and download the MODIFY manual.
APPEND i would only use for flat files.
(it may work for focus files, but i just wouldnever use it)
FILEDEF MYFILE DISK somefilename
...then create the file
...later, if youw ant to add to it..
FILEDEF MYFILE DISK somefilename (APPEND
...and now whenyou write to it, the new records will go on at the end.
Without the (APPEND, your file would be overwritten.

a note on syntax: a 'FOC' file and a 'hold' file
usually mean 2 different things. a '.FOC' is a focus database where as a 'hold' file generally refers to something else...a temporary file in some interim step, and usually a .ftm, which is essentially a flat file, not an actual focus database.

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




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
Jason
I do something like that, but it's all done with ETL. It gives me more control and it is all scheduled during the night.
You can append or update. (In fact there is a match process running with several cases)
Good luck




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, 2006Report 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     Append to Focus Hold File

Copyright © 1996-2020 Information Builders