<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=F%24CUNITS</id>
	<title>F$CUNITS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=F%24CUNITS"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=F$CUNITS&amp;action=history"/>
	<updated>2026-05-02T09:14:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=F$CUNITS&amp;diff=479&amp;oldid=prev</id>
		<title>Darya.zelenina: Created page with &quot;&#039;&#039;&#039;F$CUNITS&#039;&#039;&#039; is a lexical function that converts values between blocks, bytes, kilobytes, megabytes, gigabytes, and terabytes.  =Syntax=   F$CUNITS(num...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=F$CUNITS&amp;diff=479&amp;oldid=prev"/>
		<updated>2019-04-05T08:36:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;F$CUNITS&amp;#039;&amp;#039;&amp;#039; is a &lt;a href=&quot;/Lexical_functions&quot; title=&quot;Lexical functions&quot;&gt;lexical function&lt;/a&gt; that converts values between blocks, bytes, kilobytes, megabytes, gigabytes, and terabytes.  =Syntax=   F$CUNITS(num...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;F$CUNITS&amp;#039;&amp;#039;&amp;#039; is a [[Lexical functions|lexical function]] that converts values between blocks, bytes, kilobytes, megabytes, gigabytes, and terabytes.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&lt;br /&gt;
 F$CUNITS(number [,from-units, to-units])&lt;br /&gt;
&lt;br /&gt;
from-units:&lt;br /&gt;
* BLOCKS&lt;br /&gt;
* B&lt;br /&gt;
* KB&lt;br /&gt;
* MB&lt;br /&gt;
* GB&lt;br /&gt;
* TB&lt;br /&gt;
&lt;br /&gt;
to-units:&lt;br /&gt;
* BLOCKS&lt;br /&gt;
* BYTES (supported only for BLOCKS to BYTES conversions)&lt;br /&gt;
* B&lt;br /&gt;
* KB&lt;br /&gt;
* MB&lt;br /&gt;
* GB&lt;br /&gt;
* TB&lt;br /&gt;
&lt;br /&gt;
=Example=&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ WRITE SYS$OUTPUT F$CUNITS(1024)&lt;br /&gt;
512KB&lt;br /&gt;
&lt;br /&gt;
$ WRITE SYS$OUTPUT F$CUNITS(1024, &amp;quot;BLOCKS&amp;quot;)&lt;br /&gt;
512KB&lt;br /&gt;
&lt;br /&gt;
$ WRITE SYS$OUTPUT F$CUNITS(1024, &amp;quot;BLOCKS&amp;quot;, &amp;quot;BYTES&amp;quot;)&lt;br /&gt;
512KB&lt;br /&gt;
&lt;br /&gt;
$ write sys$output f$cunits(512,&amp;quot;bytes&amp;quot;,&amp;quot;blocks&amp;quot;)&lt;br /&gt;
%DCL-W-CONFLICT, illegal combination of command elements - check documentation&lt;br /&gt;
 \BYTES\&lt;br /&gt;
&lt;br /&gt;
$ write sys$output f$cunits(512,&amp;quot;b&amp;quot;,&amp;quot;blocks&amp;quot;)&lt;br /&gt;
1BLOCKS&lt;br /&gt;
&lt;br /&gt;
$ write sys$output f$cunits(10000,&amp;quot;blocks&amp;quot;,&amp;quot;gb&amp;quot;)&lt;br /&gt;
0GB&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Lexical Functions]]&lt;/div&gt;</summary>
		<author><name>Darya.zelenina</name></author>
	</entry>
</feed>