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 Profile Log in to check your private messages Log in
 
Define: Task, Transaction, MultiTasking & Multithreading

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Define: Task, Transaction, MultiTasking & Multithreading
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: 3158
Location: Tucson AZ

PostPosted: Sat Dec 30, 2006 1:54 am    Post subject:
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    Post subject: difference need
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

Site Director


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

PostPosted: Sat Dec 30, 2006 2:16 am    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Sat Dec 30, 2006 2:21 am    Post subject:
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    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 How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
No new posts Need to track the CICS transaction fr... sam8051 CICS 3 Mon Aug 07, 2017 3:11 pm
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... gpowell382 IDMS/ADSO 2 Fri Jun 30, 2017 11:52 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm

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