A commarea will only exist to pass data between tasks and can be set so when ending a transaction to display a map to it is avaiable when the transaction starts after the map. Commareas should not normally exceed 32K.
When a TSQ is created it remains in existance until it is deleted or the cics system is shut. The data is avaiable to any trnsaction that knows its name. S it could be used to hold global parameters what are loaded at cics start up to reduce file access etc. if you are using a TSQ to hold information relatin to a particular task or termaial you must have a naming convenetion to support that. You only have a finite abount of TSQ space to so you delete unwanted TSQ's.
in earlier versions of CICS TSQ were not supported on a sysplex for recovery and so may not be suitable, but this can be managed in older versions of cics depending on the nature of the system. New versions of CICS (I think starting TS1.3) have a system for dealing with this.
It not a black and white answer and will depend on what data you are storing, why, how much and for how long. If you can post this information I maybe ale to help more
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.