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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
The file size is not necessarily equal to the focus DB size. For example, if you write a table file of about 1k out to a pre-existing hold file of 2 GB, then your hold file will stay that size, but hardly any of the file gets used (just that 1k at the start).
Ian's answer gets you the DB size (1k in above example), while Waz's answer gets you the actual file size (2 GB).
It would be cool to be able to report on these. Is there a way to make the result of "? FILE xxx" available to FOCUS? I assume there's a FOCUS command under the hood somewhere in there?
Unfortunately, there doesn't appear to be a command to just trim the fat off the large file. If you want to reduce it to its minimum required size, you'll have to either REBUILD it or delete and recreate it.
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 :
Yes that's right so your actual space requirements are 453,603,328 bytes or as it says 110,748 blocks (equates to 9,299 tracks or 615 cylinders) - so best to have all this as primary and say 25 cyls secondary. I see you are on the first extent only so that's OK.
_______________________ *** WebFOCUS 8.1.05M ***
Posts: 196 | Location: London, UK | Registered: December 06, 2005
If you are in an MVS environment, tbe following command will place file attribute info from the ? TSO ddname command into Dialogue Manager variables. The Dialogue Manager variables will have the same names as the attribute names returned by the ? TSO DDNAME command (i.e., &DDNAME, &DSNAME, &DISP, &DEVICE, &VOLSER, &DSORG, &RECFM, &SECONDARY, &ALLOCATION, &BLKSIZE, &LRECL, &TRKTOT, &EXTENTSUSED, &BLKSPERTRK, &TRKSPERCYL, &CYLSPERDISK, &BLKSWRITTEN, &FOCUSPAGES).
-? TSO DDNAME ddname
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007