Invoking DS Jobs

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Rony Mathai
Participant
Posts: 5
Joined: Tue Jan 16, 2007 6:53 am
Location: Bangalore

Invoking DS Jobs

Post 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
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post 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.
Last edited by DSguru2B on Wed Jan 31, 2007 8:00 am, edited 1 time in total.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

use something along the lines of "dsjob -server :31540 -run -mode ..."
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

So specifying the port number is a developers job? :? Doesnt the OS take care of that itself?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

We need to wait and see who has been jumping what gun, if any. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Rony Mathai
Participant
Posts: 5
Joined: Tue Jan 16, 2007 6:53 am
Location: Bangalore

Post 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
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Only for the non-default port number (31539).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply