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

Mainframe - CICS - TDQ


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

New User


Joined: 01 Feb 2010
Posts: 5
Location: coimbatore

PostPosted: Tue Jul 27, 2010 7:04 pm
Reply with quote

How to browse the data in a TDQ ?
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: Tue Jul 27, 2010 7:15 pm
Reply with quote

Assuming this is an Intra-Partition TDQ (Transient Data Queue), the short answer is, you can't.

You can determine the number of TDQ "Items", via the INQUIRE TDQ API, keyword "NUMITEMS" (Binary-Fullword), if issued from an application program, requires the "SP" translator option be specified during the Translation step.

In test, you can use CECI to READ the TDQ records/items and write each one to a temporary TSQ. Then, as soon as the QZERO condition is raised (no more records/items), you can write each item back to the TDQ from the TSQ. When doing this, ensure the Trigger level is set to ZERO. You can do this via CEMT.

Otherwise, in Production, I can't think of an option.

Transient Data is defined as "Going in and out of existence quickly". So, as soon as you issue a READQ TD, the item/record is gone.

Bill
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 FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Using API Gateway from CICS program CICS 0
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top