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
 

 

TSQ or TDQ faster, if used in applications

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: TSQ or TDQ faster, if used in applications
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    Post subject:
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: 7992
Location: Bellevue, IA

PostPosted: Fri Jan 08, 2010 5:14 pm    Post subject:
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 02, 2010 2:17 am    Post subject: Reply to: TSQ or TDQ faster, if used in applications
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    Post subject:
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    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 Extraction of applications and jobs p... omprakash.mf IBM Tools 9 Fri Mar 28, 2014 10:05 am
No new posts Migration of Cobol applications from ... tusharguptait COBOL Programming 3 Thu Nov 17, 2011 11:52 am
No new posts Installed applications on Mainframe enrico-sorichetti All Other Mainframe Topics 8 Sat Jun 04, 2011 11:50 pm
No new posts Self service password reset applications tmisicko All Other Mainframe Topics 2 Wed May 18, 2011 1:11 am
No new posts Adabas Programmer's Guide for Telepro... jptools Java & MQSeries 2 Fri Apr 30, 2010 6:00 am


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