What is the batch job and online job?

Explain the difference between batch and online job

Questions by gowrinag

Editorial / Best Answer

steffieweffie1  

  • Member Since Nov-2008 | Nov 8th, 2008


A batch job is a stand alone job (no human interaction) that is kicked off by a utility job(usaually at night)  and runs data in bulk streams, such as updating 1 million rows to a database nightly, online job is real time, such as a user updating their address via  an interface screen and it being applied to the database as soon as they have confirmed it.

Showing Answers 1 - 30 of 30 Answers

anubijo

  • Aug 26th, 2008
 

Batch jobs are run at a specific interval/specific schedule. These jobs run for master file update or creating reports etc. Online job processing occurs interactively with the user. Online processing that occurs interactively with the end user is referred to as online transaction processing or OLTP.

Rajanich

  • Sep 19th, 2008
 

In batch input and output is file, where as in online input and output is user interactive.

In batch start of job is done by JCL where as in online it is done by transaction.



Execution time is longer in batch where as less in case of online.

A batch job is a stand alone job (no human interaction) that is kicked off by a utility job(usaually at night)  and runs data in bulk streams, such as updating 1 million rows to a database nightly, online job is real time, such as a user updating their address via  an interface screen and it being applied to the database as soon as they have confirmed it.

vjjammi

  • Aug 6th, 2010
 

All the critical Master and Trasactional Data updates are performed through scheduled nightly batch job streams. Millions of records can updated through the nightly batch jobs.
The Online Systems are user interactive systems where you need access to Multiple users silmantaneously. The users can view/update data through the Online screens depending on the levels of access. But through the online systems, it would be a very costly affair for resource consumption if you try to update millions of records through the Online systems.

  Was this answer useful?  Yes

kuttimathan

  • Nov 30th, 2010
 

Batch Job 

Run through JCL
Terminates once program is over
Files are updated only when job is run
Used for extracts, reports and manipulation  

Online Job

Run in CICS region
Terminates only when the region is down
Files are always updated
Used for OLTP where user enters datafile

                                               

bvr

  • May 19th, 2014
 

In Batch there is no user interaction,no instant results,compilation and execution using jcl only it is a backend processing.

In Online there will be an user interaction,instant results, compilation using jcl and execution using transaction-id.in online we will use exec cics......end exec.it is online processing

Magno

  • Aug 24th, 2016
 

It is possible to execute a CICS program from a job batch where the batch program must be compiled with EXCI parameter. In this case the batch program is able to perform a command level CALL, then a existing CICS program is invoked, after executed, the control returns to batch program.

  Was this answer useful?  Yes

supriya

  • Sep 7th, 2017
 

Batch job is a normal job where no human interference is done, but in online job human interference is required. For ex bank transaction, it needs the input or replay should be given by user.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions