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 » Values in CMQMDV

Post new topic  Reply to topic Goto page 1, 2  Next
 Values in CMQMDV « View previous topic :: View next topic » 
Author Message
Cogito-Ergo-Sum
PostPosted: Mon Oct 23, 2006 10:07 am    Post subject: Values in CMQMDV Reply with quote

Master

Joined: 07 Feb 2006
Posts: 293
Location: Bengaluru, India

Hi,
I am looking into the CMQMDV member for the MQ message descriptor variables and their values. A question popped in my mind. Are these values constant in every installation ?

Thanks.
_________________
ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Mon Oct 23, 2006 10:26 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Yes they should be...... Of course there is no way of us telling if your site sysprogs have had their grubby little fingers in there 'tweaking' things.

You could tell by looking at the directory stats.
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
PostPosted: Mon Oct 23, 2006 10:35 am    Post subject: Reply with quote

Master

Joined: 07 Feb 2006
Posts: 293
Location: Bengaluru, India

After posting the topic, I thought, probably, these values would not be constant across. For example, MQMD-ENCODING and MQMD-CODEDCHARSETID. Can these values be expected to be constant ?

(I am still talking about z/OS.)
_________________
ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Mon Oct 23, 2006 11:10 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Because they set the default for encoding to MQENC_NATIVE and CCSID to MQCCSI_Q_MGR ... problem solved

Back to top
View user's profile Send private message
Cogito-Ergo-Sum
PostPosted: Mon Oct 23, 2006 11:13 am    Post subject: Reply with quote

Master

Joined: 07 Feb 2006
Posts: 293
Location: Bengaluru, India

Yes, Kevin, I see your point.
_________________
ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Nov 21, 2006 2:41 pm    Post subject: Reply with quote

Guest




CMQMDV is a copy-book (COBOL) or include-file (C). It is shipped with the MQ product. It sets initial values for attributes for MQ structures (like MQMD), to be used by application programmers.

Refer to the Application Programming Reference, Application Programming Guide
Back to top
wschutz
PostPosted: Tue Nov 21, 2006 2:45 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

and, of course, things like MQAT-DEFAULT (in CMQV) are going to change from Windows to UNIX to iSeries etc.....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
kevinf2349
PostPosted: Tue Nov 21, 2006 2:49 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
CMQMDV is a copy-book (COBOL) or include-file (C). It is shipped with the MQ product. It sets initial values for attributes for MQ structures (like MQMD), to be used by application programmers.


Yes, true ....but the initial question was

Quote:
Are these values constant in every installation ?
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Nov 21, 2006 2:52 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

and, of course, constants like *VERSION can change as well...

it depends on what is meant by "installation" .... given the same platform and level of MQ (version and rp), they should be the same.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Cogito-Ergo-Sum
PostPosted: Tue Nov 21, 2006 4:02 pm    Post subject: Reply with quote

Master

Joined: 07 Feb 2006
Posts: 293
Location: Bengaluru, India

Hi,
My question is something like this. Given two identical z/OS machines (as far as MQ is concerned), is it fair to assume that the values of the variables would be the same ?
_________________
ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Nov 21, 2006 4:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I can't think of anything that would be different in that case ... what motivates this question, anyways?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
bruce2359
PostPosted: Tue Nov 21, 2006 4:15 pm    Post subject: Reply with quote

Guest




Yes, the IBM-supplied "initial values" include-files/copy-books will be identical for the same release and maintenance level of MQ. The include files are copied into application program source to give programmers images of mq structures and their initial values (not defaults).
Back to top
Cogito-Ergo-Sum
PostPosted: Tue Nov 21, 2006 4:25 pm    Post subject: Reply with quote

Master

Joined: 07 Feb 2006
Posts: 293
Location: Bengaluru, India

Thanks, Bruce.

Wayne,
Assume that, there is a COBOL program which copies the said copybook. And, this COBOL program is to be generic so that it runs on other z/OS machines too. Now, if the default values are too random, then the program would have to be recompiled with that particular machine's copybook.

So, I wanted to know, if the copybook values remain constant; unless, explicitly changed by customer's request.
_________________
ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Nov 21, 2006 4:31 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I don't think you need worry about that issue. Certainly, the values aren't "random" ... aside from the exceptions mentioned here, a program compiled on one MVS system will always work on other MVS systems, as long as there isn't a "feature" issue (meaning the program takes advantage of some feature that isn't available on a ported bac-level qmgr).
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Cogito-Ergo-Sum
PostPosted: Tue Nov 21, 2006 4:35 pm    Post subject: Reply with quote

Master

Joined: 07 Feb 2006
Posts: 293
Location: Bengaluru, India

Thank you, Wayne, very much for clarifying.
_________________
ALL opinions are welcome.
-----------------------------
Debugging tip:When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
---Sherlock Holmes
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Values in CMQMDV
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.