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
 

 

Which one is more effecient commarea or TSQ

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Which one is more effecient commarea or TSQ
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    Post subject: Re: About Commarea
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    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 COMMAREA and CHANNELS menonkiran CICS 4 Tue Apr 04, 2017 8:14 am
No new posts CICS commarea usage Bill Woodger CICS 6 Fri Dec 07, 2012 2:56 pm
No new posts how should commarea be defined in an ... jepson PL/I & Assembler 11 Wed Oct 12, 2011 3:14 pm
No new posts Why Recommended Commarea size is 24K hiravibk CICS 5 Fri Jun 03, 2011 3:53 pm
No new posts CICS Commarea Copybook dick scherrer CICS 2 Mon Aug 24, 2009 10:32 pm


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