Product:
IBM Cognos TM1 10.2.2
Microsoft Windows 2012 R2 Server
Sterling Integrator / Connect Direct
Problem:
When calling a BAT file from a TM1 TI process, to call other program, to send files or other systems task.
You get not the result you wanted.
The BAT file works fine when run direct in DOS prompt, and then the job get done.
But when called from a TI process – there are no errors – but the job is not executed.
Example of TI code to call a BAT file:
SIpath = ‘C:\cdroot\processer\PW188\PW188.bat’;
ExecuteCommand ( SIpath, 0);
Possible solution:
On the Microsoft Windows 2012 server create this two folders (if they do not exist):
C:\Windows\System32\config\systemprofile\Desktop
C:\Windows\SysWOW64\config\systemprofile\Desktop
This folders are needed when you run Applications without a user logged in, in Windows.