We have concepts like Mutilthreading where more than one tasks are sharing the same program under multitasking environment Eg., a CICS application program and
Single threading, where a program is used by only one job (or task) at a time Eg., Batch job.
My Doubt - Can be a batch job taken as example for single threading?
Since we can execute the same batch program by more than one job (task) simultaneously, then how the batch job is considered as single threading.
Joined: 06 Jun 2008 Posts: 8235 Location: Dubuque, Iowa, USA
Each batch job executes in its own address space, so each executing job has its own copy of the program load module. By contrast, all users of a CICS region are running together in one address space (although under MRO there may be multiple regions involved, there are multiple users and sharing of resources for each region).