Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Triggering the job from a dataset

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Murari Chakrakodi

New User


Joined: 26 Sep 2007
Posts: 13
Location: Bangalore,India

PostPosted: Mon Oct 29, 2007 12:07 pm    Post subject: Triggering the job from a dataset
Reply with quote

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

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Mon Oct 29, 2007 12:16 pm    Post subject: Reply to: Triggering the job from a dataset
Reply with quote

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
View user's profile Send private message
hemanth.nandas

Active User


Joined: 18 Aug 2007
Posts: 120
Location: Chennai

PostPosted: Mon Oct 29, 2007 1:17 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Murari Chakrakodi

New User


Joined: 26 Sep 2007
Posts: 13
Location: Bangalore,India

PostPosted: Mon Oct 29, 2007 6:28 pm    Post subject: Reply to: Triggering the job from a dataset
Reply with quote

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

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 29, 2007 6:34 pm    Post subject:
Reply with quote

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

New User


Joined: 06 Aug 2007
Posts: 2
Location: Romania

PostPosted: Tue Feb 12, 2008 5:57 pm    Post subject: Reply to: Triggering the job from a dataset
Reply with quote

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
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Tue Feb 12, 2008 6:08 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Tue Feb 12, 2008 6:26 pm    Post subject: Reply to: Triggering the job from a dataset
Reply with quote

check Your scheduler documentation

for OPC now Tivoli workload scheduler
here is a page regarding dataset triggering
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/eqqtig00/2.2.6.12?ACTION=MATCHES&REQUEST=dataset+trigger&TYPE=FUZZY&SHELF=EQQTBK00.bks&DT=20020717114311&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT
which might explain the behaviour You experience
Back to top
View user's profile Send private message
Cathy

New User


Joined: 06 Aug 2007
Posts: 2
Location: Romania

PostPosted: Tue Feb 19, 2008 1:51 pm    Post subject: Re: Reply to: Triggering the job from a dataset
Reply with quote

enrico-sorichetti wrote:
check Your scheduler documentation

for OPC now Tivoli workload scheduler
here is a page regarding dataset triggering
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/eqqtig00/2.2.6.12?ACTION=MATCHES&REQUEST=dataset+trigger&TYPE=FUZZY&SHELF=EQQTBK00.bks&DT=20020717114311&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT
which might explain the behaviour You experience


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

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Feb 20, 2008 1:21 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us