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
 

 

Required help for batch to online and online to batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Required help for batch to online and online to batch
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: 2150
Location: At my coffee table

PostPosted: Fri Apr 30, 2010 9:17 am    Post subject:
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

Site Director


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

PostPosted: Fri Apr 30, 2010 9:51 am    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Fri Apr 30, 2010 12:48 pm    Post subject:
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    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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm


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