IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

TD Queue

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CICS
View previous topic :: View next topic  
Author Message
chkiran2



Joined: 24 Jun 2004
Posts: 25
Location: Gurgoan

Posted: Mon Sep 06, 2004 11:51 am    Post subject: TD Queue  

Can we use normal file operations like start browse, readnext, update, delete on TD Queues.

I have a program which has the code as.

Code:
           EXEC CICS
               READ
               DATASET('DDDAKFD')
               INTO(WS-DDDAKFD-INFO)
               RIDFLD(WS-DDDAKFD-KEY)
               RESP(DDD-RESP)
               GTEQ
           END-EXEC.


I have been told that this is TDQ. Can we have TDQ s read in this manner as we do for normal datasets. When I tried to locate the dataset name using CEMT INQ FILE(DDDAKFD), CICS is not showing any error, but it is also not displaying the actual dataset name.

Please clarify me on this whether this is actually a TDQ or a normal dataset.
Back to top  
mcmillan



Joined: 18 May 2003
Posts: 922
Location: India

Posted: Sat Sep 11, 2004 9:54 am    Post subject: Re  

Dear Friend,

By seeing your coding, I can understand DDDAKFD is a file and not TDQ.
Back to top  
mmwife



Joined: 30 May 2003
Posts: 1506

Posted: Mon Sep 13, 2004 10:45 pm    Post subject:  

Hi Kiran,

You must use the READQ TS (or TD) cmd to read queues.

BTW, judging by your question you have no training in CICS. This info is covered in any CICS for beginners class. What situation do you find yourself that prompts this kind of question? Are you working in the field? Are you a student? Or are you just curious?

Enquiring minds want to know. :)
Back to top  
chkiran2



Joined: 24 Jun 2004
Posts: 25
Location: Gurgoan

Posted: Thu Sep 16, 2004 7:11 pm    Post subject: Hi  

Hi
I know that to read TDQ we need to use READ Q TD.... When I was first told to remove the references of TDQ, I told them the same thing that this is not a TDQ but a File. They were even then telling stongly that it is a TDQ. So I thought as we can store the data in Extra Partition TDQ in normal file (if I am correct), they are telling so. And though to of getting some help on the same.
Back to top  
mmwife



Joined: 30 May 2003
Posts: 1506

Posted: Fri Sep 17, 2004 9:19 am    Post subject:  

Kiran,

On 2nd thought these Qs are probably VSAM files in disguise. So you may be able to process them as VSAM files if you know what type they are. You may get a clue as to what VSAM type they are by studying their performance characteristics.

The reason you can't find the file using CEMT is because it, being a TDQ, has no FCT entry. You may want to take a look at its DCT entry or look at the CEMT doc for any mention of listing TDQ info.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CICS
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM