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

How can read the TSQUEUE from Y region


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

New User


Joined: 28 Aug 2008
Posts: 4
Location: US

PostPosted: Sat Nov 08, 2008 5:35 am
Reply with quote

Created a TSQUEUE in X region. How can read the TSQUEUE from Y region.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sat Nov 08, 2008 7:14 am
Reply with quote

In the READQ TS QUEUE command from the X region, specify the 4-Byte SYSID parameter of the Y region.

This is all well documented in the CICS manual(s).

Bill
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sat Nov 08, 2008 7:17 am
Reply with quote

Let's try that again -

In the READQ TS QUEUE command from the Y region, specify the 4-Byte SYSID parameter of the X region.

Sorry, had it bass-ackwards icon_wink.gif

Bill
Back to top
View user's profile Send private message
kuriankj

New User


Joined: 28 Aug 2008
Posts: 4
Location: US

PostPosted: Sat Nov 08, 2008 10:14 am
Reply with quote

I used SYSID option, still I can't read it
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Nov 08, 2008 10:34 am
Reply with quote

Hello,

Quote:
I used SYSID option, still I can't read it
What happens?

It may help if you post the actual code you used and any diagnostic info created by the run.

It is better to copy/paste from the 3270 and post using the "Code" tag rather than a screenshot. Screenshots tend to make a mess and are deleted.
Back to top
View user's profile Send private message
kuriankj

New User


Joined: 28 Aug 2008
Posts: 4
Location: US

PostPosted: Sun Nov 09, 2008 8:38 pm
Reply with quote

Call 'A' program from X region (using LINK) and 'A' runs on Y region and it creates a queue in Y region
LINK PROGRAM('A') COMMAREA(data-area) LENGTH(data-value) DATALENGTH(data-value)
I try to access the queue from X region with and without SYSID, but i can't access it
READQ TS QUEUE(name) INTO(data-area) LENGTH(data-area) ITEM(data-value) SYSID(y-sysid)
Do i need a remote TST entry in X region
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Nov 09, 2008 9:00 pm
Reply with quote

Hello,

Quote:
but i can't access it
This may mean something to you, but it tells no one here what the problem is.

Do you see an abend? Do you get the wrong result?

Are you able to successfully read the queue at all - from anywhere?

Your description of what you are doing appears to have reversed since the initial post icon_confused.gif

What happens when you run the process via CEDF? Have you talked with your cics / mq support people?
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 Error to read log with rexx CLIST & REXX 11
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Random read in ESDS file by using RBA JCL & VSAM 6
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top