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 Carol, here's some rebuild reorg code that works USE D:\IBI\....\EKGHST03.FOC END -RUN REBUILD REORG DUMP EKGHST03 NO CMD ERASE D:\IBI\....\EKGHST03.FOC REBUILD REORG LOAD EKGHST03 -RUN REBUILD CHECK EKGHST03 -RUN CMD NET SEND GR48ET007 done some relevant message here --- and some rebuild reindex USE D:\IBI\....\EKGHST03.FOC END -RUN REBUILD INDEX EKGHST03 -- thats the filename KEYUR -- thats the indexfield name -RUN ? FILE EKGHST03 CMD NET SEND GR48ET007 done some other message here --- and some rebuild check USE D:\IBI\....\EKGHST03.FOC END -RUN REBUILD CHECK EKGHST03 -- thats the filename
.... that's all i know...maybe it can help. the biggest difference that i see is that i name only the filename, not the full unc. i've issued a USE beforehand.
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Here's one more twist to this. What if you have to update an MFD with field changes or new fields and update the db structure to reflect the changes? The process is to REBUILD/DUMP the data from the old structure, create an empty DB using the new structure, then load the dumped out data into it.
Here's some code I have that does just that:
-* Step 1: Dump out the data from the old database format REBUILD REORG DUMP <MYOLDDB> NO -RUN -* Step 2: Copy the new master over the old master -DOS COPY e:\ibi\apps\<myfolder\<newmfd>.mas e:\ibi\apps\<myfolder>\<oldmfd>.mas -RUN -* Step 3: Delete the old database -DOS DEL e:\ibi\apps\<myfolder>\<myolddb>.foc -* Step 4: Create a new empty database with the updated master CREATE FILE <MYOLDDB> -RUN -* Step 5: Load the data from the old database into the newly created database REBUILD REORG LOAD <MYOLDDB> Y -RUN -* Step 6: Copy the newly reloaded <myolddb>.foc database from the temp folder to the permanent location -DOS COPY <myolddb>.foc e:\ibi\apps\<myfolder>\<myolddb>.foc
Dennis
Posts: 38 | Location: Denver, CO | Registered: March 16, 2005
I've had a REBUILD job running in ReportCaster since January working fine, runs every Saturday. All of the sudden my job can't handle FOCUS database names longer than 8 characters which they all are. I can't rebuild CharonAsset.foc but I can rebuild CharonAs.foc We upgraded our server to WF 5.2.9 a few weeks ago. Anyone run into this?
Thanks, Carol
WebFOCUS 7.6.6/TomCat/Win2k3
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003
holy cow that's a nightmare, Carol! Can you do the shortname rebuild and then DOS RENAME the files? or DOS COPY? Did you open a case? let us know what they say, would you?
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
The REBUILDs worked in 5.2.8 and not 5.2.9 We recently installed 5.2.9 patch to take care of large alpha fields that failed if there were more than 1064 characters present in the fields which we needed for reporting. IBI said the REBUILD problem is a known problem in the later releases of 5.2x and it's in programming. I don't believe there's a patch at this time and they don't have a workaround. Since the DOS shortnames didn't work, I'm going to try to build into my batch the DOS COPies, REBUILDS, DOS Copy back to the database names the applicatoin expects. Sounds like it will work. I'll let you know if it doesn't. Thanks.
The REBUILDS are key, so I agree this is a nightmare, not sure how someting like this could have been missed.
Thanks, Carol
WebFOCUS 7.6.6/TomCat/Win2k3
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003
DOS COPY longnames.foc to shortnames.foc along with it's master. Then REBUILD the shortname.foc and copy the files back to the longname. What a pain, I had 28 databases!!!!
IBI has not yet replied if there is a patch for this problem. I hope none of you run into this problem!
WebFOCUS 7.6.6/TomCat/Win2k3
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003