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: 7931
Location: Bellevue, IA

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
No new posts Two Selects in a single select query Rohit Umarjikar DB2 1 Fri Nov 04, 2016 8:46 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm
No new posts Combining contents of 2 files in to s... sprikitik SYNCSORT 1 Fri Jan 22, 2016 2:16 pm


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