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

Multithreading and Single Threading - Examples?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ranjithmainframe

New User


Joined: 21 Jan 2008
Posts: 39
Location: chennai

PostPosted: Thu Aug 20, 2009 6:23 pm
Reply with quote

Hi,

Please throw some lights on my query.

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.

Thanks in advance,
Ranjith
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 20, 2009 6:44 pm
Reply with quote

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).
Back to top
View user's profile Send private message
ranjithmainframe

New User


Joined: 21 Jan 2008
Posts: 39
Location: chennai

PostPosted: Thu Aug 20, 2009 9:03 pm
Reply with quote

Robert,

Thanks for your clarification.

- Ranjith
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
No new posts Can you give me examples of programs ... CLIST & REXX 22
Search our Forums:

Back to Top