Job Warning Limit

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
cosec
Premium Member
Premium Member
Posts: 230
Joined: Tue May 08, 2007 8:10 pm

Job Warning Limit

Post by cosec »

Is it true that even if you set the Job Warning Limit to " No Limit" in the director, when you Run the Job in Batch the Job warning Limit follows the Default (ie After 50 Warnings ) ?

How do I change it so that the setting will apply when I run my job in Batch as well ?
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Re: Job Warning Limit

Post by sachin1 »

hello if you are using basic code to execute jobs and have some code in Job Control tab of job then below will help

JobHandle = DSAttachJob (JobName, ErrorMode)


ErrCode = DSSetJobLimit(JobHandle, LimitType, LimitValue)

ErrCode = DSDetachJob(JobHandle)
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The limit you set in your copy of the Director only applies to jobs started or scheduled from the Director client by you. Outside of the Director, your job control is responsible for setting the warning limits used for each run.
-craig

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