|
View previous topic :: View next topic
|
| Author |
Message |
Murari Chakrakodi
New User
Joined: 26 Sep 2007 Posts: 13 Location: Bangalore,India
|
|
|
|
Hi,
Is there any way to trigger a job from a dataset?
My requirement is as follows:
A job has to be triggered immedietely after a dataset or new GDG generation is created.
Thanks,
Murari |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
| Quote: |
| job has to be triggered immedietely after a dataset or new GDG generation is created. |
if the dataset is ... created by a job on the same MF where the second job should run,
why not ( In Your scheduler ) put a dependency of the second job on the first one,
if the dataset is sent by NDM or FTP,
then , if I remember correctly, OPC has "external triggers" one of which
is the existence/creation of a dataset |
|
| Back to top |
|
 |
hemanth.nandas
Active User

Joined: 18 Aug 2007 Posts: 120 Location: India
|
|
|
|
Hi Murari,
| Quote: |
| A job has to be triggered immedietely after a dataset or new GDG generation is created. |
Yup, you can make it, but you have to do it in Schedular (CA7).
Put a dependency as Dataset. |
|
| Back to top |
|
 |
Murari Chakrakodi
New User
Joined: 26 Sep 2007 Posts: 13 Location: Bangalore,India
|
|
|
|
Hi,
Actually I am tranmitting a file from one mainframe system to another.The job has to be triggered in other system
Thanks,
Murari |
|
| Back to top |
|
 |
murmohk1
Senior Member
.jpg)
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Murari,
| Quote: |
| Actually I am tranmitting a file from one mainframe system to another.The job has to be triggered in other system |
Speak with your Scheduling team. As Enrico highlighted 'external triggers' does exist. |
|
| Back to top |
|
 |
Cathy
New User
Joined: 06 Aug 2007 Posts: 2 Location: Romania
|
|
|
|
Hi,
Does anyone know if the dataset triggering the job needs to contain data in order to do the triggering?
I have a job which is triggered when the triggering dataset has data, but when it is empty the job is not triggered any more. |
|
| Back to top |
|
 |
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
Murari Chakrakodi
Triggering can be done from one system to another system if other system uses some scheduling tool (Eg CA7, Control-M etc) and the triggering schedule should be defined in the tool by a scheduler.
Send you dataset name and the job to be triggered by the dataset to the scheduler and he will arrange it for you. |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
| Back to top |
|
 |
Cathy
New User
Joined: 06 Aug 2007 Posts: 2 Location: Romania
|
|
|
|
Thanks for your input. I did not discover yet the reason why the empty dataset would not trigger my job and I don't have visibility on the scheduling part. But I am 99% sure that the empty dataset is the cause of my job not getting triggered. Anyway I will make sure the dataset will have data. |
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
| It may be that the empty dataset is not opened / closed because it is empty, and I seem to recall that some scheduler software uses SMF data to detect a dataset has been written to, and if it is not written to then there will be no SMF record created. |
|
| Back to top |
|
 |
|
|