View previous topic :: View next topic
|
Author |
Message |
RAIN YE
New User
Joined: 06 May 2009 Posts: 7 Location: China
|
|
|
|
In 3270, I used CECI to WRITEQ QUEUENAME('TESTRAIN')....
Then I can successfully retrieve the info I stored in the TSQ by using READQ QUEUENAME('TESTRAIN')......
However, when I use the CEMT I TSQ, "TESTRAIN" is not on the list.
Would you pls kindly suggest on this? |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
If you can read the TS, then it must exist. And if it exists, it should be listed by the CEMT I TSQ command.
What happens if you do CEMT I TSQ(TE*) ? Is it still missing ?
To read TS queues, you can use CEBR too: CEBR TESTRAIN. can you see your TS this way ?
With WRITEQ and READQ, always specify TS (or TD). There shouldn't be any difference, but this is good practice.
QUEUENAME is invalid. Should be QNAME or QUEUE |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
How about using CEBR QUENAME? |
|
Back to top |
|
|
RAIN YE
New User
Joined: 06 May 2009 Posts: 7 Location: China
|
|
|
|
Hi Marso, agkshirsagar
By using CEBR, I can see the content of the TSQ, I wrote 4 items into the queue, all of them are there.
However, the CEMT still can not retrieve it, I tried the following ways:
1. CEMT I TSQ(TE*)
2. CEMT I TSQ
3. CEMT I TSQ(TESTRAIN)
4. CEMT I TSQ(*) |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
RAIN YE wrote: |
In 3270, I used CECI to WRITEQ QUEUENAME('TESTRAIN')....
Then I can successfully retrieve the info I stored in the TSQ by using READQ QUEUENAME('TESTRAIN')......
However, when I use the CEMT I TSQ, "TESTRAIN" is not on the list.
Would you pls kindly suggest on this? |
I have only one question, what is the two letters between the command WRITEQ/READQ and the parameter QUEUENAME? |
|
Back to top |
|
|
RAIN YE
New User
Joined: 06 May 2009 Posts: 7 Location: China
|
|
|
|
Hi CICS guy,
I guess the answer is "TS".
The full statement I used is like below:
ceci writeq/readq ts qname(TESTRAIN) from(zzzz)
The readq works fine as well.....
Besides, when you use the CECI, if the "TS/TD" is not stated, the default value is TS, right? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
RAIN YE wrote: |
Besides, when you use the CECI, if the "TS/TD" is not stated, the default value is TS, right? |
Is it? |
|
Back to top |
|
|
RAIN YE
New User
Joined: 06 May 2009 Posts: 7 Location: China
|
|
|
|
Hi CICS Guy,
I just tried it
Haven't checked the manual, just a guess, I was thinking you could confirm that for me |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
RAIN YE wrote: |
I just tried it |
And the result? |
|
Back to top |
|
|
ridgewalker58
New User
Joined: 26 Sep 2008 Posts: 51 Location: New York
|
|
|
|
I believe that the Transient Data Queue is defined in the DTC (Destination Control table). BUT the Temporary Queue is named within the executing program. I dont believe there is a table that the CEMT command can look on for the name of the Temporary Storage queue. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
|