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 a Mainframe Job based on the file available

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
satish kanamarlapudi

New User


Joined: 23 Jul 2008
Posts: 29
Location: Little Rock - Arkansas

PostPosted: Mon Jun 15, 2009 6:59 pm    Post subject: Triggering a Mainframe Job based on the file available
Reply with quote

Hi,

I am currently working on a conversion project from Mainframes to AIX UNIX. All the DB2 programs will be executed in AIX UNIX and IMS programs will be executed in Mainframes. There are jobs which have both IMS and DB2 programs executing in different steps.

I am replacing all the Job steps with AIX shell scripts, my one requirement is that there is a db2 program in step 10 and based on the output file generated which is being used as an input file in step20 which is an IMS program. But since the DB2 will be executed in AIX UNIX and IMS in Mainframes as per the new conversion, i am keeping an FTP step of the DB2 output file to Mainframes after the DB2 program gets executed and based on the availability of the file in Mainframes my IMS job should get triggered and processed.

Could anyone help me out in this on how to wait for the file in Mainframes
and if available should trigger the corresponding job.

NOTE :- My availability for the file should get refreshed for certain period of time (like refreshed for every 60 seconds, for every 60 seconds searches for the availability of the file).

Thx,
Satish
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Mon Jun 15, 2009 7:01 pm    Post subject: Reply to: Triggering a Mainframe Job based on the file avail
Reply with quote

any decent MF scheduler product is able to trigger a job when a dataset is created,
Your operations support should know better
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: Mon Jun 15, 2009 7:02 pm    Post subject:
Reply with quote

What scheduling software do you use, because I know that CA-7, TWS (OPC) and Control-M all have dataset trigger capabilities.
Back to top
View user's profile Send private message
satish kanamarlapudi

New User


Joined: 23 Jul 2008
Posts: 29
Location: Little Rock - Arkansas

PostPosted: Mon Jun 15, 2009 7:10 pm    Post subject: Reply to: Triggering a Mainframe Job based on the file avail
Reply with quote

Without going to Scheduler is there anyway of testing my case manually.

Thx,
Satish
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Mon Jun 15, 2009 7:13 pm    Post subject: Reply to: Triggering a Mainframe Job based on the file avail
Reply with quote

what' s wrong if following our suggestion ??
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Tue Jun 16, 2009 6:53 am    Post subject: Re: Reply to: Triggering a Mainframe Job based on the file a
Reply with quote

satish kanamarlapudi wrote:
Without going to Scheduler is there anyway of testing my case manually.

Thx,
Satish


No, there's not.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Jun 16, 2009 7:18 am    Post subject:
Reply with quote

Hi,

you can always sit in front of your terminal 24X7 and monitor the file arrival and when you spot it you can submit your job.

That allows to test your case manually. icon_lol.gif


Gerry
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Tue Jun 16, 2009 7:46 am    Post subject:
Reply with quote

Oh yeah, there is. Here's how:

1) create your file

2) run your job

icon_cool.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am

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