Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10232
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: 10232
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us