Search found 2 matches

by Oferw
Sun Sep 25, 2005 7:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command line processing on remote server
Replies: 8
Views: 4237

From within Datastage
- Execute command activity the command is...

"D:\prod\tamar\START_TAMAR_C2P_ON_SAS01.bat"

It runs a batch file that does the following:
c:
cd\psexec
psexec \\sas-01 -u campus\sas_scheduler -p xxxxxx D:\SharedData\ETL\tamar_c2p.bat
by Oferw
Sat Sep 24, 2005 11:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command line processing on remote server
Replies: 8
Views: 4237

Command line processing on remote server

When a condition is met, I need to execute a batch program (SAS) on a remote server. OS on both sides is WIN 2003. I tried RCONSOLE and PSEXEC. PSEXEC seems to work if run manually, outside of datastage but when running from within datastage it is rather erratic. Sometimes it runs and sometimes not ...