remote call command tool

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
evanmaas
Charter Member
Charter Member
Posts: 60
Joined: Tue Apr 22, 2003 5:19 am
Location: Belgium

remote call command tool

Post 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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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.
manojkumarnayak
Participant
Posts: 21
Joined: Fri Nov 04, 2005 11:31 am

Post by manojkumarnayak »

You can use CLI for that.
After your required process you can start your DS job.

regards
manoj
evanmaas
Charter Member
Charter Member
Posts: 60
Joined: Tue Apr 22, 2003 5:19 am
Location: Belgium

Post 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.
evanmaas
Charter Member
Charter Member
Posts: 60
Joined: Tue Apr 22, 2003 5:19 am
Location: Belgium

Post 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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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).
manojkumarnayak
Participant
Posts: 21
Joined: Fri Nov 04, 2005 11:31 am

Post 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
Post Reply