MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can a job have two trigger files?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
aniket
Beginner


Joined: 27 May 2005
Posts: 14
Topics: 8

PostPosted: Sat Jul 16, 2005 7:13 am    Post subject: Can a job have two trigger files? Reply with quote

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
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Mon Jul 18, 2005 1:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Wed Jul 20, 2005 2:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group