how to Run DSjobs on command prompt on Unix machine

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
monaz
Participant
Posts: 98
Joined: Sat Aug 23, 2008 3:14 am

how to Run DSjobs on command prompt on Unix machine

Post by monaz »

hi All,

Can anyone please guide me how to run DS jobs on command prompt and Unix server

Please suggest the commands to start with?

One more question jobs are in different folders of that application, can i access any folder and run that job or should it kept in some directory path?

i tried using the below command to

dsjob - server<serrname> -user <username> -password<pass> -run

But it didn't work out.

Please suggest.
ragasambath
Participant
Posts: 12
Joined: Wed Oct 03, 2007 9:11 am
Location: London

Re: how to Run DSjobs on command propmt and Unix machine

Post by ragasambath »

Hello Monaz,

First Set the path of DSEngine , PXEngine and APT_CONFIG_FILE

dsjob -run -jobstatus -wait [ -param Parametername=value] $PROJECT $DSJOB

The datastage job run based on the project and not based on the folders






monaz wrote:hi All,

Can anyone please guide me how to run DS jobs on command prompt and Unix server

Please suggest me with the commands to start with?

One more question jobs are in different folders of that application, can i access any folder and run that job or should it kept in some directory path?

i tried using the below command to

dsjob - server<serrname> -user <username> -password<pass> -run

But it didn't work out.

Please suggest.
Regards

Raga
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

"Didn't work out"? Come on. :?

Yes, dsjob is the right command and the job's folder doesn't matter. Type the command by itself to get a usage statement. Read the Command Line Interface chapter in either Developer's Guide pdf or search here for all the details. After you've checked your syntax, if you still have a problem post what exactly you tried and exactly what happened.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: how to Run DSjobs on command propmt and Unix machine

Post by chulett »

ragasambath wrote:dsjob -run -jobstatus -wait [ -param Parametername=value] $PROJECT $DSJOB
:!: You should use one or the other (or neither) of the "wait" options but not both.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I tried to start my car this morning.

But it didn't work out.

Please suggest.

Your issue is no easier to solve BECAUSE you have not provided any useful diagnostic information. What error message did you get?

Do you even understand what the PATH and LD_LIBRARY_PATH environment variables do?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
monaz
Participant
Posts: 98
Joined: Sat Aug 23, 2008 3:14 am

Post by monaz »

ray.wurlod wrote:I tried to start my car this morning.

But it didn't work out.

Please suggest.

Your issue is no easier to solve BECAUSE you have not provided any useful diagnostic information. What error message did you get?

Do you even understand what the PATH and LD_LIBRARY_PATH environment variables do?
Can anyone please help me with the document or the link for working with datastage on unix server?

Else please guide me which document i need to refer for working datastage built in functions to unix server.

As i am new to Datastage , don't even know how to proceed with it?
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

You should read Parallel Job Advanced Developer Guide from Page no. 878 to 888 for details on dsjob command.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

monaz wrote:As i am new to Datastage , don't even know how to proceed with it?
You've been posting questions here for almost a year now, not really all that new at this point. And your rather ambiguous question has already been asked and answered. :?
chulett wrote:Yes, dsjob is the right command and the job's folder doesn't matter. Type the command by itself to get a usage statement. Read the Command Line Interface chapter in either Developer's Guide pdf or search here for all the details. After you've checked your syntax, if you still have a problem post what exactly you tried and exactly what happened.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply