The difference between run and reset if request then run

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
dongyingying
Participant
Posts: 35
Joined: Tue Feb 07, 2012 2:28 am
Location: China BeiJing

The difference between run and reset if request then run

Post by dongyingying »

Hi

I a newcomer of the datastage ,Who can help to tell The difference between run and reset if request then run.
Dong Ying Ying Come on.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Run will attempt to run the job without checking its status. If the job aborted on its previous run it will fail to start, with the error "not in a runnable state (Aborted)".

Reset if required then run will check the job status first. If the job aborted on its previous run, it will be reset and only then will its normal run request be issued.

Of course, if you have not corrected the cause of the original failure, the job will fail again, but at least it will get started.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chandra.shekhar@tcs.com
Premium Member
Premium Member
Posts: 353
Joined: Mon Jan 17, 2011 5:03 am
Location: Mumbai, India

Post by chandra.shekhar@tcs.com »

By default you can keep it "reset if request then run". This is what we have used.
Thanx and Regards,
ETL User
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

Ok... Chandra told and i am going to stick to this forever ;)

"Reset if required then run" is better than "run". Ray has given you the reason as well. If a job aborts, it will be reset & run automatically during the next batch run. Got it? Otherwise, it is a trouble!!
Kandy
_________________
Try and Try again…You will succeed atlast!!
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You need to decide which one is appropriate for each job being run. You may want to ensure that Aborts are resolved manually before restarting or you may be fine with them automatically resetting. Like many things... it depends.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply