FDM Script
Hi,
I have written a script that kicks off 'runbatch.bat':
myScriptName = fdmContext["BATCHSCRIPTDIR"] + "\RunBatch.bat"
command = '%s "%s" "%s" "%s"' %(myScriptName, "FDMU", "-f:EncryptFile", "RunBL")
fdmAPI.logDebug("Submitting runbatch request: " + command)
retcode = subprocess.Popen(command)
The log file shows:
2018-01-18 16:31:20,374 DEBUG [AIF]: Submitting runbatch request: \FinancialDataQuality\RunBatch.bat "FDMU" "f:EncryptFile" "RunBL"
2018-01-18 16:31:20,390 INFO [AIF]: End
There are no errors in the log file, and looking at what is actually happening in FDMEE, the script is not running the RunBatch.bat file.
If I copy the text: \FinancialDataQuality\RunBatch.bat "FDMU" "f:EncryptFile" "RunBL" from the log file and paste in the servers DOS window, the batch runs properly.