Operating System - OpenVMS
1829880 Members
5746 Online
109993 Solutions
New Discussion

Info: F$GETSYI("MEMSIZE")

 
SOLVED
Go to solution
Uwe Zessin
Honored Contributor

Re: Info: F$GETSYI("MEMSIZE")

B2B$F ?
.
Guy Peleg
Respected Contributor

Re: Info: F$GETSYI("MEMSIZE")

We named the new function F$CVUNITS.

The new function takes 3 parameters

(Number to convert,
from units,
to units)

A typical call for converting blocks
to bytes will look like:

VMS2_LEE> write sys$output f$cvunits(237765,"blocks","bytes")
116.09MB

Guy
Willem Grooters
Honored Contributor

Re: Info: F$GETSYI("MEMSIZE")

When can we use this, next DCL patch? (7.3-2 and 8.2, obviously)
Willem Grooters
OpenVMS Developer & System Manager
Karl Rohwedder
Honored Contributor

Re: Info: F$GETSYI("MEMSIZE")

I hope, the other way round would also allow
for F$cvunit("100MB","bytes","blocks")?

regards Kalle
Guy Peleg
Respected Contributor

Re: Info: F$GETSYI("MEMSIZE")

F$CVUNITS will ship with the next version
of the O/S. We tend not to ship new
functionality in ECOs unless there is
a special need. If you would like to
request that we'll ship F$CVUNITS earlier
than next release, contact me offline and
I'll send you the details on who you should
be contacting.

Guy