Page 1 of 3

Job Warning

Posted: Thu Mar 08, 2007 7:20 pm
by edward_m
All,

I don't want to abort my job with unlimited warnings..i want to run this job using dsjob..could please suggest me the commad line argument for unlimited warnings dsjob..

Thanks in Advance..

Posted: Thu Mar 08, 2007 7:30 pm
by DSguru2B
I think its dsjob -warn 0, right. Or just keep that number a huge huge number.

Posted: Thu Mar 08, 2007 7:34 pm
by oacvb
Hi,

Go to Director.Click "Tools --> Option" and go to Limits tab and set the option "No Limit" for warnings. After this setting jobs won't abort if it's called from sequencer / job control / unix script etc.,

Posted: Thu Mar 08, 2007 7:48 pm
by kumar_s
oacvb wrote:Hi,

Go to Director.Click "Tools --> Option" and go to Limits tab and set the option "No Limit" for warnings. After this setting jobs won't abort if it's called from sequencer / job control / unix script etc.,
Director option won't affect if the job is been called by dsjob. Director setting is for each client and dsjob is server side command. -warn 0 is for no limit.

Posted: Thu Mar 08, 2007 10:36 pm
by chulett
DSguru2B wrote:I think its dsjob -warn 0, right.
Right.

Posted: Thu Mar 08, 2007 10:43 pm
by oacvb
Is there anyways to override the client setting ? I am triggering the job from Director and wanted to take the option from Server if at all available. Because It will be an issue,if i didn't look the setup of director.

Posted: Thu Mar 08, 2007 10:46 pm
by chulett
There is no 'option from Server'... what do you mean by that? :?

You can either change the default warning level in the Director tool itself or override it on a job by job basis manually when you run a job.

Posted: Thu Mar 08, 2007 10:49 pm
by oacvb
We are 5 memebers in a team, if some one hasn't set the option in director which causing the job to abort. So if at all any option in DS Administrator (Like purging of log etc.,) i can set the option.

Posted: Thu Mar 08, 2007 11:01 pm
by chulett
:? Still unclear. There are no options in the Administrator which control the Warning Limit.

If you want a default in the Director other than to 'Abort job after 50 warnings' - you'll need to change that on every PC where you've installed the DataStage client.

Or are we talking about the Auto-purge action section in the Administrator?

Posted: Thu Mar 08, 2007 11:05 pm
by oacvb
I am not talking about log purging in Administrator. Period.

I was thinking is there any option in server to control the warning limit....If not then it is slightly unconformtable of Data Stage where they would have given the option to set at project level.

Posted: Thu Mar 08, 2007 11:13 pm
by chulett
You mentioned it in the previous post, hence the question.

Unfortunately, no - no Project level setting for warning levels exists. And be aware that the default for Warnings when you run a job from the Designer is unlimited - and there's no way to change that default. :evil:

Posted: Thu Mar 08, 2007 11:25 pm
by oacvb
Yeap..Thanks for the response. I was just referring that auto-purge setting which can be done from Administrator.

Don't we feel sad that we can't set the warning option for a project? :(

Posted: Thu Mar 08, 2007 11:37 pm
by chulett
I haven't found it to be an issue, but could see where it might be a nice option to have. Options are good. :wink:

Posted: Fri Mar 09, 2007 12:05 am
by kumar_s
oacvb wrote:We are 5 memebers in a team, if some one hasn't set the option in director which causing the job to abort. So if at all any option in DS Administrator (Like purging of log etc.,) i can set the option.
So the option should be to call the jobs from dsjob command with -warn option. So who ever runs it, the value is hard coded. (Optionally parameterized)

Posted: Fri Mar 09, 2007 12:12 am
by oacvb
U r right Kumar, But that shell script needs to be called from sequence right?...What if that fails?