Page 1 of 1

Invoking DS Jobs

Posted: Wed Jan 31, 2007 7:58 am
by Rony Mathai
Hi,

How can we invoke DS Job command to run the job when there are multiple ports on a single server.

Regards,
Rony and Nikhilesh

Posted: Wed Jan 31, 2007 8:00 am
by DSguru2B
If you are on the same server do dsjob -run. You dont have to worry about any ports. Search this forum for more details on exact syntax of dsjob command. If you think I have misunderstood your question then please explain.

Posted: Wed Jan 31, 2007 8:00 am
by ArndW
use something along the lines of "dsjob -server :31540 -run -mode ..."

Posted: Wed Jan 31, 2007 8:01 am
by DSguru2B
So specifying the port number is a developers job? :? Doesnt the OS take care of that itself?

Posted: Wed Jan 31, 2007 8:02 am
by chulett
:? Can you clarify your question, please? "Multiple ports on a single server"? I don't see how that's related to using the dsjob command... or are you referring to multi-instance jobs?

Posted: Wed Jan 31, 2007 9:01 am
by ArndW
I might have jumped the gun, I assumed that the original poster meant that he/she had multiple engines (which use different ports) on the same machine. If that isn't the case I'd better remove my post as that would confuse matters.

Posted: Wed Jan 31, 2007 9:31 am
by chulett
We need to wait and see who has been jumping what gun, if any. :wink:

Posted: Wed Jan 31, 2007 10:10 pm
by Rony Mathai
Hi,
I will just explain our query in more detail.
Our client have reinstalled the DataStage server at different directories and this time they have enabled UTF format on DataStage server so with this reinstallation on different directories, now we have two datastage instances on one server.Earlier in our scripts we were not mentioning any ports but now it seems that we will have 2 ports 31539 and 31538.Do we need to include the
dsjob -server :Port -run as told by ArndW in our scripts??

The client is going to remove one of the instances later.

Regards
Rony

Posted: Wed Jan 31, 2007 11:12 pm
by ray.wurlod
Only for the non-default port number (31539).