Compilation of job using 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
amit_haldar
Participant
Posts: 7
Joined: Thu Feb 16, 2006 4:52 am
Location: Kolkata

Compilation of job using command line

Post by amit_haldar »

Hi,

How can we compile a project/job from command line on UNIX OS. We are in the process of automating the jobs using scheduler. We can able to run the job using dsjob from the command line. For doing this we are compiling the projects on client and we are running the job from dsjob in Server.

Please help!!!

Thanks in advance.

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

Post by chulett »

:? Why do you think you need to compile jobs from the command line? It usually means that someone doesn't know how to properly reset a job and are using it to handle aborted jobs, which is not the right way to go.

In any case, search the forum for dscc and you should turn up plenty of posts on the subject. Pretty sure that's the command...
-craig

"You can never have too many knives" -- Logan Nine Fingers
devnull
Premium Member
Premium Member
Posts: 37
Joined: Wed Mar 29, 2006 11:17 am
Location: Minneapolis, MN USA

Re: Compilation of job using command line

Post by devnull »

We also use a scheduler to run DataStage jobs with dsjob. We have a shell wrapper function that calls dsjob with -run -mode RESET prior to calling dsjob with -run -mode NORMAL
amit_haldar wrote:Hi,

How can we compile a project/job from command line on UNIX OS. We are in the process of automating the jobs using scheduler. We can able to run the job using dsjob from the command line. For doing this we are compiling the projects on client and we are running the job from dsjob in Server.

Please help!!!

Thanks in advance.

Regards,
Amit
Michael Mabin
Minneapolis, MN USA
d3vvnull@com.gmail
(Reverse com and gmail to send email)
Post Reply