<?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%24MULTIPATH%28%29</id>
	<title>F$MULTIPATH() - 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%24MULTIPATH%28%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=F$MULTIPATH()&amp;action=history"/>
	<updated>2026-05-02T09:10:32Z</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$MULTIPATH()&amp;diff=861&amp;oldid=prev</id>
		<title>Darya.zelenina: Created page with &quot;&#039;&#039;&#039;F$MULTIPATH&#039;&#039;&#039; is a lexical function that returns a specified item of information for a specific multipath-capable device (valid on Alpha and In...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=F$MULTIPATH()&amp;diff=861&amp;oldid=prev"/>
		<updated>2019-06-28T18:48:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;F$MULTIPATH&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 returns a specified item of information for a specific multipath-capable device (valid on &lt;a href=&quot;/Alpha&quot; title=&quot;Alpha&quot;&gt;Alpha&lt;/a&gt; and In...&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$MULTIPATH&amp;#039;&amp;#039;&amp;#039; is a [[Lexical functions|lexical function]] that returns a specified item of information for a specific multipath-capable device (valid on [[Alpha]] and [[Integrity]] server systems only).&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&lt;br /&gt;
F$MULTIPATH(device-name,item,context-symbol)&lt;br /&gt;
&lt;br /&gt;
=Return Value=&lt;br /&gt;
&lt;br /&gt;
A character string containing the requested information. &lt;br /&gt;
&lt;br /&gt;
=Arguments=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==device-name==&lt;br /&gt;
&lt;br /&gt;
Specifies a physical device name or a logical name equated to a physical device name. Specify the device name as a character string expression. After the device-name argument is evaluated, the F$MULTIPATH function examines the first character of the name. If the first character is an underscore (_), the name is considered a physical device name; otherwise, a single level of logical name translation is performed and the equivalence name, if any, is used. &lt;br /&gt;
&lt;br /&gt;
==item==&lt;br /&gt;
&lt;br /&gt;
Specifies the type of device information to be returned. The item argument must be specified as a character string expression. Currently, the only valid item is MP_PATHNAME, which returns a string with the path name for the specified multipath-capable device. &lt;br /&gt;
&lt;br /&gt;
==context-symbol==&lt;br /&gt;
&lt;br /&gt;
Prior to the first use of F$MULTIPATH with MP_PATHNAME, the context symbol must be initialized to a value of 0. The F$MULTIPATH function is responsible for maintaining the value of the context symbol. CAUTION Do not modify the context symbol value after it has been initialized to 0; doing so could result in unpredictable behavior of F$MULTIPATH.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 $       XYZ = 0 &lt;br /&gt;
 $ &lt;br /&gt;
 $LOOP: &lt;br /&gt;
 $       PATH = F$MULTIPATH( &amp;quot;$1$DGA12&amp;quot;, &amp;quot;MP_PATHNAME&amp;quot;, XYZ ) &lt;br /&gt;
 $       IF PATH .EQS. &amp;quot;&amp;quot; THEN GOTO EXIT &lt;br /&gt;
 $       WRITE SYS$OUTPUT &amp;quot;PATH NAME = &amp;#039;&amp;#039;PATH&amp;#039;&amp;quot;&lt;br /&gt;
 $       GOTO LOOP &lt;br /&gt;
 $ &lt;br /&gt;
 $EXIT: &lt;br /&gt;
 $       EXIT &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example shows the use of F$MULTIPATH with the MP_ PATHNAME item code. Note that the context symbol XYZ has been initialized to 0 outside of the loop. The output from this command procedure is shown below: &lt;br /&gt;
&lt;br /&gt;
 path name = PGA0.5000-1FE1-0001-5782 &lt;br /&gt;
 path name = PGA0.5000-1FE1-0001-5783 &lt;br /&gt;
 path name = PGA0.5000-1FE1-0001-5781 &lt;br /&gt;
 path name = PGA0.5000-1FE1-0001-5784 &lt;br /&gt;
 path name = MSCP &lt;br /&gt;
&lt;br /&gt;
When all paths for a given multipath device have been returned, the end of the list is signaled by the return of a blank path name. &lt;br /&gt;
&lt;br /&gt;
[[Category:Lexical Functions]]&lt;/div&gt;</summary>
		<author><name>Darya.zelenina</name></author>
	</entry>
</feed>