View previous topic :: View next topic
|
Author |
Message |
satish kanamarlapudi
New User
Joined: 23 Jul 2008 Posts: 29 Location: Little Rock - Arkansas
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
satish kanamarlapudi
New User
Joined: 23 Jul 2008 Posts: 29 Location: Little Rock - Arkansas
|
|
|
|
Without going to Scheduler is there anyway of testing my case manually.
Thx,
Satish |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
what' s wrong if following our suggestion ?? |
|
Back to top |
|
|
mtaylor
Active User
Joined: 20 Feb 2009 Posts: 108 Location: Kansas City
|
|
|
|
satish kanamarlapudi wrote: |
Without going to Scheduler is there anyway of testing my case manually.
Thx,
Satish |
No, there's not. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
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.
Gerry |
|
Back to top |
|
|
mtaylor
Active User
Joined: 20 Feb 2009 Posts: 108 Location: Kansas City
|
|
|
|
Oh yeah, there is. Here's how:
1) create your file
2) run your job
|
|
Back to top |
|
|
|