|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Queue message attributes |
« View previous topic :: View next topic » |
Author |
Message
|
justmainframes |
Posted: Mon Aug 13, 2012 6:46 pm Post subject: Queue message attributes |
|
|
Newbie
Joined: 08 Sep 2011 Posts: 3
|
Dear List,
Could someone enlighten me the queue definition which treats all the Message as destructive ?
Environment : Z/OS : 1.8
MQ : 6.1 |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Aug 13, 2012 8:37 pm Post subject: Re: Queue message attributes |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
justmainframes wrote: |
Dear List,
Could someone enlighten me the queue definition which treats all the Message as destructive ?
Environment : Z/OS : 1.8
MQ : 6.1 |
Could you enlighten me as to what this question means? _________________ 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 |
|
 |
justmainframes |
Posted: Mon Aug 13, 2012 10:32 pm Post subject: |
|
|
Newbie
Joined: 08 Sep 2011 Posts: 3
|
Hi,
I was specifically looking for Destructive Read. I was able to get the sample Cobol Browse and Destructive Read from the MQ sample Libraries.
Can i get a sample header cmqc.h file in Z.OS library ? Could someone please point ? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 14, 2012 1:49 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
All MQGets are destructive, unless you tell them not to be. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Aug 14, 2012 5:10 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
What research have you done on this?
The InfoCenter, the WMQ Application Programming Reference, and the WMQ Application Programming Guide are excellent sources of information.
Research the MQGET call. Research for the MQGMO structure. Research the browse option. _________________ 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 |
|
 |
bruce2359 |
Posted: Tue Aug 14, 2012 5:51 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
justmainframes wrote: |
Can i get a sample header cmqc.h file in Z.OS library ? |
Yes, c is fully supported on WMQ for z/OS. cmqc.h is provided. Compile procs are provided.
justmainframes wrote: |
Could someone please point ? |
Look for a library called SCSQC370 _________________ 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 |
|
 |
gbaddeley |
Posted: Wed Aug 15, 2012 5:14 pm Post subject: Re: Queue message attributes |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
justmainframes wrote: |
Dear List,
Could someone enlighten me the queue definition which treats all the Message as destructive ? |
"destructive" describes the treatment of a message when an application gets it from the queue:
"non-destructive" = MQGET with browse option = leave the message on the queue
"destructive" = MQGET with default options = remove the message from the queue (exact behaviour depends on syncpoint option. no-syncpoint = do it now. sycnpoint = do it later when the commit occurs, although it may be rolled back if a back-out occurs)
These treatments and syncpoint are determined by MQI programming, not by attributes of queue definitions. _________________ Glenn |
|
Back to top |
|
 |
cicsprog |
Posted: Fri Aug 17, 2012 8:12 am Post subject: Re: Queue message attributes |
|
|
Partisan
Joined: 27 Jan 2002 Posts: 347
|
gbaddeley wrote: |
justmainframes wrote: |
Dear List,
Could someone enlighten me the queue definition which treats all the Message as destructive ? |
These treatments and syncpoint are determined by MQI programming, not by attributes of queue definitions. |
"So let it be written so let it be done" |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|