ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Queue message attributes

Post new topic  Reply to topic
 Queue message attributes « View previous topic :: View next topic » 
Author Message
justmainframes
PostPosted: Mon Aug 13, 2012 6:46 pm    Post subject: Queue message attributes Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 13, 2012 8:37 pm    Post subject: Re: Queue message attributes Reply with quote

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
View user's profile Send private message
justmainframes
PostPosted: Mon Aug 13, 2012 10:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 14, 2012 1:49 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

All MQGets are destructive, unless you tell them not to be.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Aug 14, 2012 5:10 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Tue Aug 14, 2012 5:51 am    Post subject: Reply with quote

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
View user's profile Send private message
gbaddeley
PostPosted: Wed Aug 15, 2012 5:14 pm    Post subject: Re: Queue message attributes Reply with quote

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
View user's profile Send private message
cicsprog
PostPosted: Fri Aug 17, 2012 8:12 am    Post subject: Re: Queue message attributes Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Queue message attributes
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.