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 » MQ Message Grouping - Mainframe OS/390 PL/I MQI problem

Post new topic  Reply to topic
 MQ Message Grouping - Mainframe OS/390 PL/I MQI problem « View previous topic :: View next topic » 
Author Message
plivo
PostPosted: Tue Oct 30, 2007 8:51 pm    Post subject: MQ Message Grouping - Mainframe OS/390 PL/I MQI problem Reply with quote

Newbie

Joined: 25 Oct 2007
Posts: 1

Due to messages being received on the mainframe local queue being out of order, I am wanting to turn on message grouping so that MQ messages will be processed in order.

When getting a message off the queue, the MQGet Option needs to include MQMGO_LOGICAL_ORDER ( and MQGMO_ALL_MSGS_AVAILABLE).

When I add this to my PLI program, it does not compile because these named constants are not defined.

PLI uses the include file CMQP to define the structures and named constants for the main MQI. When I look into this file, the MQMGO does not include these constant definitions.

I can only gather that this is an old MQI version that does not understand about the MQ Message grouping function, however in this same dataset, there are options that one uses such as MQGS_LAST_MSG_IN_GROUP
that is defined.

Below is the MQI CMQP structures and name constants that is on my system.....

/* Structure Identifier */
%dcl MQGMO_STRUC_ID char;
%MQGMO_STRUC_ID = '''GMO ''';

/* Structure Version Number */
%dcl MQGMO_VERSION_1 char;
%dcl MQGMO_VERSION_2 char;
%dcl MQGMO_VERSION_3 char;
%dcl MQGMO_CURRENT_VERSION char;
%MQGMO_VERSION_1 = '1';
%MQGMO_VERSION_2 = '2';
%MQGMO_VERSION_3 = '3';
%MQGMO_CURRENT_VERSION = '3';

/* Get-Message Options */
%dcl MQGMO_WAIT char;
%dcl MQGMO_NO_WAIT char;
%dcl MQGMO_SYNCPOINT char;
%dcl MQGMO_SYNCPOINT_IF_PERSISTENT char;
%dcl MQGMO_NO_SYNCPOINT char;
%dcl MQGMO_MARK_SKIP_BACKOUT char;
%dcl MQGMO_BROWSE_FIRST char;
%dcl MQGMO_BROWSE_NEXT char;
%dcl MQGMO_MSG_UNDER_CURSOR char;
%dcl MQGMO_ACCEPT_TRUNCATED_MSG char;
%dcl MQGMO_SET_SIGNAL char;
%dcl MQGMO_FAIL_IF_QUIESCING char;
%dcl MQGMO_CONVERT char;
%dcl MQGMO_NONE char;
%MQGMO_WAIT = '1';
%MQGMO_NO_WAIT = '0';
%MQGMO_SYNCPOINT = '2';
%MQGMO_SYNCPOINT_IF_PERSISTENT = '4096';
%MQGMO_NO_SYNCPOINT = '4';
%MQGMO_MARK_SKIP_BACKOUT = '128';
%MQGMO_BROWSE_FIRST = '16';
%MQGMO_BROWSE_NEXT = '32';
%MQGMO_MSG_UNDER_CURSOR = '256';
%MQGMO_ACCEPT_TRUNCATED_MSG = '64';
%MQGMO_SET_SIGNAL = '8';
%MQGMO_FAIL_IF_QUIESCING = '8192';
%MQGMO_CONVERT = '16384';
%MQGMO_NONE = '0';


Any suggestions on what I need to do to verify versions, updates would be much appreciated.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Oct 31, 2007 2:51 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

what MQSeries version are you using? i checked my 5.3.1 and 6 libraries and they both contain the neccesary fields.

Maybe your compile job picks up a customized member from a different library (e.g. to prevent programmers to use MQ features that should not be used in your company or for whatever reason)?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Oct 31, 2007 6:02 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

It looks like whoever installed your MQ was lax about setting up the language libraries. This is a common problem in a lot of shops and usually only gets resolved when someone discovers it. BTW, all these steps are mentioned in the installation procedure. I would talk to whoever installs/maintains your Websphere MQ.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Nov 01, 2007 12:18 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

In the meantime you can define your own PLI constant as the appropriate numeric value and use that.
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 » MQ Message Grouping - Mainframe OS/390 PL/I MQI problem
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.