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,
Windows, All Outputs
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:126.96.36.199, 8.1.05 App-studio/Developer Studio(8.1.x) ,
188.8.131.52M , 184.108.40.206 (App-Studio8.2.x),
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
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 ?
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.
Dang it, wheres the like button...
|Powered by Social Strata|