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     [CLOSED] Open ETLLOG.FOC

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Open ETLLOG.FOC
 Login/Join
 
Member
posted
Please assist what tool can be used to open ETLLOG.FOC located in ibi/srv77/dm/catalog?

NotePad++ does not read the file.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 20 | Registered: July 06, 2017Report This Post
Virtuoso
posted Hide Post
Suga

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, 2005Report This Post
Virtuoso
posted Hide Post
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 :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
How about reading it within DataMigrator?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Member
posted Hide Post
Thank you Doug,

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.


WebFOCUS 8
Windows, All Outputs
 
Posts: 20 | Registered: July 06, 2017Report This Post
Virtuoso
posted Hide Post
Suga

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, 2005Report This Post
Member
posted Hide Post
I just follow up with this discussion. Please advise how to open

/opt/insight/uat1/dm7704/ibi/srv77/dm/catalog/etllog.foc
file of 1 GB.

How can the file be opened from Webfocus Developer Studio?


WebFOCUS 8
Windows, All Outputs
 
Posts: 20 | Registered: July 06, 2017Report This Post
Virtuoso
posted Hide Post
You have to use WebFOCUS to create a report against it using the 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, 2005Report This Post
Expert
posted Hide Post
.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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
quote:
Originally posted by Suga:

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
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report 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     [CLOSED] Open ETLLOG.FOC

Copyright © 1996-2020 Information Builders