IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Required help for batch to online and online to batch


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
santoshramr

New User


Joined: 11 Nov 2009
Posts: 4
Location: Pune

PostPosted: Fri Apr 30, 2010 8:58 am
Reply with quote

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

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Apr 30, 2010 9:17 am
Reply with quote

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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Apr 30, 2010 9:51 am
Reply with quote

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

New User


Joined: 11 Nov 2009
Posts: 4
Location: Pune

PostPosted: Fri Apr 30, 2010 12:31 pm
Reply with quote

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

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Apr 30, 2010 12:48 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Underscore was not populated to onlin... CICS 1
No new posts Batch install term/printer CICS 2
Search our Forums:

Back to Top