Page 1 of 1
remote call command tool
Posted: Mon Feb 13, 2006 3:26 am
by evanmaas
Hi,
We need a remote command call tool in Datastage. Important for this tool is:
- give execute status (result) back to Datastage
- need to be start in parallel mode (multi-use), so more then once at the same time.
Which remote command call tool we can best use within Datastage? Is there someone who has experience in the case we'll use ?
Kind Regards,
Erik
Posted: Mon Feb 13, 2006 3:35 am
by ArndW
Erik,
What sort of a tool are you looking for - one that works under Windows in a similar way to the UNIX "rsh"? You can call OS commands from DataStage, so almost any command you can call from a command window can also be called from DataStage and return both an error code and all of the screen output can also be captured and returned to DataStage.
Posted: Mon Feb 13, 2006 4:16 am
by manojkumarnayak
You can use CLI for that.
After your required process you can start your DS job.
regards
manoj
Posted: Mon Feb 13, 2006 4:54 am
by evanmaas
ArndW,
The tool that I looking for is simular as Unix 'rsh'.
I know how it use in Datastage, but very important is that the tool is multi-use at the same time, so parallel use.
Regards,
Erik
ArndW wrote:Erik,
What sort of a tool are you looking for - one that works under Windows in a similar way to the UNIX "rsh"? You can call OS commands from DataStage, so almost any command you can call from a command window can also be called from DataStage and return both an error code and all of the screen output can also be captured and returned to DataStage.
Posted: Mon Feb 13, 2006 4:56 am
by evanmaas
Manoj,
Can you explain the tool CLI? Never heard about it.
Regards,
Erik
manojkumarnayak wrote:You can use CLI for that.
After your required process you can start your DS job.
regards
manoj
Posted: Mon Feb 13, 2006 4:57 am
by ArndW
Have you thought about using the MKS Toolkit or a similar set of utilities and implementing "rsh" and/or "ssh" to to this? If you are remaining in the Windows environment you can use the Microsoft built-in facilities for remote command execution as well. All of these commands can be executed in parallel - but whether it will work in parallel really depends which program(s) you are calling on the remote system(s).
Posted: Mon Feb 13, 2006 5:33 am
by manojkumarnayak
i am talking about command line interface (CLI). You can tools like MKS tool kit or Windows Services for Unix ( Microsost) or Cygwin for this purpose.
they have the facility for remote execution like "rsh" , "rexec" etc.
You can use perl script for that.
regards
manoj