View previous topic :: View next topic
|
Author |
Message |
chkiran2
New User
Joined: 24 Jun 2004 Posts: 24 Location: Gurgoan
|
|
|
|
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
Site Admin
Joined: 18 May 2003 Posts: 1210 Location: India
|
|
|
|
Dear Friend,
By seeing your coding, I can understand DDDAKFD is a file and not TDQ. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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
New User
Joined: 24 Jun 2004 Posts: 24 Location: Gurgoan
|
|
|
|
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
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
|