FDM can execute scripts in parallel by using a command line interface object. Scripts that are run from within asynchronous script shells execute in parallel mode.
Execution in parallel mode is also supported in Task Manager. Task Manager enables scripts to execute simultaneously or asynchronously.
Sub AsynchScript() ‘------------------------------------------------------------------ ‘FDM Custom Script: ‘ ‘Created By: Admin ‘Date Created: 3/23/2006 13:57 ‘ ‘Purpose: Asynchronous Script Processing ‘ ‘------------------------------------------------------------------ ‘Declare Local Variables Dim strScriptToRun Dim strLoadBalanceServerName ‘Initialize variables Variables strScriptToRun = “YourScriptName” ‘Name of the script to execute (Type Custom General Only) strLoadBalanceServerName = “LocalHost” ‘Load balance server for Asynchronous process to use ‘Execute the script If API.DataWindow.Utilities.fExecuteCustomScriptAsync(CStr(strScriptToRun), CStr(strLoadBalanceServerName)) = True Then ‘Async Script Started, you can make another call while it is executing Else ‘Async process failed to start End If End Sub ------------------------------------------------------------------