Hi
I am Using Server Edition and My DataStage is Installed on Unix Box . But I want to execute some DOS Commands like from Datastage.
Is it Possible to do so like invoking the DOS Commands through DataStage ??
I would appreciate any help on this . Thanks.
Invoking Dos Commands through Datastage
Moderators: chulett, rschirm, roy
Invoking Dos Commands through Datastage
Regards
Lotus26
Lotus26
-
- Premium Member
- Posts: 503
- Joined: Wed Jun 29, 2005 8:14 am
Re: Invoking Dos Commands through Datastage
But My Files are on Windows Box. I wonder is this possible still like use the execcommand stage in Sequencer??
Thanks.
Thanks.
Regards
Lotus26
Lotus26
Invoking Dos Commands
DSguru2B wrote:Maybe remote shellOr install samba, this way windoze will become transparent and you can see/execute files on windoze.
So through Datastage can I invoke Samba or remoteshell and that way I can execute the DOS Commands on the files which are on Windows box??
Thanks.
Regards
Lotus26
Lotus26
The only way to run a DOS command is to clarify which PC you wish to use. Then, use remsh or ssh to run a remote command on a Windoze machine. This Unix program can be executed using a Command stage in a Sequence, which simply calls the DSExecute API. You can do the same within a Batch job or thru a custom function/routine.
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
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