Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Way to view a Focus format file.
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Way to view a Focus format file.
 Login/Join
 
Member
posted
Hi all,
I would like to browse through a file which is in FOCUS format.
My question is
1. Can we view a file which is in Focus format using its master file layout?
One thing we can do is rerun the Focus job by modifying the "HOLD AS" to "SAVE AS" in FOCEXEC and browse the saved file.

2. Please suggest if there exists other methods to view a focus format file?
It could be any thing like directly view FOCUS Format files using tools like star tool or Fileaid.
If there is special command/procedure that can be used to view the file.

Thanks in advance
G Sri Harsha.

This message has been edited. Last edited by: Kerry,
 
Posts: 4 | Location: San Francisco | Registered: November 15, 2010Reply With QuoteReport This Post
Virtuoso
posted Hide Post
The FOCUS format file is a proprietary IBI only format. I have no knowledge of any other product that can read/view the contents of such a file. As far as I know, only (Web)FOCUS can read these files.


GamP

- Using AS 8.2.01 on Windows 7 - IE11.
in Focus since 1988
 
Posts: 1960 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteReport This Post
Gold member
posted Hide Post
Hi,

GamP is correct. Some details are as follows: page 1 stores a sort of table of contents with DB structure and pointers to data pages. Each page stores data for each instance with vertical and horizontal pointers to te next instance of that data and child data, respectively.

Indexes tables are b-tree structures and are stored on separate pages. A multi-level design promotes efficient retrieval of indexed records especially for unique values.

I wrote a course about 20 years ago while at IBI that maps all this info in detail. Please ask your IBI rep. for info on a possible updated version.

Hope this helps.

Nick


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.
 
Posts: 83 | Registered: February 26, 2009Reply With QuoteReport This Post
Virtuoso
posted Hide Post
If you just want to see its contents, you can issue a TABLE FILE command from the command console.

If you want to see a specific focus file somewhere else in the file-system, you can probably issue an APP MAP command, followed by a TABLE FILE once again, but I've never had the need to.

I suppose to really answer your question people would need to know what you're hoping to achieve by browsing through a focus file.


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: 1643 | Location: Enschede, Netherlands | Registered: August 12, 2010Reply With QuoteReport This Post
Member
posted Hide Post
Hi all,
Thanks for the replies and suggestions.
I wanted to browse the focus files bcoz i though it will aid me in undeerstanding the focus procedures more easily.


Focus 7.62, ZOS/Mainframes, Excel
 
Posts: 4 | Location: San Francisco | Registered: November 15, 2010Reply With QuoteReport This Post
Expert
posted Hide Post
TABLE FILE file-name
PRINT *
END

should do the job, or using the Master, explore the segments and print each individually.

Wot's "bcoz"?


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, 2005Reply With QuoteReport This Post
<JG>
posted
quote:
bcoz

What e-mail and texting has done to the English language.
Because people are lazy.
 
Reply With QuoteReport This Post
Master
posted Hide Post
In the dark times (before WebFOCUS), there were the SCAN and FSCAN commands.

SCAN Subcommand Summary

FSCAN Functions

You need to be careful with these because not only can you view the data, you can update the data as well.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 917 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteReport This Post
<JG>
posted
Actually It still exists

from a command line session

edastart -t
 
Reply With QuoteReport This Post
Virtuoso
posted Hide Post
We never throw anything away, do we?


GamP

- Using AS 8.2.01 on Windows 7 - IE11.
in Focus since 1988
 
Posts: 1960 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Way to view a Focus format file.

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.