How to run a job with no limit as warning

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
divine
Premium Member
Premium Member
Posts: 149
Joined: Fri Oct 15, 2004 12:13 am
Location: Toronto,divine_auro@yahoo.co.in
Contact:

How to run a job with no limit as warning

Post by divine »

Dear All,

Please any one can let me know how to run a job with unlimited warning limit. As when I am selecting with no limit still the job aborts after 50 limits. I know there will be other way to handle this problem as to call wait for file. But in this point I want to run the job with no limit. If any one has any idea please do help me.
With Regards
Biswajit
gbusson
Participant
Posts: 98
Joined: Fri Oct 07, 2005 2:50 am
Location: France
Contact:

Post by gbusson »

hi,

3 ways :

in the director : when you run a job, you can specify the maximum number of warnings (the limit options)

in a job control : DSSetJobLimit

from commande line : dsjob -run -warn n (n is the number of warnings) ...

to set no limit n must be equal to 0.
Andal
Participant
Posts: 124
Joined: Thu Dec 02, 2004 6:24 am
Location: Bangalore, India

Post by Andal »

Check whether you are having any codings inside the job itself for aborting the job after 50 warnings.
Rgds
Anand
gbusson
Participant
Posts: 98
Joined: Fri Oct 07, 2005 2:50 am
Location: France
Contact:

Post by gbusson »

50 warnings is the default limit. but you can override it.
divine
Premium Member
Premium Member
Posts: 149
Joined: Fri Oct 15, 2004 12:13 am
Location: Toronto,divine_auro@yahoo.co.in
Contact:

Post by divine »

Hi,
In the director when I specified the limit number more than50 or set to no limit than also it aborts after 50 warnings. Pls help me.
With Regards
Biswajit
divine
Premium Member
Premium Member
Posts: 149
Joined: Fri Oct 15, 2004 12:13 am
Location: Toronto,divine_auro@yahoo.co.in
Contact:

Post by divine »

hi,
any update regarding this.
With Regards
Biswajit
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Are you running the job from Director or from job control. If you think changing it in Director affects how it runs under job control you are mistaken.

If you are starting the job using Director, set the abort limit. If you are running it from a Sequencer job, dsjob command line, or a Batch job, then you must set the warning limits there.
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
divine
Premium Member
Premium Member
Posts: 149
Joined: Fri Oct 15, 2004 12:13 am
Location: Toronto,divine_auro@yahoo.co.in
Contact:

Post by divine »

Hi,
I am running the job from a sequencer job. So I put the abort limit to no limit from director while running.
With Regards
Biswajit
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

That doesn't work. Update your Sequencer as told.
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
divine
Premium Member
Premium Member
Posts: 149
Joined: Fri Oct 15, 2004 12:13 am
Location: Toronto,divine_auro@yahoo.co.in
Contact:

Post by divine »

HI,
I only give the limits in the sequencer, not in job.
With Regards
Biswajit
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Change defaults from Tools > Options menu in Director.
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