Author |
Message
|
WMBEAI |
Posted: Wed Mar 04, 2009 10:34 pm Post subject: MQRC 2048 |
|
|
Acolyte
Joined: 02 Mar 2009 Posts: 66
|
My MQRC is 2048 which is MQRC_PERSISTENT_NOT_ALLOWED.
My ReplyToQ configured is a dynamic queue.
But my application puts the message in the DLQ defined.
All the channel are up running
Can anyone tell what would the problem be. |
|
Back to top |
|
 |
MQEnthu |
Posted: Wed Mar 04, 2009 11:18 pm Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
Persistent messages can not be placed on temporary dynamic queue and shared queue.. _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
MQEnthu |
Posted: Wed Mar 04, 2009 11:29 pm Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
And to fix this, based on your requirement, you can either make the queue as permanent dynamic queue/pre-defined queue or set the messages as non-persistent _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
WMBEAI |
Posted: Thu Mar 05, 2009 12:09 am Post subject: |
|
|
Acolyte
Joined: 02 Mar 2009 Posts: 66
|
Thanks for the info.
Can you tell me how messages are placed in temporary dynamic queue. |
|
Back to top |
|
 |
MQEnthu |
Posted: Thu Mar 05, 2009 12:13 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
Temporary dynamic queues can hold non-persistent messages. Mark the messages as non-persistent before putting into queue.
Please move this to appropriate forum.. _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 05, 2009 12:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Moved to correct section _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Thu Mar 05, 2009 1:23 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
MQEnthu wrote: |
Persistent messages can not be placed on temporary dynamic queue and shared queue.. |
You're behind the drag curve...it's been possible since V5.3.1 (< 63KB) and is now 100MB in V6.0 and above - I'm assuming you're speaking of z/OS here. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
WMBEAI |
Posted: Thu Mar 05, 2009 1:27 am Post subject: |
|
|
Acolyte
Joined: 02 Mar 2009 Posts: 66
|
What do you mean by temporary dynamic queue |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 05, 2009 1:29 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
|
Back to top |
|
 |
MQEnthu |
Posted: Thu Mar 05, 2009 1:39 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
exerk wrote: |
You're behind the drag curve...it's been possible since V5.3.1 (< 63KB) and is now 100MB in V6.0 and above - I'm assuming you're speaking of z/OS here. |
... I was not knowing that we can place the persistent messages on shared queue now...
Good to know..Thank you experk. _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
WMBEAI |
Posted: Thu Mar 05, 2009 2:25 am Post subject: |
|
|
Acolyte
Joined: 02 Mar 2009 Posts: 66
|
A temporary dynamic queue is created based a model queue definition in the QM whose DEFPSIST is NO.
Is this the reason persistant messages cannot be stored?
My temporary dyanmic queue in my application is created like "MQAI.REPLY.49AD638F200354C7" those numbers keep changing each and every time and i dont have this queue beeing defined in my QM.
The messages are going to DLQ with the message format as MQDEAD.
there should be some concept.can this be explained? |
|
Back to top |
|
 |
MQEnthu |
Posted: Thu Mar 05, 2009 2:40 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
WMBEAI wrote: |
A temporary dynamic queue is created based a model queue definition in the QM whose DEFPSIST is NO.
Is this the reason persistant messages cannot be stored? |
NO... as I said earlier you can not place the persistent messages on temporary dynamic queue...
Based one the property field "Definition Type" of model queue the dynamic queues are created. You can opt to create permanent dynamic queues...
Since persistent messages can not be placed on temp. dynamic queue, they are going to DLQ.,.
Either you make it to permanent dynamic queue or mark your repliy messages as NON_PERSISTENT..
I feel you should read manuals/info center...  _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
WMBEAI |
Posted: Thu Mar 05, 2009 2:53 am Post subject: |
|
|
Acolyte
Joined: 02 Mar 2009 Posts: 66
|
So if the DEFTYPE of my model queue in my QM is made permanent dynamic ,it would solve by problem |
|
Back to top |
|
 |
MQEnthu |
Posted: Thu Mar 05, 2009 3:04 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
WMBEAI wrote: |
So if the DEFTYPE of my model queue in my QM is made permanent dynamic ,it would solve by problem |
YES..as I already told you..
MQEnthu wrote: |
Either you make it to permanent dynamic queue or mark your repliy messages as NON_PERSISTENT.. |
_________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 05, 2009 3:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
WMBEAI wrote: |
So if the DEFTYPE of my model queue in my QM is made permanent dynamic ,it would solve by problem |
And create another problem if you don't make a mechanism to delete these queues once you're done with them! _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|