Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CICS and the TDQ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
cvishu

Active User


Joined: 31 Jul 2007
Posts: 136
Location: india

PostPosted: Tue Mar 09, 2010 3:47 pm    Post subject: CICS and the TDQ?
Reply with quote

After looking at what is use of TDQ and TSQ I still have questions...
srinivas.u wrote:
hi,

TDq -> if you want some processing should happen depending on the data that you have read from the screen for example.

user wants to print the screen, take the information write it to a TDQ
this will trigger a transaction which does the printing.

Trigger level tells n indicates, after nth record is written to a TDQ it should trigger the transaction associated with it.

TDQ has to be defined prior to use.

let me know if you need more with examples.


I can understand the usage of TSQ , but could you explain TDQ with any other example , i still am not clear where TDQ would be better than TSQ ?

Thanks
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8197
Location: East Dubuque, Illinois, USA

PostPosted: Tue Mar 09, 2010 3:59 pm    Post subject:
Reply with quote

You felt the need to revive a topic after almost 5 and 1/2 years?

A TDQ can point to a sequential file -- so if you want to retain the data past CICS shut down, for example, you could use an extrapartition TDQ (which is what a sequential file TDQ is called) to save the data.
Back to top
View user's profile Send private message
cvishu

Active User


Joined: 31 Jul 2007
Posts: 136
Location: india

PostPosted: Tue Mar 09, 2010 6:39 pm    Post subject:
Reply with quote

Robert Sample wrote:
You felt the need to revive a topic after almost 5 and 1/2 years?


My Google search brought up the page an i just posted my query icon_smile.gif

Anyways thanks for the reply , just one confusion , i thought TDQ dont occupy physical memory , so when you say sequential file , i am a little confused.

could you explain a liitle elobrate..sorry if i sound dumb
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8197
Location: East Dubuque, Illinois, USA

PostPosted: Tue Mar 09, 2010 7:10 pm    Post subject:
Reply with quote

There are intrapartition TD queues and extrapartition TD queues. I recommend you click the manuals link at the top of the page, find the CICS Language Reference and Programming Guide manuals and read up on them.

As far as TDQ not occupying physical memory, the manual specifically states in section 4.8.1:
Quote:
"Intrapartition" refers to data on direct-access storage devices for use with one or more programs running as separate tasks. Data directed to or from these internal queues is referred to as intrapartition data; it must consist of variable-length records. All intrapartition transient data destinations are held as queues in the same VSAM data set, which is managed by CICS. An intrapartition destination requires a resource definition containing information that locates the queue in the intrapartition data set. Intrapartition queues can be associated with either a terminal or an output data set. When data is written to the queue by a user task, the queue can be used subsequently as input data by other tasks within the CICS region. All access is sequential, governed by read and write pointers. Once a record has been read, it cannot be read subsequently by another task. Intrapartition data may ultimately be transmitted upon request to the terminal or retrieved sequentially from the output data set.
So they are taking physical space and CICS is using memory for buffering the data.
Back to top
View user's profile Send private message
pkmurali
Warnings : 1

Active User


Joined: 15 Dec 2005
Posts: 237

PostPosted: Wed Mar 24, 2010 1:17 pm    Post subject:
Reply with quote

Robert,

One of my CICS program performs WRITEQ (TDQ) which writes the data into SPOOL. What is the set up required to write the TDQ? Is there any set up required in DCT? Please suggest.

Thanks,
Murali.
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 Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
No new posts How to get complete URL from CICS Con... mbattu CICS 1 Tue Nov 14, 2017 11:59 pm
No new posts Integrating CICS applications craig2020 CICS 1 Sun Oct 29, 2017 6:49 pm
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us