Page 1 of 1

How to execute vbs script on remote Win server

Posted: Fri Mar 19, 2010 3:16 am
by jinm
Hi
I Have searched for appropriate solution already and not found any, so here goes:

Requirement is from Windows server to create a datastage server job that can execute a vbs script on another windows server.
To map the drive is NOT an option (customer requirement), since that will move the ressources (CPU, Memory) used in the vbs-execution from remote server to the local DS server.

In additon to recieve a status code, we also need to get any error message that the vbs will produce.

Is there any way to resolve this in a "native" datastage job, or will we rely on a job, that executes a local script that in its turn will do the remote connect and execution??

Thanks in advance

Posted: Fri Mar 19, 2010 6:15 am
by chulett
No, there's nothing "native" for this. So, however you would do this from your DataStage server without using DataStage is exactly the same way as you would need DataStage to do it for you.

Posted: Fri Mar 19, 2010 6:20 am
by jinm
as suspected - well thanks anyway

*--
any template solutions out there will be more than welcome