View previous topic :: View next topic
|
Author |
Message |
sachinm
New User
Joined: 06 Jan 2010 Posts: 4 Location: bangalore
|
|
|
|
Hi! please somebody help me out, i had a question weather tsq or tdq is faster when used in applications |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I'm curious about why you think they are interchangeable when they each have cases where you want to use the one and not the other. |
|
Back to top |
|
|
jctgf Currently Banned Active User
Joined: 04 Nov 2006 Posts: 109
|
|
|
|
hi,
i've never used tdq, only tsq.
i found a list of differences between them on the web, but it isn't clear enough when i should only use a tdq.
could someone help, please?
also, any explanation about the concept of intra-partition or extra-partition would be great.
in my case i'd like to write the tdq in batch mode and read it on cics (it would have to be an extra-partition, right) and i'm considering using the EXCI interface.
a few differences i found:
tdq items are deleted after being read;
tdq items can only be read sequentially;
tdq can't be created dinamically, but have to pre installed on cics.
thanks for any help. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Keep in mind, you can read a given item within a TSQ and rewrite it if you like, until that TSQ is deleted.
When accessing an Intra-Partition TDQ, as soon as the record/item is read, it is deleted.
TSQ's can be dynamically created, updated (item level only) and deleted, whereas TDQ's must be defined as an RDO resource, either by Tech Support or your CICS System Programmer. The maximum name length of a TDQ is four positions.
An example of an Extra-Partition TDQ defined to your system, would be CSMT, which would probably indirectly point to DD Name MSGUSR. Look for MSGUSR in your CICS Startup and it probably points to SYSOUT.
Definition "Transient = Going in and out of existence quickly".
Bill |
|
Back to top |
|
|
Ronald Burr
Active User
Joined: 22 Oct 2009 Posts: 293 Location: U.S.A.
|
|
|
|
TDQ storage only comes in one flavor - real DASD.
TSQ storage comes in two flavors - real DASD (AUX) or virtual storage (MAIN).
Reading/Writing DASD (TDQ's and AUX TSQ's) requires physical I/O.
Reading/Writing Virtual Storage (memory) does NOT require physical I/O.
Answer: TSQ's utilizing MAIN storage are faster than TDQ's or AUX TSQ's. |
|
Back to top |
|
|
|