How to run a job from command line?

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
ncsridhar
Participant
Posts: 11
Joined: Mon Aug 01, 2005 5:49 pm

How to run a job from command line?

Post by ncsridhar »

Can anyone tell me how to run a server job from the command line on a unix box. I could not find it in the help or anywhere else!

I could find how to compile and generate report from command line, but not how to run it without using director.

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

Post by kcbland »

Here's a shell script you can read to learn about the dsjob executable:

viewtopic.php?t=85578
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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As Ken noted, the 'dsjob' executable is used to (amongst other things) run jobs from the command line. In addition to the script he linked you to, read the documentation that comes with the product - in particular the Command Line Interface chapter in the Server Job Developer's Guide manual.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ncsridhar
Participant
Posts: 11
Joined: Mon Aug 01, 2005 5:49 pm

Post by ncsridhar »

Appreciate the responses. Somehow I could not find the topic "command line interface" earlier, now I can!

Thanks.
Post Reply