Author |
Message
|
giuly020277 |
Posted: Mon Mar 04, 2013 6:19 am Post subject: Testing queue sharing group |
|
|
 Centurion
Joined: 07 Aug 2007 Posts: 146 Location: Florence,Italy
|
Hello everyone,
i' m studying how to implement Queue Sharing Group..so i have defined the following environment on Zos.
I have 2 LPAR in Sysplex (Lpar1 and Lpar2)
I have defined on Lpar1 ...1 Mq (mq1) and 1 cics (cics1).
On Lpar2 i have defined 1 mq (mq2).
Mq1 and Mq2 belong to a queue sharing group called Mqgt.
At last i have defined a shared queue (A) on Mqgt...triggered by cics1.
Now 2 example.
Example 1
I have Mq1 on...cics1 on....and mq2 on.
If i put a message on A ...cics1 let start a transaction that get the message.
Example 2.
I have cics1 on...mq2 on...but mq1 down.
If i put a message on A....cics1 doesn't let start the transaction.
It's correct this test?
Transaction start only if a cics is started on the same Lpar where Mq is started?
Thank u for your help |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Mar 04, 2013 6:34 am Post subject: Re: Testing queue sharing group |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
giuly020277 wrote: |
i' m studying how to implement Queue Sharing Group ... |
Are you reading any IBM documentation about this? Are you following documented instructions?
giuly020277 wrote: |
..so i have defined the following environment
Example 1
I have Mq1 on...cics1 on....and mq2 on. |
Are mq1 and mq2 qiueues? Or qmgrs? Or qsg's?
giuly020277 wrote: |
If i put a message on A ...cics1 let start a transaction that get the message. |
Uh, ok.
giuly020277 wrote: |
Example 2.
I have cics1 on...mq2 on...but mq1 down. |
What exactly does 'down' mean?
giuly020277 wrote: |
If i put a message on A....cics1 doesn't let start the transaction. |
What do you see that leads you to believe that cics1 doesn't let the transaction start? An error message of some kind? What exactly?
giuly020277 wrote: |
It's correct this test?
Transaction start only if a cics is started on the same Lpar where Mq is started? |
I'd suspect that the message stayed in a local queue, and did not get put to the shared queue.
Is the queue really shared in the qsg? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
giuly020277 |
Posted: Mon Mar 04, 2013 6:44 am Post subject: |
|
|
 Centurion
Joined: 07 Aug 2007 Posts: 146 Location: Florence,Italy
|
Hello bruce..
i have followed ibm documentation to do that.
Mq1 and mq2 are 2 queue manager belonging to queue sharing group called mqgt.
down mean...not started.
In the example2...when i put message on queue...cics1 does do nothing...while in example 1 ...it let start transaction.
message are on a queue local with disposition shared...as u can see from ISPF table
Type action codes, then press Enter. Press F11 to display queue status.
1=Display 2=Define like 3=Alter 4=Manage
Name Type Disposition
<> * QUEUE SHARED MQGT
PROVA QLOCAL SHARED |
|
Back to top |
|
 |
ealcantara |
Posted: Mon Mar 04, 2013 9:03 am Post subject: |
|
|
Novice
Joined: 16 May 2005 Posts: 13
|
About your question : 'Transaction start only if a cics is started on the same Lpar where Mq is started? '
Response: Yes. CICS must be connect to a Queue Manager . Both should be running in the same LPAR. In your test , if MQ1 is down , you should start CICS1 on LPAR2.
Eros Alcantara. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Mar 04, 2013 9:43 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Please be precise. Are the messages on the LOCAL queue? Or on the shared queue? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Mar 04, 2013 10:53 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
This is maybe a triggering issue not properly set up on mq2 ?!? _________________ Regards, Butcher |
|
Back to top |
|
 |
giuly020277 |
Posted: Tue Mar 05, 2013 12:08 am Post subject: |
|
|
 Centurion
Joined: 07 Aug 2007 Posts: 146 Location: Florence,Italy
|
HELLO...HERE U FIND QUEUE DEFINITION :
Queue name . . . . . . . . . PROVA
Disposition . . . . . . . . : SHARED
Description . . . . . . . . :
Put enabled . . . . . . . . : Y Y=Yes, N=No
Get enabled . . . . . . . . : Y Y=Yes, N=No
Usage . . . . . . . . . . . : N N=Normal, X=XmitQ
Storage class . . . . . . . : DEFAULT
CF structure name . . . . . : APPLICATION1
Dynamic queue type . . . . : N N=Non-dynamic (Predefined), T=Temporary,
P=Permanent, S=Shared
Page set identifier . . . . :
Use counts - Output . . . . : Input . . . . :
Current queue depth . . . . : 9
Queue name . . . . . . . . : PROVA
Disposition . . . . . . . . : SHARED
Trigger Definition
Trigger type . . . . . . : E F=First, E=Every, D=Depth, N=None
Trigger set . . . . . . : Y Y=Yes, N=No
Trigger message priority : 0 0 - 9
Trigger depth . . . . . : 1 1 - 999999999
Initiation queue . . . . : CXFD8T.INITQ
Process name . . . . . . : PROVA.CIAO
Trigger data . . . . . . :
WHERE CXFD8T IS CICS1....AND CIAO IS TRANSACTION NAME.
I CAN TRIGGER A QUEUE ONLY BY A UNIQUE CICS.
I AGREE WITH EALCANTARA...BUT I WOULD BE SURE OF THAT |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Mar 05, 2013 2:35 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
ah okay, i assumed (wrongly) that you start cics1 on lpar2 to work together with mq2.
but you leave cics1 on lpar1 with mq1 down. well..... cics must be "local" to mq. so either start cics1 on lpar2, or have cics2 for lpar2 / mq2 when mq1 is down. _________________ Regards, Butcher |
|
Back to top |
|
 |
giuly020277 |
Posted: Tue Mar 05, 2013 2:42 am Post subject: |
|
|
 Centurion
Joined: 07 Aug 2007 Posts: 146 Location: Florence,Italy
|
Ok..it's what i wanted to know.
So, in my environment...where we have no Cicsplex between Lpar1 and Lpar2...having QSG give us no effort..because i have to start cics in the LPAR where Queue Manager works...
For ex,
if on Lpar1 i have cics1 and Mq1...while on Lpar2 i have Mq2 without cics...if Mq1 go stopped for some reason...i have to start cics1 on Lpar2...
Thank u all..u |
|
Back to top |
|
 |
pfranky |
Posted: Wed Apr 03, 2013 1:07 pm Post subject: sysplex |
|
|
Newbie
Joined: 03 Apr 2013 Posts: 1
|
Hi, we already have sysplex in place, but we are not using it. the second broker that is designated for sysplex is kept down.
Before we start using it, I want a list of items that are required to enable it. could someone help with it? Thanks. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Apr 04, 2013 12:08 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
whats currently on your list? _________________ Regards, Butcher |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Apr 04, 2013 4:47 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Apr 04, 2013 5:16 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Is your system Parallel Sysplex?
Do you have a CF?
Have you (or someone else) created the CF structures?
Do you have the DB2 Data Sharing layer of software installed?
I ask these questions because these are prerequisites for WMQ for z/OS shared queues. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|