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.
A .foc file is a FOCUS database and can only be accessed using WebFOCUS. There is a master file .mas associated with it that WebFOCUS will use as it's metadata.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005
I guess the webconsole gets stuck on reading it in your case? At least, that was happening for us...
As a viable workaround, we just TABLE it (with some filters to limit the output to the relevant) to a FORMAT ALPHA file somewhere on disk. Then we view that file with Baretail, which is specialized in displaying (parts of) log files on Windows - similar to the UNIX tail command, but with a GUI.
Text editors usually aren't good at handling multi-megabyte text files, as they'll attempt to colour-code the contents and to track changes that are not going to occur anyway. For large files that will take time!
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
A log file in a FOCUS database? Not very efficient in my opinion. If it was a text file, there are utilities with which you can view the first or last x lines, or text editors that can handle large files, such as UltraEdit (with a minor config mod)...
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
Yes, I want to know how to read it within Data Migrator. How do I access and open ibi/srv77/dm/catalog/ETLLOG.FOC from DM?
Does ETLLOG.FOC file contain Datamigrator Log and Statistics(Logs and Traces)? My DM Log and statistics is not showing logs anymore when I click the blue link.
Yes it does contain the log data. One bad thing about having a focus database is that it has a 2 GB size restriction. Once it reaches that size it becomes unreadable. Using the Data Management Console you can recreate it by right mouse clicking on DataMigrator Log and Statistics under the Logs and Traces folder and choose Recreate.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005
.foc files are "FOCUS databases" which is a proprietary format, you cannot use a text editor to read them.
Since you're using Data Migrator, you could use it to create an ETL process to read etllog.foc and HOLD it in an alpha format, which will be readable by any text editor. Or create a simple fex to read and hold:
TABLE FILE ETLLOG
PRINT *
ON TABLE HOLD AS baseapp/ETLLOG_ALPHA FORMAT ALPHA
END
Your file is /opt/insight/uat1/dm7704/ibi/srv77/dm/catalog/etllog.foc You should be able to find the Master for this file at /opt/insight/uat1/dm7704/ibi/srv77/dm/catalog/etllog.mas or /opt/insight/uat1/dm7704/ibi/srv77/home/catalog/etllog.mas or somewhere else in /opt/insight/uat1/dm7704/ibi/srv77/
You could even filter on the DATE_STAMP column if you need to reduce the number of extracted rows.
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
Does ETLLOG.FOC file contain Datamigrator Log and Statistics(Logs and Traces)? My DM Log and statistics is not showing logs anymore when I click the blue link.
Nope. The etllog contains only the logs. The etlstats.foc contains the statistics.
If left unchecked, the log and stats files can get corrupted in time. I recommend that you build a routine to dump and reload these files every once in a while - depending on the number of jobs you run. The etlstats is not typically the problem as it is usually pretty small. The etllog can get very large over time. These are XFOCUS tables and not FOCUS tables, and as such are usually safe up to 9G in size.
If you want to see your stats, just use Francis' suggestion by use ETLSTATS instead of ETLLOG.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott