executing a batch file from unix

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
dsquestion
Participant
Posts: 26
Joined: Thu Feb 03, 2005 1:05 am

executing a batch file from unix

Post by dsquestion »

Hi all,

can i execute a windows batch file through a datastage mapping.Datastage is in unix.

comments appreciated
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Dsquestion,

no, you cannot. All jobs are executed exclusively on the DataStage server machine.

There are ways you can make a UNIX server execute a .BAT script on a windows machine, but they are outside of the scope of the DataStage product.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

I recommend you google:

Code: Select all

rsh
rlogin
remsh
rcopy
Any server can run commands on a remote server using the above mentioned programs. NT can run stuff on Unix and vice versa.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
dsquestion
Participant
Posts: 26
Joined: Thu Feb 03, 2005 1:05 am

Post by dsquestion »

Hi,
Thanks for the comments.Is it possible in Datastage Enterprise Edition?
If so can you please guide me.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Sequencers, before/after routines, Batch jobs, and just plain old shell scripts can run Unix operating system commands. DataStage has nothing to do with it.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply