Using dsjob from a system that doesn't host a DS Server

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
sumitgulati
Participant
Posts: 197
Joined: Mon Feb 17, 2003 11:20 pm
Location: India

Using dsjob from a system that doesn't host a DS Server

Post by sumitgulati »

Hi,

I want to use dsjob for triggering the jobs in a DS Server installed in UNIX box. Now dsjob.exe is a server side component. How can I use dsjob from an NT system(that has only client installed in it) to trigger a DataStage job in UNIX server. Is it possible at all?

Regards,
Sumit
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Research rsh, it allows you to execute a command on a remote server (Unix or NT). You could have your NT workstation execute an rsh command to a script on the DS server which invokes dsjob.
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
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
in case running rsh from your windows machine is prohibited due to security reasons you can also place the 3 dll files mentioned in the api section of the servjdev.pdf documentation file and get a dsjob.exe there, then all you need is to use the dsjob command line the same as you would a regular windows server installation, be aware you need the windows version of the mentioned files to get it working.
(all legal/liscencing issues must be adressed, so contact your support for advice in case you only have the unix version)
IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Starting with 7.5 this is a 'non-issue'.
DSjob is now installed with DS client installation
--------------------------------------------------
The dsjob command-line utility is now installed as part of the DS client
installation. This will enable customers in Unix server environments to
control jobs from Windows DS client machines.
There have also been posts here recently detailing what you need to move to the client manually so you can do this as well. Hopefully a search would turn that up.

Or just wait for Roy to post the information. :lol:
-craig

"You can never have too many knives" -- Logan Nine Fingers
sumitgulati
Participant
Posts: 197
Joined: Mon Feb 17, 2003 11:20 pm
Location: India

Post by sumitgulati »

Thanks a lot guys. This really helps.
Post Reply