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

Why can not find the TSQ?


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

New User


Joined: 06 May 2009
Posts: 7
Location: China

PostPosted: Mon Apr 12, 2010 5:56 pm
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Mon Apr 12, 2010 7:13 pm
Reply with quote

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
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Mon Apr 12, 2010 11:22 pm
Reply with quote

How about using CEBR QUENAME?
Back to top
View user's profile Send private message
RAIN YE

New User


Joined: 06 May 2009
Posts: 7
Location: China

PostPosted: Wed Apr 14, 2010 7:12 pm
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Apr 14, 2010 7:18 pm
Reply with quote

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
View user's profile Send private message
RAIN YE

New User


Joined: 06 May 2009
Posts: 7
Location: China

PostPosted: Wed Apr 14, 2010 7:31 pm
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Apr 14, 2010 7:37 pm
Reply with quote

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
View user's profile Send private message
RAIN YE

New User


Joined: 06 May 2009
Posts: 7
Location: China

PostPosted: Wed Apr 14, 2010 7:50 pm
Reply with quote

Hi CICS Guy,

I just tried it icon_biggrin.gif

Haven't checked the manual, just a guess, I was thinking you could confirm that for me icon_redface.gif
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Apr 14, 2010 8:02 pm
Reply with quote

RAIN YE wrote:
I just tried it icon_biggrin.gif
And the result?
Back to top
View user's profile Send private message
ridgewalker58

New User


Joined: 26 Sep 2008
Posts: 51
Location: New York

PostPosted: Sat Apr 17, 2010 7:35 am
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Sat Apr 17, 2010 8:02 am
Reply with quote

ridgewalker58 wrote:
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.
Buzz, wrong answer....
The INQUIRE TSQUEUE command returns information about temporary storage queues (TS queues). The INQUIRE TSQUEUE command operates on all the temporary storage queues that exist in the CICS region, including those created internally by CICS for use by CICS itself (for example, queues used by BMS).
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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts Need to find a specific STRING COBOL Programming 11
Search our Forums:

Back to Top