DSSetDisableProjectHandler

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
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

DSSetDisableProjectHandler

Post by myukassign »

Can anyone tell me whats the use of these two functions ? When I add a job to a job control, these two functions automatically adding and I doono wht is the use of it.

DSSetDisableProjectHandler(hJob1, @FALSE)
DSSetDisableJobHandler(hJob1, @FALSE)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

They are not used for server jobs.

The first disables use of the project (or named) message handler, the second disables use of local (or job) message handler for parallel jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

But it is automaticalling adding by the job controller in a server job when I add any job using job controller of job properties.

Why it is so? I am using Datastage server edition.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Because job control code is created from a "one size fits all" template. These functions are ignored for server jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

awesome!!

fine
Post Reply