RE: Page size information
Posted in 1996
John, why don't you try to scan tb/onconfig and get the size from there? ciao, marco ____________________________________________________________________________ rem radioterapia, which I immeritately manage, seldom agrees with what I say marco greco (Catania, Italy) Work: marcog@ctonline.it rem radioterapia 39 95 447828 fax 446558 (was mar.greco@agora.stm.it) Achea 39 95 503117 --- On Thu, 18 Jul 1996 17:30:01 +0100 "John H. Frantz" wrote: This is a tough one: Does anyone know whether the system page size can be obtained programatically. I'm talking about the database page size that seems to be 2 Kbytes on most systems. I've heard that this size is 4 Kbytes on some systems (AIX?) and could possibly change on any given system with new versions. My program wants to report table size information to users, preferably in Kilobytes rather than in pages. The size information is contained in the "systables" in page units. I could just multiply the numbers by 2 to get kbyte units, but that doesn't ensure compatability with future upgrades or with ports to other systems. Does anyone have a clue, like about some undocumented SMI tables, SQL functions, c functions or whatever? Thanks in advance, -------------------------------------------------------------------- John H. Frantz Power-4gl: Extending Informix-4gl frantz@centrum.is http://www.strengur.is/~frantz/pow4gl.html