Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Multithreading and Single Threading - Examples?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Multithreading and Single Threading - Examples?
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Thu Aug 20, 2009 6:44 pm    Post subject:
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    Post subject: Reply to: Multithreading and Single Threading - Examples?
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us