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

Which one is more effecient commarea or TSQ


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

New User


Joined: 10 May 2005
Posts: 10
Location: india

PostPosted: Mon Jun 06, 2005 8:51 am
Reply with quote

Which one is more effecient commarea or TSQ ?
Back to top
View user's profile Send private message
kkumarv

New User


Joined: 13 May 2005
Posts: 20
Location: Bangalore/India

PostPosted: Tue Jun 07, 2005 5:22 pm
Reply with quote

Both TSQ AND COMMAREA are used to save data among tasks.

1. COMMAREA is private to that transaction only . like every transaction has its own COMMAREA created by CICS as soon as the transaction is initiated . however TSQ , if queue id is known can be accessed by other transactions also

2. COMMAREA length is s9(4) comp i.e. 65k . but TSQ can have any length.

3. COMMAREA is available only during the transaction is running. TSQ if created with auxiliary option resides in aux memory and available even if main memory crashes.

4.normally COMMAREA is used to transfer data from one task to another while tsq is used widely within the task as a scratch pad.

So commarea is good only within the same transaction is running also it has limtation on length of data that can be passed whereas in TSQ
there is no such limitation of memory size and and access within single transaction.
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 CICS COMMAREA CICS 3
No new posts COMMAREA and CHANNELS CICS 4
No new posts CICS commarea usage CICS 6
No new posts how should commarea be defined in an ... PL/I & Assembler 11
No new posts Why Recommended Commarea size is 24K CICS 5
Search our Forums:

Back to Top