Terminate a Job in Job control

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
Umbix62
Participant
Posts: 79
Joined: Mon Jan 16, 2006 2:47 pm

Terminate a Job in Job control

Post by Umbix62 »

Hi

is it possible to stop a Job from its Job control?

I have a job server, release 7.1, processing a flow of data from a sequential file to an Oracle8i Table. But now I need to add a new funcionality. The Job'll start only after checking the existence of a flat file. If the file exists then the job'll go on else it'll be stopped.

Can I do that in the Job Control?

Thank you in advance

Umberto
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Post by Mike »

It's better to not even start your job without the file. Use a Job Sequence with the Wait-For-File activity.

Mike
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

DSStopJob() is the API call to stop a job.
Mamu Kim
Post Reply