View previous topic :: View next topic |
Author |
Message |
aniket Beginner
Joined: 27 May 2005 Posts: 14 Topics: 8
|
Posted: Sat Jul 16, 2005 7:13 am Post subject: Can a job have two trigger files? |
|
|
Hi,
I have came across scenarios in which a job is triggered by availability of a particular dataset. Can I have two trigger datasets for a job?
To elaborate further, suppose the datasets in question are DSN A and DSN B.
My requirement is that job should be triggered only when BOTH the datasets are created. Creation of only DSN A or DSN B should not trigger my job.
Can this be done with CA-7 and CA-11? _________________ Thanks,
Aniket. |
|
Back to top |
|
|
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Mon Jul 18, 2005 1:15 am Post subject: |
|
|
I do not have an answer.
Are DSN A and DSN B created simultaneoulsy or consecutively? That is, if B is created after A, then you can have your job triggered only when B is created. As creation of B automatically ensures A has also been created. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
|
Manas Biswal Intermediate
Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Wed Jul 20, 2005 2:04 pm Post subject: |
|
|
aniket,
For your job, create a "trigger" for the availability of DSN A and a "dependancy" for the availability of DSN B. The trigger dataset will trigger off your job but it willb still wait for the availability of the dependant dataset.
For efficiency purposes, always define the dataset which you expect to be available last as the trigger dataset and the other one as the dependant dataset.
Regards,
Manas _________________ There is no path to peace. Peace is the path.
- Mahatma Gandhi (1869-1948) |
|
Back to top |
|
|
|
|