Page 1 of 1

50 Warnings Limit

Posted: Thu Apr 07, 2005 5:17 pm
by ranga1970
Hi folks;
I do not have admin previlages; I am setting warning limits to unlimited in my Director but it still get aborted after 50 warnings; I am of opinion that Project level variable is over wrting and my user level; I went out to admin and told him this and he said he will lokk in to it. But if any one can give input how to do this it would be great and I can pass it over to my admin.
We need to do this just one time while loading initial load and change back to 50 limit for incremental loads there after

thanks

Posted: Fri Apr 08, 2005 1:27 am
by ArndW
Ranga,

Am I correct in understanding that in your installation, when you go into the Director, click on "run" for your job and in the "limits" tab you specify the button "no limits" for warnings the job still aborts after 50 warnings?

Posted: Fri Apr 08, 2005 3:50 am
by wilcywilliam
The Job Run Options dialog box allows you to change the job parameter values and default limits for row processing and warning messages each time you run a job.

Re: 50 Warnings Limit

Posted: Fri Apr 08, 2005 4:12 am
by hemant
Hi!

Change the warning limit when yu run yur job through director make it according to yur req. i mean increase yur warning limit so the job get successfully loaded.

Posted: Fri Apr 08, 2005 6:10 am
by Sainath.Srinivasan
It is better to trap the error / warning records into a file - if they appear for some reason.

Re: 50 Warnings Limit

Posted: Fri Apr 08, 2005 6:58 am
by chulett
hemant wrote:Change the warning limit when yu run yur job through director make it according to yur req. i mean increase yur warning limit so the job get successfully loaded.
Or - better yet! - correct your job so that it doesn't generate any warnings. That's the only way to really get your data successfully loaded. :wink:

There have been posts on this subject here before, that explain how running jobs from Director or Designer or from the command line can have a different 'default' for the number of warnings before a job is aborted. We don't take any chances, our job control code explicitly sets it from a configuration file for each job as it is run.

Posted: Fri Apr 08, 2005 10:24 am
by ranga1970
I take your suggestion chullet ; usaully our limit is 50 but we ahve special situation where we are going live with some business requirement need to load about 400 million records as initial load just for initial load we want unlimited. but the question here when I run the job from shell scripts its aborting after 50 limit; my shell scripts does not have any limit; but how do set it to unlimited

Posted: Fri Apr 08, 2005 5:30 pm
by ranga1970
Does the project level limit over riding user level limit, if yes how to change this in the administrator

thanks

Posted: Fri Apr 08, 2005 8:28 pm
by chulett
ranga1970 wrote:but the question here when I run the job from shell scripts its aborting after 50 limit; my shell scripts does not have any limit; but how do set it to unlimited
If you don't specificy a warning limit when you run the job, it should take the project level default which (as noted) is set via the Director. For your shell scripts that use dsjob to launch jobs, specify the fact that you want the Warning Limit to be unlimited by added -warn 0 after the -run option.

Posted: Sat Apr 09, 2005 4:44 pm
by ray.wurlod
Default limits can be set in Director, under Tools > Options.

Posted: Mon Apr 11, 2005 9:23 pm
by trokosz
Just to summarize here because the answer was said in several ways. If your running the Job via your Director Client then "no limits" is fine....If your running the Job via dsjob the the "no limits" won;t work because "no limits" is stored on a developers individual Client and not seen by the Server or Project where dsjob looks....so dsjob needs -warn o to do the same as "no limits".

In addition, one could establish a $[variable] which can be set in the Client but read by the dsjob....

Posted: Wed Apr 13, 2005 3:17 am
by nkln@you
Ranga, how much time is it taking to do initial load for 400 million records?