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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
How can I just refresh focus file and not master file.We created new dimensions on master file and every time the focus file is refreshed the new master is created.
Please let me know.
Thank you RKThis message has been edited. Last edited by: Tamra,
1. Delete and load the new records into the FOCUS file
2. HOLD as different name and use the USE command to point your master to the generated FOCUS file. This may not work , depending on the changes you have done to the master.
You may also be able to add the extra lines of master file under program control as well.
Alternatively use APP HOLDMETA to an app folder lower down in your PATH, so that your new synonym is created lower down in the path so that the synonym you want to be used is the first found.
Just be very careful that the synonym is compatible!!
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
I assume you are creating the Focus file via HOLD FORMAT FOCUS -- which will indeed replace the .mas file along with the .foc file -- and you have added information into the .mas file (joins, defines, titles, whatever) that you wish to preserve across such refreshes.
You can either [1] save the enhanced .mas under another name (an "alternate master file") , and use USE to point to the focus file [ that's essentially WAZ's second approach ]; or, [2] create a Business View synonym that points to the HOLD file.
The former operates without looking at the .mas that the HOLD refreshes, and so will likely break if you make any change to your TABLE HOLD request. The latter operates through the underlying file's .mas, so it can survive some such changes.
Either solution is keeps all the filenames distinct, as opposed to Tony's suggestion.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
You can use the CREATE command to truncate the table, and then load it all using modify. This way your never changing your master and you don't need to use tricks.
Eric Woerle 8.1.05M Gen 913- Reporting Server Unix 8.1.05 Client Unix Oracle 11.2.0.2
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013