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 email@example.com for further assistance. Reference the community FAQ to learn more about the community.
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