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

Define: Task, Transaction, MultiTasking & Multithreading


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

New User


Joined: 29 Dec 2006
Posts: 3
Location: California

PostPosted: Sat Dec 30, 2006 1:36 am
Reply with quote

I need Exact definition for the following terms:

TASK.
TRANSACTION.
MULTITASKING.
MULTITHREADING.

Title change from "Exact definitions required" to "Def: TASK, TRANSACTION, MULTITASKING, MULTITHREADING ?" : Priyesh.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sat Dec 30, 2006 1:54 am
Reply with quote

Quote:
TASK..
An operating system concept that refers to the combination of a program being executed and bookkeeping information used by the operating system. Whenever you execute a program, the operating system creates a new task for it. The task is like an envelope for the program: it identifies the program with a task number and attaches other bookkeeping information to it.
Quote:
TRANSACTION..
OLTP (online transaction processing) is a class of program that facilitates and manages transaction-oriented applications, typically for data entry and retrieval transactions in a number of industries, including banking, airlines, mailorder, supermarkets, and manufacturers. Probably the most widely installed OLTP product is IBM's CICS (Customer Information Control System).
Quote:
MULTITASKING..

The ability to execute more than one task at the same time, a task being a program. The terms multitasking and multiprocessing are often used interchangeably, although multiprocessing implies that more than one CPU is involved.
Quote:
MULTITHREADING..
The ability of an operating system to execute different parts of a program, called threads, simultaneously. The programmer must carefully design the program in such a way that all the threads can run at the same time without interfering with each other.
Back to top
View user's profile Send private message
aviki
Currently Banned

New User


Joined: 29 Dec 2006
Posts: 3
Location: California

PostPosted: Sat Dec 30, 2006 2:00 am
Reply with quote

hi

anyone can send the difference between

task and transaction
multitasking and multithreading..
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Dec 30, 2006 2:16 am
Reply with quote

Hello,

Tasks run directly under control of the operating system. Transactions typically run under the control of a task (i.e. CICS is a task). If you perform a "diaplay active" you will see all of the currently running batch tasks as well as all of the CICS tasks.

Multitasking is what you see with the "display active". An example of multithreading is DB2 (or any other multi-user database system) - many batch and online process are serviced concurrently by the same database system.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sat Dec 30, 2006 2:21 am
Reply with quote

Pardon the poetic license.....
Quote:
task and transaction
Think of a transaction as a trip to the store, you decide you need something, get your keys and wallet, get in the car, drive to the store, find the needed item, purchase it, drive back home and go inside. Think of a task as one of the many small pieces of the preceding transaction, i.e., getting your keys and wallet, getting in the car, driving to the store, finding the needed item, purchasing it or driving back home.
Quote:
multitasking and multithreading..
Think of multitasking as what is being done when tune the radio while you are driving the car, switching attention from one task to the other. Think of multithreading as what is being done when you tune the radio while your friend is driving the car, each person paying attention to their own task.
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 DTL - how to define key with stacked ... TSO/ISPF 3
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts Started task using a generation dataset JCL & VSAM 7
No new posts Batch call online program, EXCI task ... CICS 3
No new posts Run a simple JOB as Started Task All Other Mainframe Topics 4
Search our Forums:

Back to Top