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

diffrence b/w batchprogram & online program


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

New User


Joined: 27 Apr 2006
Posts: 7

PostPosted: Mon May 15, 2006 11:07 pm
Reply with quote

hi,

can u give me a diffrence between batch program & online program

thank u


bye
Back to top
View user's profile Send private message
ranjitbhingare

New User


Joined: 30 Nov 2005
Posts: 94
Location: PUNE

PostPosted: Mon May 15, 2006 11:38 pm
Reply with quote

Hi,

Batch Program is one which is run in a batch job using JCL and online program is executed online using CICS. Online programs are interactive.

This is just basic knowledge.



Regards,

Ranjit...
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Mon May 15, 2006 11:46 pm
Reply with quote

Batch and online programs perform very different functions (usually), within the same platform/environment.

Online program are usually transaction driven, this means that it is taking input from a GUI client where the scope of the transaction is usually small as compared to a batch program. An example of this would be a banking system, where the online program would process customer deposit or withdrawal transactions from a bank teller. It would update the customer deposit record, the tellers cash, audit records, etc. The scope of the transaction is limited.

Batch programs, on the other hand, are usually scheduled, have predecessors and successors and the scope of processing is usually much larger. In the same banking system, a scheduled batch job that runs after the online job has shut down, may take yesterdays deposit database totals, subtract from today?s database totals and compare with the tellers end-of-day cash ? beginning-of-days cash. (This should be the same). Or a batch program may post accumulated interest to the customer?s accounts each quarter, affecting every customer record. The scope of change is much larger than with an online system.

Dave
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts After newcopy the CICS program user f... CICS 7
No new posts Starting a CICS Transaction from a Th... CICS 0
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts Error to invoke MPP program through B... IMS DB/DC 4
No new posts Check if CICS is online in JCL CICS 10
Search our Forums:


Back to Top