How can u restart a job??

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
RakshaPai
Participant
Posts: 35
Joined: Fri Jun 15, 2007 11:21 pm

How can u restart a job??

Post by RakshaPai »

Hi all,

Can anyone please tell me how can i restart my job in case of failure/abend and rollback any changes it has made to the target database ?? :(

i need to do the failure handling for the job and i cant figure out where to start...

Thanks!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I imagine U (a poster on this forum) can restart a job the same way anyone else can.

The real issue in your question is how to undo anything that's already been committed. This must be designed in. If every record added to the target carries a "run ID" or timestamp, then it's easy to delete these items. Otherwise your job design has to keep track of what's been successfully committed and incorporate some "restart from there" logic.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply