FUNPARM parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 10: Line 10:
<dd>[[Fast/Unload|Fast/Unload User Language Interface]]
<dd>[[Fast/Unload|Fast/Unload User Language Interface]]
<dt>Introduced
<dt>Introduced
<dd>[[Sirius Mods]] 6.7
<dd><var class="product">Sirius Mods</var> 6.7
</dl>
</dl>
==Description==
==Description==

Revision as of 19:24, 22 June 2012

Summary

Default value
X'00'
Parameter type
System
Where set
System manager resettable
Related products
Fast/Unload User Language Interface
Introduced
Sirius Mods 6.7

Description

This is a bitmask parameter that controls the behavior of the Fast/Unload User Language Interface, where the bits mean:

X'01'
Indicates that a synchronous Fast/Unload request is not to be allowed while an updating transaction is active. This is to prevent a Fast/Unload request that might take a long time to complete from being run while a user has resources enqueued for an updating transaction. These resources would, of course, include the blocking of checkpoints if subtransaction checkpoints are not being used.

If the X'01' bit is set, and a thread attempts a synchronous Fast/Unload User Language Interface request (either via $Funload or the FastUnload method of the Recordset class) in the middle of an updating transaction, the transaction will be cancelled with a message like the following:

   CANCELLING REQUEST: MSIR.0561: $FUNLOAD: Synchronous request during
                       update transaction in line 43, procedure FUNTEST,
                       file ALEXPROC