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

TSQ or TDQ faster, if used in applications


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

New User


Joined: 06 Jan 2010
Posts: 4
Location: bangalore

PostPosted: Fri Jan 08, 2010 12:25 pm
Reply with quote

Hi! please somebody help me out, i had a question weather tsq or tdq is faster when used in applications
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jan 08, 2010 3:09 pm
Reply with quote

That is an interesting question.
here is a link to CICS Application Programmers Reference and here is a link to CICS Programmers Guide.

Read up and let us know what you find.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 08, 2010 5:14 pm
Reply with quote

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
View user's profile Send private message
jctgf
Currently Banned

Active User


Joined: 04 Nov 2006
Posts: 109

PostPosted: Wed Sep 01, 2010 11:52 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 02, 2010 2:17 am
Reply with quote

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
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Thu Sep 02, 2010 3:08 am
Reply with quote

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
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 Integrating CICS applications CICS 1
No new posts Extraction of applications and jobs p... IBM Tools 9
No new posts Migration of Cobol applications from ... COBOL Programming 3
No new posts Installed applications on Mainframe All Other Mainframe Topics 8
No new posts Self service password reset applications All Other Mainframe Topics 2
Search our Forums:

Back to Top