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] While Adding a new column into XFOC File, The File Size is doubled.
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] While Adding a new column into XFOC File, The File Size is doubled.
 Login/Join
 
Member
posted
Dear Team,

I am creating a new XFOC file and it contains 25 columns. The File size will be around 16lacs kb. And then, Now, I am going to add one more new column XXXX (A255) into the XFOC.
Now, The XFOC file size is doubled in 32 lacs kb.

For one column, Why it has increased the file size of doubled in kb?. Can you please help me to understand the concepts.

Thanks in Advance.

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


WebFOCUS 8
Windows, All Outputs
 
Posts: 27 | Registered: December 14, 2017Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Please make sure when creating new column you did not append the existing data to the existing file. check the file records.


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Reply With QuoteReport This Post
Expert
posted Hide Post
What are the other 25 columns formats ?

Are there multiple segments in the XFOC file ?

Can you post the Master ?

Also, thought about rebuilding the XFOC file ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6272 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Reply With QuoteReport This Post
Master
posted Hide Post
This is one of those things that IBI doesn't teach anymore, the structure of FOCUS and XFOCUS files, how records get added, how they are accessed and how to efficiently build them. I don't think they even teach their own staff anymore. For example, how many know that a A1 field really takes 4 bytes? Every A1 field wastes 75%. How many know how to get an A1 field to take 1 byte? How many realize that your Integer fields are internally stored as binary, take 4 bytes and one can change the format from I4 to I6 without doing a REBUILD? How many know, as long as a field is not part of the segment key and not indexed, you can change field names without a REBUILD? How many know about the record pointers in FOCUS and XFOCUS files? How many know that you don't have to access a FOCUS or XFOCUS file from the top segment? To me, as a developer, these are important things to know but as far as I know IBI hasn't taught this stuff in more than 20 years.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 956 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
Dang it, wheres the like button...


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6272 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] While Adding a new column into XFOC File, The File Size is doubled.

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