<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.mergeCancel.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.mergeCancel</api:function-name><api:suggest>xdmp.mergecancel</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>mergecancel</api:suggest><api:function-link mode="xquery" fullname="xdmp:merge-cancel">/apidoc/8.0/xdmp:merge-cancel.xml</api:function-link><api:function mode="javascript" name="mergeCancel" type="builtin" lib="xdmp" category="AdminBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.mergeCancel"><api:summary>
  Cancel the merge with the specified merge ID on a forest with the
  specified forest ID.
</api:summary><api:params><api:param name="forest-ID" type="xs:unsignedLong"><api:param-description>
    A forest ID.
  </api:param-description><api:param-name>forest-ID</api:param-name><api:param-type>String</api:param-type></api:param><api:param name="merge-ID" type="xs:unsignedLong"><api:param-description>
    A merge ID, which is available from the output of
    
    <code class="javascript" xmlns="http://www.w3.org/1999/xhtml">xdmp.forestStatus</code>.
  </api:param-description><api:param-name>merge-ID</api:param-name><api:param-type>String</api:param-type></api:param></api:params><api:return>null</api:return><api:privilege>
  <p xmlns="http://www.w3.org/1999/xhtml"><code>http://marklogic.com/xdmp/privileges/request-my-requests</code>
  or
  <code>http://marklogic.com/xdmp/privileges/request-any-requests</code></p>
</api:privilege><api:usage>
  To cancel a merge on a database, find all of the forests in the database
  and use  
  <code class="javascript" xmlns="http://www.w3.org/1999/xhtml">xdmp.mergeCancel</code> on each forest.
</api:usage><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
xdmp.mergeCancel(98394839084390843,3838938902783)
=&gt; ()
</pre></api:example></api:function></api:function-page>