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

Difference bw IMS Online and Batch Programs


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sam william
Warnings : 1

New User


Joined: 05 Feb 2006
Posts: 1
Location: India

PostPosted: Thu Jul 06, 2006 10:59 pm
Reply with quote

KINDLY CAN SOME ONE TELL THE WAYS BY WHICH WE CAN Differentiate
DIFFERENTIATE AN IMS ONLINE PROGRAM FROM AN IMS BATCH PROGRAM IN DETAIL.

WARNING: TITLE EDITED
Back to top
View user's profile Send private message
seshu37

New User


Joined: 01 Jul 2006
Posts: 9
Location: hyderabad

PostPosted: Mon Jul 10, 2006 2:49 pm
Reply with quote

If Entry statement was given in call statement then it is Batch program.

Let me know if u have any doubts.
Back to top
View user's profile Send private message
joseph13

New User


Joined: 14 Aug 2006
Posts: 1

PostPosted: Mon Aug 14, 2006 5:23 pm
Reply with quote

online:

program is invoked by the ims scheduler when the corresponding mess queue gets populated

transactions are read from message queues (transaction is normally the input which are entered at the terminals)

output send to terminals

batch:


program is invoked by the operator(using jcls)

input read from files

output is written into files( eg. reports)
Back to top
View user's profile Send private message
gautam79

New User


Joined: 30 Aug 2006
Posts: 11
Location: India

PostPosted: Wed Aug 30, 2006 11:33 am
Reply with quote

Another easy way might be just to have a look at the PSB for each of them.

Online would contain TP PCB as the first PCB in PSB
Batch program will contain Database PCB's. Also it will contain GSAM PCB's what you may not find in Online PSB.

Even the entry statement in program will tell you whether its online or batch. If it contains more than one TP PCB, it is Online else it should be a batch program
Back to top
View user's profile Send private message
PascalQ

New User


Joined: 12 May 2006
Posts: 20

PostPosted: Mon Sep 11, 2006 7:46 pm
Reply with quote

gautam79 wrote:
Another easy way might be just to have a look at the PSB for each of them.

Online would contain TP PCB as the first PCB in PSB
Batch program will contain Database PCB's.


Dangerous to distinguish BMP from MPP this way. A batch program may send messages and therefore have TP PCBs as well.
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 -> IMS DB/DC

 


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 Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
Search our Forums:

Back to Top