View previous topic :: View next topic
|
Author |
Message |
santoshramr
New User
Joined: 11 Nov 2009 Posts: 4 Location: Pune
|
|
|
|
Hi,
I have the below requirement.
1. Mainframes system1 sends file1 to system2.
2. Once the sytem2 recieves the file, it should trigger a batch job.
3. In the batch job, step1 will execute a batch program. This program required to perform some business process using input file1 and required to trigger a online program. After that terminate the batch job.
4. Once the online program completes the execution, it should trigger another batch job.
5. This batch job should format a response file, file2 using online program input and input file1 and send it back to system1.
Here I need help for below things.
1. How to define in my JCL to access the file1, sent from system1 ?
2. What are the options i can use to trigger a online transaction from the batch program?
3. How can I trigger back again another batch job from online program, which should again acess the input file1? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
I don't know about your shop, but with mine, better than three fourths of your 'requirements' were handled with close cooperation with the scheduling people, have you checked with them? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Why do you believe there is a need to flip-flop between batch and online and across multiple systems?
If you take the time to describe what business process(es) this is to support, someone is maybe already doing this and can share how they met the same requirement. |
|
Back to top |
|
|
santoshramr
New User
Joined: 11 Nov 2009 Posts: 4 Location: Pune
|
|
|
|
The business process here is interaction with other system which supports only online messaging. So system2 batchprogram/job recieves the bulk input file from sytem1 and stores the records in data base after validations and should trigger the online program.
Online programs picks the data from database and interacts with other system for each message via online. After getting the responses, it will update the status accordingly in the data base. After completing this process, it has to trigger a batch job.
This second batch job should pick up the data from Data base and generate output file and send it back to system1.
so here i need your inputs to how to make batch to online call and again how to trigger a batch job from the online program? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
santoshramr wrote: |
The business process here is interaction with other system which supports only online messaging. So system2 batchprogram/job recieves the bulk input file from sytem1 and stores the records in data base after validations and should trigger the online program. |
A function of scheduling and/or the 'data base'.
Quote: |
Online programs picks the data from database and interacts with other system for each message via online. After getting the responses, it will update the status accordingly in the data base. After completing this process, it has to trigger a batch job. |
A function of scheduling and/or the 'data base'.
Quote: |
This second batch job should pick up the data from Data base and generate output file and send it back to system1. |
A function of scheduling.
Quote: |
so here i need your inputs to how to make batch to online call and again how to trigger a batch job from the online program? |
Talk to your scheduling people.
I'll will say this, before my last assignment, I didn't even know how to spell 'scheduling people', but now I know they have the tools and can do what I would have 'jury rigged' quite elegantly.... |
|
Back to top |
|
|
|