Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Why can not find the TSQ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Why can not find the TSQ?
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: 1224
Location: Israel

PostPosted: Mon Apr 12, 2010 7:13 pm    Post subject: Reply to: Why can not find the TSQ?
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: 685
Location: Earth

PostPosted: Mon Apr 12, 2010 11:22 pm    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Wed Apr 14, 2010 7:18 pm    Post subject: Re: Why can not find the TSQ?
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Wed Apr 14, 2010 7:37 pm    Post subject:
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Wed Apr 14, 2010 8:02 pm    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Sat Apr 17, 2010 8:02 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us