<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.signature.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=Get_Handles</id>
		<title>Get Handles - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=Get_Handles"/>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=Get_Handles&amp;action=history"/>
		<updated>2026-05-13T00:22:40Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.signature.net/index.php?title=Get_Handles&amp;diff=1561&amp;oldid=prev</id>
		<title>Badge at 11:59, 13 June 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=Get_Handles&amp;diff=1561&amp;oldid=prev"/>
				<updated>2009-06-13T11:59:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:59, 13 June 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Discussion:'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Discussion:'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The DOSMS function call can be used to get the handle(s) of an open file. &amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The DOSMS function call can be used to get the handle(s) of an open file. &amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Prior to executing this function, the file must be open. This function requires the LUN of the open file. &amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Prior to executing this function, the file must be open. This function requires the LUN of the open file. &amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Badge</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=Get_Handles&amp;diff=1560&amp;oldid=prev</id>
		<title>Badge: New page: '''Get Handles'''  '''Syntax:'''   DOSMS(AX-value,BX-value,CX-value,DX-value) EXCP=statement-label   '''Entry:'''   AX-value = &quot;@FFF4@&quot;   BX-value = Logical Unit Number of the file (the fi...</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=Get_Handles&amp;diff=1560&amp;oldid=prev"/>
				<updated>2009-06-13T11:56:47Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;#39;&amp;#39;&amp;#39;Get Handles&amp;#39;&amp;#39;&amp;#39;  &amp;#39;&amp;#39;&amp;#39;Syntax:&amp;#39;&amp;#39;&amp;#39;   DOSMS(AX-value,BX-value,CX-value,DX-value) EXCP=statement-label   &amp;#39;&amp;#39;&amp;#39;Entry:&amp;#39;&amp;#39;&amp;#39;   AX-value = &amp;quot;@FFF4@&amp;quot;   BX-value = Logical Unit Number of the file (the fi...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Get Handles'''&lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''&lt;br /&gt;
  DOSMS(AX-value,BX-value,CX-value,DX-value) EXCP=statement-label  &lt;br /&gt;
'''Entry:'''&lt;br /&gt;
  AX-value = &amp;quot;@FFF4@&amp;quot;&lt;br /&gt;
  BX-value = Logical Unit Number of the file (the file must&lt;br /&gt;
             be open prior to this function call)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
'''Return:''' &lt;br /&gt;
 CX-value = the DOS handle of the file&lt;br /&gt;
 DX-value = the DOS handle of the key tree (I00 file)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
'''Discussion:'''&lt;br /&gt;
The DOSMS function call can be used to get the handle(s) of an open file. &amp;lt;br&amp;gt;&lt;br /&gt;
Prior to executing this function, the file must be open. This function requires the LUN of the open file. &amp;lt;br&amp;gt;&lt;br /&gt;
This function returns two values. The CX-value contains the handle of the open file, and the DX-value contains the handle of the key tree file (i.e., the I00 file) if the file is a keyed file. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once your program has these file handles, it can use them to copy or otherwise manipulate the file. &lt;br /&gt;
&lt;br /&gt;
The following code segment demonstrates this function: &lt;br /&gt;
&lt;br /&gt;
 OPEN (5) &amp;quot;AR1&amp;quot;, DIR=&amp;quot;DSK&amp;quot;     ! open keyed file on LUN 5&lt;br /&gt;
 AX$ = &amp;quot;@FFF4@&amp;quot;                ! set AX to &amp;quot;get handles&amp;quot;&lt;br /&gt;
 BX$ = &amp;quot;5&amp;quot;                     ! set BX to LUN&lt;br /&gt;
 DOSMS(AX$,BX$,CX$,DX$)        ! execute function&lt;br /&gt;
 DATA.HANDLE$ = CX$            ! CX = handle of data file&lt;br /&gt;
 KEY.HANDLE$  = DX$            ! DX = handle of key tree&lt;/div&gt;</summary>
		<author><name>Badge</name></author>	</entry>

	</feed>