Page 1 of 1

how to Run DSjobs on command prompt on Unix machine

Posted: Mon Jul 20, 2009 5:30 am
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.

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

Posted: Mon Jul 20, 2009 6:00 am
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.

Posted: Mon Jul 20, 2009 6:05 am
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.

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

Posted: Mon Jul 20, 2009 6:08 am
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.

Posted: Mon Jul 20, 2009 4:13 pm
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?

Posted: Wed Jul 22, 2009 5:00 am
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?

Posted: Wed Jul 22, 2009 5:41 am
by priyadarshikunal
You should read Parallel Job Advanced Developer Guide from Page no. 878 to 888 for details on dsjob command.

Posted: Wed Jul 22, 2009 6:07 am
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.